Closed
Bug 1129776
Opened 8 years ago
Closed 8 years ago
[Nexus-5-l] Provide gdbserver 7.7 for Lollipop
Categories
(Firefox OS Graveyard :: GonkIntegration, defect)
Tracking
(blocking-b2g:2.2+, b2g-v2.2 fixed, b2g-master fixed)
People
(Reporter: shawnjohnjr, Assigned: cyu)
Details
Attachments
(3 files)
Current v2.2 uses <project name="platform/prebuilts/misc" path="prebuilts/misc" revision="de282aa3cc6a3917fa42968fc85676846db776b0"/> But it missed Bug 1078383: Update gdbserver to v7.7
Reporter | ||
Updated•8 years ago
|
Summary: [Neuxs-5-l] Update manifest to use correct gdb server for v2.2 → [Neuxs-5-l] Provie gdbserver 7.7 for Lollipop
Reporter | ||
Comment 1•8 years ago
|
||
We cannot use this commit for L. Bug 1078383: Update gdbserver to v7.7. r=mwu This gdbserver binary is built using: Due to L has enforced PIE security check, this caused L cannot use gdbserver to restart b2g process. Error log: ./run-gdb.sh attach ADB Location: adb error: only position independent executables (PIE) are supported. prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gdb -x /tmp/b2g.gdbinit.shawnjohnjr.8462 /code/nexus5-l/B2G/objdir-gecko-v2_2/dist/bin/b2g GNU gdb (GDB) 7.6
Reporter | ||
Comment 2•8 years ago
|
||
ni Cervantes, he knows better gdbserver according to bug 1078383.
Flags: needinfo?(cyu)
Reporter | ||
Updated•8 years ago
|
Summary: [Neuxs-5-l] Provie gdbserver 7.7 for Lollipop → [Neuxs-5-l] Provide gdbserver 7.7 for Lollipop
Assignee | ||
Comment 3•8 years ago
|
||
The PIE version of gdbserver 7.7. prebuilt and manifest to be updated using this file.
Flags: needinfo?(cyu)
Reporter | ||
Comment 4•8 years ago
|
||
Great, now new gdbserver works. :)
Comment 5•8 years ago
|
||
I think we can use this new gdbserver in base-l.xml as how base-kk.xml.
Assignee | ||
Comment 6•8 years ago
|
||
For the record, the configure command I used in building this binary is: CFLAGS="--sysroot=$B2G_REPO/prebuilts/ndk/8/platforms/android-14/arch-arm -fPIE" LDFLAGS="-pie" ./configure --host=arm-linux-androideabi
Assignee | ||
Comment 7•8 years ago
|
||
Attachment #8560354 -
Flags: review?(kli)
Assignee | ||
Comment 8•8 years ago
|
||
Attachment #8560368 -
Flags: review?(kli)
Updated•8 years ago
|
blocking-b2g: --- → 2.2?
Updated•8 years ago
|
blocking-b2g: 2.2? → 2.2+
Updated•8 years ago
|
Attachment #8560354 -
Flags: review?(kli) → review+
Updated•8 years ago
|
Attachment #8560368 -
Flags: review?(kli) → review+
Comment 9•8 years ago
|
||
platform_prebuilts_misc https://github.com/mozilla-b2g/platform_prebuilts_misc/commit/da8b660db117e2a69a7624bfdca2f02cad397f2e b2g-manifest master: https://github.com/mozilla-b2g/b2g-manifest/commit/ac06591da381f2fe04867aa0dd79b5de77d432f4 v2.2: https://github.com/mozilla-b2g/b2g-manifest/commit/484696a283de96f7a0771d78dc1ee89494dc243d
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Comment 10•8 years ago
|
||
BTW, we need to update run-gdb.sh to use gdb in lollipop base device. I filed bug 1130673 to update it.
Comment 11•8 years ago
|
||
Any reason we're bypassing the regular approval process for these?
Assignee: nobody → cyu
status-b2g-v2.2:
--- → fixed
status-b2g-master:
--- → fixed
Flags: needinfo?(kli)
Summary: [Neuxs-5-l] Provide gdbserver 7.7 for Lollipop → [Nexus-5-l] Provide gdbserver 7.7 for Lollipop
Target Milestone: --- → 2.2 S5 (6feb)
Comment 12•8 years ago
|
||
I asked bajaj about the repos other than gecko/gaia and know that 2.2+ is fine.
Flags: needinfo?(kli)
You need to log in
before you can comment on or make changes to this bug.
Description
•