http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59106
Yury Gribov <y.gribov at samsung dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #31206|0 |1 is obsolete| | --- Comment #6 from Yury Gribov <y.gribov at samsung dot com> --- Created attachment 31207 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31207&action=edit New patch (In reply to Kostya Serebryany from comment #5) > a small part of ubsan does indeed require rtti. > See ubsan/CMakeLists.txt (UBSAN_SOURCES vs UBSAN_CXX_SOURCES) This is going to be fun because automake does not seem to allow to specify per-file compile flags. > The rest of libsanitizer does not and should use -fno-rtti. Patch attached (without ubsan support for now).