https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80027
--- Comment #2 from Michael Thayer <michael.thayer at oracle dot com> --- Adding -static-libasan to the build and link flags and linking to libasan.a (for some reason it is not always done automatically, but our build system is rather complex) produces a segmentation fault as below. Not sure if that should be reported or whether it is just me doing something wrong. I will probably have to rebuild libasan.a to get more information. Program received signal SIGSEGV, Segmentation fault. 0x0000000000000000 in ?? () (gdb) bt #0 0x0000000000000000 in ?? () #1 0x0000555556e0463a in __sanitizer::MaybeInstallSigaction(int, void (*)(int, void*, void*)) () #2 0x0000555556e049d3 in __sanitizer::InstallDeadlySignalHandlers(void (*)(int, void*, void*)) () #3 0x0000555556df18e8 in __asan::AsanInitInternal() () #4 0x00007ffff7de8932 in _dl_init (main_map=0x7ffff7ffe168, argc=1, argv=0x7fffffffdd28, env=0x7fffffffdd38) at dl-init.c:105 #5 0x00007ffff7dd8cda in _dl_start_user () from /lib64/ld-linux-x86-64.so.2 #6 0x0000000000000001 in ?? () #7 0x00007fffffffe0d0 in ?? () #8 0x0000000000000000 in ?? ()