Open Bug 1767510 Opened 4 years ago Updated 1 year ago

recommended mozconfig for address sanitized build fails on macOS

Categories

(Developer Infrastructure :: Firefox Source Docs: Content, defect)

defect

Tracking

(Not tracked)

People

(Reporter: dlrobertson, Unassigned)

References

()

Details

The current recommended mozconfig for address sanitized builds recommends that --disable-elf-hack is enabled. has_elfhack is false on anything but Linux and as a result --disable-elf-hack is not an option and an exception will be hit on configure.

The severity field is not set for this bug.
:Sylvestre, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(sledru)
Severity: -- → S4
Flags: needinfo?(sledru) → needinfo?(choller)

Did the build succeed without the --disable-elf-hack option?

Flags: needinfo?(choller) → needinfo?(drobertson)

Yeah, the build succeeds without the --disable-elf-hack option, so a simple note in the docs like the following could work:

# ASan specific options on Linux
ac_add_options --disable-elf-hack
Flags: needinfo?(drobertson)
Product: Firefox Build System → Developer Infrastructure
Component: Source Documentation → Firefox Source Docs: Content
You need to log in before you can comment on or make changes to this bug.