This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/47247] Linker plugin specification makes it difficult to handle COMDATs
- From: "hubicka at ucw dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 10 May 2012 17:07:47 +0000
- Subject: [Bug lto/47247] Linker plugin specification makes it difficult to handle COMDATs
- Auto-submitted: auto-generated
- References: <bug-47247-4@http.gcc.gnu.org/bugzilla/>
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