bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/14272] gold links, but bfd fails with: hidden symbol `.LTHUNK116


From: hjl.tools at gmail dot com
Subject: [Bug ld/14272] gold links, but bfd fails with: hidden symbol `.LTHUNK116.32732' isn't defined
Date: Thu, 01 Nov 2012 23:48:50 +0000

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

--- Comment #15 from H.J. Lu <hjl.tools at gmail dot com> 2012-11-01 23:48:50 
UTC ---
(In reply to comment #14)
> Correct me if I'm wrong, but I thought the situation was that lto output 
> object
> files were referencing IR only symbols.  That is a gcc bug, even if those
> places in the lto output are not ever actually used.
> 
> If we hide this error in ld like gold appears to do, then we run the risk of
> not reporting a problem that will cause runtime errors if lto should ever emit
> similar code that *is* used.

LTO optimizes out a plugin symbol, which is also referenced by a
non-IR file, when LTO determines the symbols in the non-IR file aren't
used. My patch mark the the plugin symbol in this case.

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