https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94328
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW --- Comment #7 from Martin Liška <marxin at gcc dot gnu.org> --- I can confirm that. It's related to fact that clang links sanitizer library statically, while GCC dynamically. $ ldd a.out | grep san libasan.so.6 => /home/marxin/bin/gcc2/lib64/libasan.so.6 (0x00007ffff7601000) libubsan.so.1 => /home/marxin/bin/gcc2/lib64/libubsan.so.1 (0x00007ffff693e000) And there's some clashing of common_flags()->log_path. @Jakub: I remember we had one similar problem..