http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47247
vincenzo Innocente <vincenzo.innocente at cern dot ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vincenzo.innocente at cern | |dot ch --- Comment #27 from vincenzo Innocente <vincenzo.innocente at cern dot ch> 2012-05-10 07:14:51 UTC --- is all this in 4.7? with GNU gold (GNU Binutils 2.21.1) 1.11 and gcc-4_7-branch revision 187326 with linker-plugin enabled I get this type of errors ld: error: hidden symbol '_ZThn16_N5boost16exception_detail10clone_implINS0_19error_info_injectorISt11logic_errorEEED0Ev' is not defined locally ld: /tmp/innocent/ccggD26x.ltrans8.ltrans.o: in function _ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorISt11logic_errorEEEE.local.4390:ccggD26x.ltrans8.o(.data.rel.ro+0x1558): warning: relocation refers to discarded section does not occur w/o linker-plugin is the problem on gcc or gold side? (posted also in http://sourceware.org/bugzilla/show_bug.cgi?id=12488)