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: d.g.gorbachev at gmail dot com
Subject: [Bug ld/12248] Linker plugin failed to preserve linking order
Date: Sun, 23 Jan 2011 01:11:49 +0000

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

--- Comment #10 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> 
2011-01-23 01:10:35 UTC ---
(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.

> 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").

Behavior of ld.ian depends on pass-through hack in the driver. With a hack, it
takes __udivdi3 from libgcc. Without -pass-through options, it silently uses
non-IR part of libdiv.a.

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