http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53282
--- Comment #13 from vincenzo Innocente <vincenzo.innocente at cern dot ch> 2012-05-09 12:35:51 UTC --- On 9 May, 2012, at 2:21 PM, hubicka at ucw dot cz wrote: > No, LTO plugin is needed for "proper" LTO and will always be. We have > alternative > non-plugin path that results in poorer code quality. I see. could you please specify the configure options to be used ? I tried --enable-linker-plugin and does not help thois is how I configured latest version of the trunk c++ -v Using built-in specs. COLLECT_GCC=c++ COLLECT_LTO_WRAPPER=/afs/cern.ch/user/i/innocent/w2/libexec/gcc/x86_64-unknown-linux-gnu/4.8.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ./configure --prefix=/afs/cern.ch/user/i/innocent/w2 --enable-languages=c,c++,fortran -enable-gold=yes --enable-lto --with-build-config=bootstrap-lto --with-gmp-lib=/usr/local/lib64 --with-mpfr-lib=/usr/local/lib64 -with-mpc-lib=/usr/local/lib64 --enable-cloog-backend=isl --with-cloog=/usr/local --with-ppl-lib=/usr/local/lib64 CFLAGS='-O2 -ftree-vectorize -fPIC' CXXFLAGS='-O2 -fPIC -ftree-vectorize -fvisibility-inlines-hidden -march=native' -enable-libitm -disable-multilib --enable-linker-plugin Thread model: posix gcc version 4.8.0 20120509 (experimental) [trunk revision 187326] (GCC) and I get c++ -fuse-linker-plugin -fvisibility-inlines-hidden -O2 -flto -shared -fPIC -o bha.so d1.cc d2.cc d3.cc c++: error: -fuse-linker-plugin is not supported in this configuration