[Bug sanitizer/89308] [8 only] The sanitizers do no longer work on GCC 8 with newer kernels
seurer at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Feb 12 19:38:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89308
--- Comment #2 from seurer at gcc dot gnu.org ---
I looked through the various patches for the sanitizer stuff and the important
one that is missing is the one that disables ASLR when the sanitizers are in
use. This would "solve" the issue where the thread sanitizer tests fail
depending on how ASLR has laid out memory (something I see all the time with
gcc-8 and recent kernels).
However, the thing that prompted this bug report
https://github.com/openbmc/openbmc-build-scripts/commit/282e33011ea62fe80bff2c5ab0e9ef9446d6c551
is dealing with the *address* sanitizer and I haven't seen that sort of
problem. It looks like it occurs when they are building openbmc which I have
never done.
More information about the Gcc-bugs
mailing list