Closed Bug 1039056 Opened 10 years ago Closed 7 years ago

Add Firefox OS ASan support (it comes with LSan) with useful symbols

Categories

(Firefox OS Graveyard :: General, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: gkw, Unassigned)

References

()

Details

(Whiteboard: GCC ASan needs at least v4.8.x for x86/64-bit support, v4.9.x for ARM support)

It will be nice to be able to explore having Firefox OS ASan builds, to find security issues.
Summary: Add Firefox OS ASan support → Add Firefox OS ASan support with symbols
Summary: Add Firefox OS ASan support with symbols → Add Firefox OS ASan support with symbols (this comes with LSan support, maybe even MSan?)
:decoder mentioned that MSan & Desktop Firefox is not likely to happen, much less for Firefox OS, so updating summary to reflect that.
Summary: Add Firefox OS ASan support with symbols (this comes with LSan support, maybe even MSan?) → Add Firefox OS ASan support (it comes with LSan) with useful symbols
We dug further and found that GCC ASan needs at least v4.8.x for x86/64-bit support, v4.9.x for ARM support, unless we use Clang.

ref:

https://gcc.gnu.org/gcc-4.8/changes.html
https://gcc.gnu.org/gcc-4.9/changes.html
Hardware: ARM → All
Whiteboard: GCC ASan needs at least v4.8.x for x86/64-bit support, v4.9.x for ARM support
There was work to explore building b2g with LLVM. We successfully build b2g-info with ASAN, but it fails to build gecko. The LLVM parser crashed in building a test program generated by the configure script. We might give gcc-4.9 another try.
See Also: → 935906
Bug 1194365 describes upgrading the Android NDK we bootstrap with to r10e, which has GCC 4.9.
See Also: → 1194365
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.