|
From: | hjl.tools at gmail dot com |
Subject: | [Bug ld/12496] Linker fails with "could not read symbols: Bad value" message |
Date: | Thu, 24 Feb 2011 14:10:55 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=12496 --- Comment #9 from H.J. Lu <hjl.tools at gmail dot com> 2011-02-24 14:10:49 UTC --- (In reply to comment #8) > (In reply to comment #7) > > Created attachment 5260 [details] > > Testcase #2 > > > > Fails with ld.hjl and ld.bfd (undefined reference to `__udivdi3'). Works > > with > > ld.gold and ld.dk. > > Can you check which copy of __udivdi3 is used by ld.gold and ld.dk? > Is the LTO one or the normal one? If I do "objcopy --redefine-sym __udivdi3=foobar div.o", gold also fails. I don't think gold behavior is better than ld.lto. I even consider it is a gold 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.
[Prev in Thread] | Current Thread | [Next in Thread] |