bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/17112] [regression] binutils trunk ld/LTO 11 test fails when bui


From: amodra at gmail dot com
Subject: [Bug ld/17112] [regression] binutils trunk ld/LTO 11 test fails when built using GCC 4.9
Date: Fri, 04 Jul 2014 13:16:00 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=17112

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amodra at gmail dot com

--- Comment #2 from Alan Modra <amodra at gmail dot com> ---
I was looking at this last week.  It's basically a testsuite issue.  The test
puts all the objects into tmpdir/liblto-11.a, expecting that the startup file
reference to main will pull them out of the archive as it would normally. 
However, the objects are not built with -ffat-lto-objects so there are no
normal symbols, except things like __gnu_lto_slim.  These useless symbols are
the ones put into the archive index, and of course nothing references them so
no objects are extracted by the linker.

I think what needs to happen is the archive be built with ar --plugin.

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