[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/13557] Undef. ref. err. when linking with slim LTO obj. in stati
From: |
amodra at gmail dot com |
Subject: |
[Bug ld/13557] Undef. ref. err. when linking with slim LTO obj. in static lib. (mingw32 target) |
Date: |
Mon, 28 Jul 2014 11:09:43 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=13557
Alan Modra <amodra at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |amodra at gmail dot com
--- Comment #10 from Alan Modra <amodra at gmail dot com> ---
I think coff_link_check_archive_element is just plain broken. It really has no
business reading symbols from the archive element to check against undefined
symbols in the linker hash table. That already has been done by
_bfd_generic_link_add_archive_symbols when the armap symbols are checked
against undefined symbols.. For lto objects, checking the symbols again of
course checks the wrong symbols, because the lto symbols are not available
until after the plugin has claimed the archive element!
--
You are receiving this mail because:
You are on the CC list for the bug.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug ld/13557] Undef. ref. err. when linking with slim LTO obj. in static lib. (mingw32 target),
amodra at gmail dot com <=