[Bug sanitizer/94328] Logging of defects to file does not work with Asan and Ubsan combined
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 25 14:37:52 GMT 2020
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..
More information about the Gcc-bugs
mailing list