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.