bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/22751] LTO broken for libgcc libcalls


From: hjl.tools at gmail dot com
Subject: [Bug ld/22751] LTO broken for libgcc libcalls
Date: Fri, 26 Jan 2018 21:41:16 +0000

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-01-26
                 CC|                            |amodra at gmail dot com
     Ever confirmed|0                           |1

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
The problem is

--whole-archive libx.a --no-whole-archive -lgcc --as-needed -lgcc_s
--no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed 

ld rescan order is wrong.  It rescans -lgcc_s before x.ltrans0.ltrans.o
from libx.a.

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