http://sourceware.org/bugzilla/show_bug.cgi?id=14272
Bug #: 14272 Summary: gold links, but bfd fails with: hidden symbol `.LTHUNK116.32732' isn't defined Product: binutils Version: 2.22 Status: NEW Severity: normal Priority: P2 Component: ld AssignedTo: unassig...@sourceware.org ReportedBy: christopher.h...@partner.commerzbank.com Classification: Unclassified ld.bfd spits out a ton of these: `_ZThn12_N5boost16exception_detail10clone_implINS0_19error_info_injectorINS_13property_tree14ptree_bad_pathEEEED1Ev' referenced in section `.rodata' of /tmp/ccEguWnz.ltrans12.ltrans.o: defined in discarded section `.gnu.linkonce.t._ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_13property_tree14ptree_bad_pathEEEED5Ev' of .../xetra_dynamic_spread.o (symbol from plugin) `_ZThn12_N5boost16exception_detail10clone_implINS0_19error_info_injectorINS_13property_tree14ptree_bad_pathEEEED0Ev' referenced in section `.rodata' of /tmp/ccEguWnz.ltrans12.ltrans.o: defined in discarded section `.gnu.linkonce.t._ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_13property_tree14ptree_bad_pathEEEED0Ev' of .../xetra_dynamic_spread.o (symbol from plugin) `_ZThn32_N5boost16exception_detail10clone_implINS0_19error_info_injectorINS_13property_tree14ptree_bad_pathEEEED1Ev' referenced in section `.rodata' of /tmp/ccEguWnz.ltrans12.ltrans.o: defined in discarded section `.gnu.linkonce.t._ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_13property_tree14ptree_bad_pathEEEED5Ev' of .../xetra_dynamic_spread.o (symbol from plugin) `_ZThn32_N5boost16exception_detail10clone_implINS0_19error_info_injectorINS_13property_tree14ptree_bad_pathEEEED0Ev' referenced in section `.rodata' of /tmp/ccEguWnz.ltrans12.ltrans.o: defined in discarded section `.gnu.linkonce.t._ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_13property_tree14ptree_bad_pathEEEED0Ev' of .../xetra_dynamic_spread.o (symbol from plugin) And then the error: ...binutils-2.22/bin/ld: .../jaguar_db: hidden symbol `.LTHUNK116.32732' isn't defined Switching the linker to gold fixes this, but causes other problems for me (see bug #14271). ln -sf $INSTALLATION/binutils-2.22/bin/ld.bfd $INSTALLATION/binutils-2.22/bin/ld Boost was built using -flto. The standard libs aren't. GNU ld (GNU Binutils) 2.22 gcc (GCC) 4.7.0 boost 1.49 Linux xmercd32 2.6.18-92.1.18.el5PAE #1 SMP Wed Nov 5 09:14:56 EST 2008 i686 i686 i386 GNU/Linux Are you guys planning a release anytime soon? Should I try your HEAD version? -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils