http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47247
--- Comment #31 from Jan Hubicka <hubicka at ucw dot cz> 2012-05-10 17:07:47 UTC --- > using the new binutil I've no more error > still warning of the type > tmp/innocent/ccmPaLCz.ltrans6.ltrans.o:ccmPaLCz.ltrans6.o:function > _ZTVN5boost16exception_detail10clone_implINS0_14bad_exception_EEE.local.4747: > warning: relocation refers to discarded section > > any clue? > any option to try? > not yet able to reproduce on a small example??? No idea. It would be good to have a testcase. If you fail to do so, could you try to produce -fdump-ipa-cgraph dumps (some of them may land in TMP directory) and send me those along with the output from linker and the resolution file (you get that one via --save-temps and it will be a file with .res extension. It may have funny name, usually it is -lm.res)? Honza