[Bug sanitizer/59106] Failure to link against static libasan

kcc at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 13 11:24:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59106

--- Comment #5 from Kostya Serebryany <kcc at gcc dot gnu.org> ---
a small part of ubsan does indeed require rtti. 
See ubsan/CMakeLists.txt (UBSAN_SOURCES vs UBSAN_CXX_SOURCES)
The rest of libsanitizer does not and should use -fno-rtti. 

OMG, I hate having so many different build systems.
Long term this will be a maintenance nightmare to support them.



More information about the Gcc-bugs mailing list