bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/12762] lto produces multiple definition errors for all symbols (


From: amodra at gmail dot com
Subject: [Bug ld/12762] lto produces multiple definition errors for all symbols (including CRT) in C++
Date: Tue, 2 Aug 2011 02:02:56 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=12762

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW

--- Comment #12 from Alan Modra <amodra at gmail dot com> 2011-08-02 02:02:12 
UTC ---
Nick, I reckon your patch is covering a bug elsewhere.  Symbols in discarded
sections are supposed to be treated as undefined.  See cofflink.c:396. 
section_already_linked is supposed to discard duplicate sections.  Apparently
it doesn't.  Ah ha!  I see _bfd_generic_section_already_linked is setting
SEC_GROUP for the plugin comdat entry in the already_linked list, and then
totally ignores any entry with SEC_GROUP set.

-- 
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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]