https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88791
--- Comment #15 from Martin Liška <marxin at gcc dot gnu.org> --- Okey, I really believe there's some ABI incompatibility between libsanitizer and glibc. Maybe here: https://github.com/gcc-mirror/gcc/blob/master/libsanitizer/sanitizer_common/sanitizer_linux_libcdep.cc#L266 or maybe struct ucontext_t does not match among GCC and glibc. Anyway I would start with running GCC's libsanitizer tests in your build directory: $ make check -k -j10 RUNTESTFLAGS="asan.exp" and $ make check -k RUNTESTFLAGS="tsan.exp" then search for '^FAIL' in find gcc/testsuite/ -name '*.log'