[Top][All Lists]

[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 00:11:19 +0000


--- Comment #9 from H.J. Lu <hjl.tools at gmail dot com> 2011-01-23 00:11:13 
UTC ---
(In reply to comment #8)
> (In reply to comment #6)
> This testcase shows that 2-stage BFD linker changes the order of linking.
> ld.hjl takes a definition of __udivdi3 (which is referred to by bar in x.o)
> from libdiv.a (not from libgcc, not from libc), though libdiv.a appears before
> x.o on the command line:
> gcc -B./ -o foo -O2 -fwhole-program -flto=jobserver -fuse-linker-plugin y.o
> libdiv.a x.o

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

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]