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.

_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to