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.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to