Tor Browser based on ESR52 can't get built with ASan and FORTIFY_SOURCE
Similarly to #17508 (moved) ASan seems to be unhappy with FORTIFY_SOURCE when using .mozconfig-asan
:
In file included from /usr/include/features.h:356:0,
from /usr/include/limits.h:27,
from /home/debian/install/gcc/lib/gcc/x86_64-unknown-linux-gnu/5.4.0/include-fixed/limits.h:168,
from /home/debian/install/gcc/lib/gcc/x86_64-unknown-linux-gnu/5.4.0/include-fixed/syslimits.h:7,
from /home/debian/install/gcc/lib/gcc/x86_64-unknown-linux-gnu/5.4.0/include-fixed/limits.h:34,
from /home/debian/build/tor-browser/obj-x86_64-pc-linux-gnu/js/src/ctypes/libffi/include/ffi.h:76,
from /home/debian/build/tor-browser/js/src/ctypes/libffi/src/x86/ffi64.c:30:
/home/debian/build/tor-browser/js/src/ctypes/libffi/src/x86/ffi64.c: In function 'ffi_call':
/usr/include/x86_64-linux-gnu/bits/string3.h:49:1: error: inlining failed in call to always_inline 'memcpy': function attribute mismatch
__NTH (memcpy (void *__restrict __dest, __const void *__restrict __src,
^
/home/debian/build/tor-browser/js/src/ctypes/libffi/src/x86/ffi64.c:485:4: error: called from here
memcpy (argp, avalue[i], size);
^