bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/19842] LTO build fails to write call address for weak symbol r


From: amodra at gmail dot com
Subject: [Bug gold/19842] LTO build fails to write call address for weak symbol reference
Date: Tue, 22 Mar 2016 05:21:57 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=19842

--- Comment #26 from Alan Modra <amodra at gmail dot com> ---
> What's your reasoning? If the prevailing definition is in the IR, the
> compiler will (theoretically) supply a more-optimized version of that
> function than the one in the non-LTO object. Why deliberately favor
> the unoptimized version over the optimized version?

The case where this came up is when we are merging the optimised object, and
were given a weak symbol.  The non-LTO object (from -ffat-lto-objects) isn't
loaded if the plugin claims the object.

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