Closed
Bug 1091975
Opened 10 years ago
Closed 6 years ago
Android NDK r10c failure building breakpad: error: 'ElfELFSIZE_Addr' does not name a type
Categories
(Toolkit :: Crash Reporting, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: dougc, Unassigned)
Details
(Whiteboard: [ndk-r10c])
Attachments
(1 file)
Looks like ELFSIZE is not defined for android-21. A workaround is to use ARCH_ELFSIZE in toolkit/crashreporter/google-breakpad/src/common/android/include/link.h There are still references to ELFSIZE in NDK r10c android-21 header files, so this might be a regression in NDK.
Comment 1•10 years ago
|
||
There are DEFINES for ELFSIZE in various moz.build files. Is one missing?
Comment 2•10 years ago
|
||
ah, it's for gonk only.
Reporter | ||
Comment 3•10 years ago
|
||
Same issue building: tools/profiler/LulElfInt.h
Comment 4•10 years ago
|
||
We shouldn't be using ELFSIZE at all. It's not defined in glibc, and hardcoding 32 for gonk is wrong anyways, it should be related to sizeof(void*)
Reporter | ||
Comment 5•10 years ago
|
||
Note what you asked for, but this quick patch works for NDK r8d+. Try build: https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=1afc289b6c3b
Comment 6•9 years ago
|
||
This will be fixed by r1300 on BreakPad upstream. r1300 | rmcilroy@chromium.org | 2014-04-03 08:02:31 +0900 (Thu, 03 Apr 2014) | 8 lines Remove some unecessary Android system header definitions. Newer NDKs include some additional headers needed by Breakpad, so we can remove these redefinitions. BUG=358831,335641,354405 R=mark@chromium.org Review URL: https://breakpad.appspot.com/1374002
Comment 7•9 years ago
|
||
You're welcome to try to cherry-pick the upstream revision. I'm not sure if it breaks building with NDKs older than r10c though, which would make integrating it directly a little tricky.
Comment 8•6 years ago
|
||
This has been fixed a while ago.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•