http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53470
--- Comment #3 from vincenzo Innocente <vincenzo.innocente at cern dot ch> 2012-05-25 06:59:33 UTC --- same problem with BDF cp /build/vin/binutils/build/gold/ld-new /afs/cern.ch/user/i/innocent/w3/gcc47slc5/bin/ld [vocms123] /build/vin/newb/CMSSW_6_0_X_2012-05-14-1400 $ c++ -g -flto -O2 -fPIC iceDebug.o -shared -o bha.so -std=gnu++11 -msse3 -Wl,-v collect2 version 4.8.0 20120524 (experimental) [trunk revision 187822] /afs/cern.ch/user/i/innocent/w3/gcc47slc5/bin/ld -plugin /afs/cern.ch/user/i/innocent/w3/gcc47slc5/libexec/gcc/x86_64-unknown-linux-gnu/4.8.0/liblto_plugin.so -plugin-opt=/afs/cern.ch/user/i/innocent/w3/gcc47slc5/libexec/gcc/x86_64-unknown-linux-gnu/4.8.0/lto-wrapper -plugin-opt=-fresolution=/tmp/innocent/cc4re4Jl.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s --eh-frame-hdr -m elf_x86_64 -shared -o bha.so /usr/lib/../lib64/crti.o /afs/cern.ch/user/i/innocent/w3/gcc47slc5/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/crtbeginS.o -L/afs/cern.ch/user/i/innocent/w3/gcc47slc5/lib/gcc/x86_64-unknown-linux-gnu/4.8.0 -L/afs/cern.ch/user/i/innocent/w3/gcc47slc5/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/afs/cern.ch/user/i/innocent/w3/gcc47slc5/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/../../.. iceDebug.o -v -lstdc++ -lm -lgcc_s -lc -lgcc_s /afs/cern.ch/user/i/innocent/w3/gcc47slc5/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/crtendS.o /usr/lib/../lib64/crtn.o GNU gold (GNU Binutils 2.22.52.20120515) 1.11 In file included from /build/ge/new-binutils/a/slc5_amd64_gcc470/external/boost/1.49.0-cms3/include/boost/checked_delete.hpp:51:0, from :322: /build/ge/new-binutils/a/slc5_amd64_gcc470/external/boost/1.49.0-cms3/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In member function 'get_deleter': /build/ge/new-binutils/a/slc5_amd64_gcc470/external/boost/1.49.0-cms3/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:5: internal compiler error: in splice_child_die, at dwarf2out.c:4264 } ^ Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. lto-wrapper: c++ returned 1 exit status /afs/cern.ch/user/i/innocent/w3/gcc47slc5/bin/ld: fatal error: lto-wrapper failed collect2: error: ld returned 1 exit status [vocms123] /build/vin/newb/CMSSW_6_0_X_2012-05-14-1400 $ cp /build/vin/binutils/build/ld/ld-new /afs/cern.ch/user/i/innocent/w3/gcc47slc5/bin/ld [vocms123] /build/vin/newb/CMSSW_6_0_X_2012-05-14-1400 $ c++ -g -flto -O2 -fPIC iceDebug.o -shared -o bha.so -std=gnu++11 -msse3 -Wl,-v collect2 version 4.8.0 20120524 (experimental) [trunk revision 187822] /afs/cern.ch/user/i/innocent/w3/gcc47slc5/bin/ld -plugin /afs/cern.ch/user/i/innocent/w3/gcc47slc5/libexec/gcc/x86_64-unknown-linux-gnu/4.8.0/liblto_plugin.so -plugin-opt=/afs/cern.ch/user/i/innocent/w3/gcc47slc5/libexec/gcc/x86_64-unknown-linux-gnu/4.8.0/lto-wrapper -plugin-opt=-fresolution=/tmp/innocent/cc8URSUA.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s --eh-frame-hdr -m elf_x86_64 -shared -o bha.so /usr/lib/../lib64/crti.o /afs/cern.ch/user/i/innocent/w3/gcc47slc5/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/crtbeginS.o -L/afs/cern.ch/user/i/innocent/w3/gcc47slc5/lib/gcc/x86_64-unknown-linux-gnu/4.8.0 -L/afs/cern.ch/user/i/innocent/w3/gcc47slc5/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/afs/cern.ch/user/i/innocent/w3/gcc47slc5/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/../../.. iceDebug.o -v -lstdc++ -lm -lgcc_s -lc -lgcc_s /afs/cern.ch/user/i/innocent/w3/gcc47slc5/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/crtendS.o /usr/lib/../lib64/crtn.o GNU ld (GNU Binutils) 2.22.52.20120515 In file included from /build/ge/new-binutils/a/slc5_amd64_gcc470/external/boost/1.49.0-cms3/include/boost/checked_delete.hpp:51:0, from :322: /build/ge/new-binutils/a/slc5_amd64_gcc470/external/boost/1.49.0-cms3/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In member function 'get_deleter': /build/ge/new-binutils/a/slc5_amd64_gcc470/external/boost/1.49.0-cms3/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:5: internal compiler error: in splice_child_die, at dwarf2out.c:4264 } ^ Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. lto-wrapper: c++ returned 1 exit status /afs/cern.ch/user/i/innocent/w3/gcc47slc5/bin/ld: lto-wrapper failed collect2: error: ld returned 1 exit status