[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/26530] Inconsistency in between bfd and gold about -Wl,--as-need
From: |
matz at suse dot de |
Subject: |
[Bug ld/26530] Inconsistency in between bfd and gold about -Wl,--as-needed |
Date: |
Tue, 25 Aug 2020 12:22:03 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=26530
--- Comment #1 from Michael Matz <matz at suse dot de> ---
FWIW, I think the gold behaviour is the correct one. The order of libraries
on the cmdline is significant, and libfoo.so does fulfill the symbol request,
so the object from libtest.a shouldn't be considered. No matter if LTO is or
isn't
involved. (In fact also bfd ld doesn't use the archive without LTO mode)
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/26530] New: Inconsistency in between bfd and gold about -Wl,--as-needed, mliska at suse dot cz, 2020/08/25
- [Bug ld/26530] Inconsistency in between bfd and gold about -Wl,--as-needed, mliska at suse dot cz, 2020/08/25
- [Bug ld/26530] Inconsistency in between bfd and gold about -Wl,--as-needed,
matz at suse dot de <=
- [Bug ld/26530] Inconsistency in between bfd and gold about -Wl,--as-needed, hjl.tools at gmail dot com, 2020/08/25
- [Bug ld/26530] Inconsistency in between bfd and gold about -Wl,--as-needed, hjl.tools at gmail dot com, 2020/08/25
- [Bug ld/26530] Inconsistency in between bfd and gold about -Wl,--as-needed, hjl.tools at gmail dot com, 2020/08/25