bootstrap-ubsan compilation fails due to lto-plugin

Paulo Matos paulo@matos-sorge.com
Sat Mar 22 01:18:00 GMT 2014


Hi,

Issuing a configure and make on a x86_64-linux fails due to lto and a 
missing symbol:
/usr/bin/ld: 
/home/pmatos/projects/EXTERNAL/builds/gcc-trunk/./gcc/liblto_plugin.so: 
error loading plugin: 
/home/pmatos/projects/EXTERNAL/builds/gcc-trunk/./gcc/liblto_plugin.so: 
undefined symbol: __ubsan_handle_type_mismatch


Configure line was:

$ ../../gcc-trunk/configure 
--prefix=/home/pmatos/local-install/stow/gcc-r208755 
--with-build-config=bootstrap-ubsan --enable-checking --enable-debug 
--enable-languages=c,c++,go --enable-lto

Is lto in anyway incompatible with ubsan?
-- 
PMatos



More information about the Gcc-help mailing list