bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/14272] gold links, but bfd fails with: hidden symbol `.LTHUNK116


From: hjl.tools at gmail dot com
Subject: [Bug ld/14272] gold links, but bfd fails with: hidden symbol `.LTHUNK116.32732' isn't defined
Date: Tue, 13 Nov 2012 18:07:03 +0000

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

--- Comment #17 from H.J. Lu <hjl.tools at gmail dot com> 2012-11-13 18:07:03 
UTC ---
Please checkout hjl/lto/master branch at

http://git.kernel.org/?p=linux/kernel/git/hjl/binutils.git;a=summary

with GCC 4.7 and run LTO tests. If this fix is reverted, I got

Executing on host: sh -c {gcc
-B/export/build/gnu/binutils-lto/build-x86_64-linux/ld/tmpdir/gas/
-B/export/build/gnu/binutils-lto/build-x86_64-linux/ld/tmpdir/ld/
-L/usr/local/x86_64-unknown-linux-gnu/lib64 -L/usr/local/lib64 -L/lib64
-L/usr/lib64 -L/usr/local/x86_64-unknown-linux-gnu/lib -L/usr/local/lib -L/lib
-L/usr/lib -O2 -flto -fuse-linker-plugin tmpdir/pr12365a.o tmpdir/pr12365b.o
tmpdir/pr12365c.o 2>&1}  /dev/null ld.tmp (timeout = 300)
spawn [open ...]^M
`my_bcopy' referenced in section `.text.startup' of
/tmp/ccg9NqSw.ltrans0.ltrans.o: defined in discarded section `.text' of
tmpdir/pr12365c.o (symbol from plugin)
collect2: error: ld returned 1 exit status
`my_bcopy' referenced in section `.text.startup' of
/tmp/ccg9NqSw.ltrans0.ltrans.o: defined in discarded section `.text' of
tmpdir/pr12365c.o (symbol from plugin)
collect2: error: ld returned 1 exit status
FAIL: PR ld/12365

The testcase is

http://git.kernel.org/?p=linux/kernel/git/hjl/binutils.git;a=patch;h=89f3af62899b5527f08a491ec9297578d7f8b032

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