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: Mon, 24 Jan 2011 00:38:03 +0000

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

Dmitry Gorbachev <d.g.gorbachev at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |d.g.gorbachev at gmail dot
                   |                            |com

--- Comment #16 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> 
2011-01-24 00:37:53 UTC ---
It looks counterintuitive to me.

> LTO in x.o doesn't reference __udivdi3

But a reference to __udivdi3 from bar is generated on LTO step:
/tmp/cczLpgd5.ltrans0.ltrans.o: reference to __udivdi3

BTW, behavior of `gcc -B./ -o foo -O2 -fwhole-program -flto=jobserver
-fuse-linker-plugin y.o x.o libdiv.a' depends on the presence / absence of IR
sections in libdiv.a (links with libgcc / libdiv.a). I think it's a bug.

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