bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/12248] Linker plugin failed to preserve linking order


From: hjl.tools at gmail dot com
Subject: [Bug ld/12248] Linker plugin failed to preserve linking order
Date: Sun, 23 Jan 2011 18:37:38 +0000

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

--- Comment #12 from H.J. Lu <hjl.tools at gmail dot com> 2011-01-23 18:36:38 
UTC ---
(In reply to comment #10)
> (In reply to comment #9)
> > When there are "IR-object non-IR-archive IR-object" on command line,
> > LTO makes it equivalent to "IR-object IR-object non-IR-archive".
> 
> It seems this behavior isn't documented.

It is fixed by commit 5ec86f21a2370249ae49ffb3dc0e438d67a39522 on
hjl/lto-mixed branch.

> > When there are "IR-object non-IR-archive IR-object" on command line,
> > LTO makes it equivalent to "IR-object IR-object non-IR-archive".
> 
> It also happens with IR-archive (though IR is not used: "ld.hjl: LTO IR
> sections in libdiv.a(div.o) aren't used in stage 2 linking").
> 

I will try to change linker to ignore libdiv.a(div.o) 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]