[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/27441] Small inconsistency in between gold and bfd
From: |
mliska at suse dot cz |
Subject: |
[Bug ld/27441] Small inconsistency in between gold and bfd |
Date: |
Tue, 23 Feb 2021 16:57:01 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=27441
--- Comment #5 from Martin Liska <mliska at suse dot cz> ---
The issue started with:
commit b1a92c635c1ec10fd703302ce1fc4ab3a8515a04
Author: Alan Modra <amodra@gmail.com>
Date: Fri Oct 30 14:56:35 2020 +1030
PR26806, Suspected linker bug with LTO
This patch reverts most of git commit 1e3b96fd6cf, so IR symbols are
again not marked def_regular or ref_regular. That should be enough to
stop IR symbols from becoming dynamic. To mark as-needed shared
libraries referenced by IR symbols, use the referencing BFD rather
than the ref flags.
bfd/
PR 15146
PR 26314
PR 26530
PR 26806
* elflink.c (elf_link_add_object_symbols): Don't set def/ref flags
for plugin syms. Do allow plugin syms to mark as-needed libs.
ld/
PR 26806
* testsuite/ld-plugin/lto-19.h,
* testsuite/ld-plugin/lto-19a.c,
* testsuite/ld-plugin/lto-19b.c,
* testsuite/ld-plugin/lto-19c.c: New test.
* testsuite/ld-plugin/pr26806.c,
* testsuite/ld-plugin/pr26806.d: New test.
* testsuite/ld-plugin/lto.exp: Run them.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gold/27441] New: Small inconsistency in between gold and bfd, mliska at suse dot cz, 2021/02/19
- [Bug gold/27441] Small inconsistency in between gold and bfd, mliska at suse dot cz, 2021/02/19
- [Bug gold/27441] Small inconsistency in between gold and bfd, amodra at gmail dot com, 2021/02/19
- [Bug gold/27441] Small inconsistency in between gold and bfd, matz at suse dot de, 2021/02/23
- [Bug ld/27441] Small inconsistency in between gold and bfd, matz at suse dot de, 2021/02/23
- [Bug ld/27441] Small inconsistency in between gold and bfd, matz at suse dot de, 2021/02/23
- [Bug ld/27441] Small inconsistency in between gold and bfd,
mliska at suse dot cz <=
- [Bug ld/27441] Small inconsistency in between gold and bfd, matz at suse dot de, 2021/02/23
- [Bug ld/27441] Small inconsistency in between gold and bfd, hjl.tools at gmail dot com, 2021/02/23
- [Bug ld/27441] Small inconsistency in between gold and bfd, amodra at gmail dot com, 2021/02/24
- [Bug ld/27441] Small inconsistency in between gold and bfd, rguenth at gcc dot gnu.org, 2021/02/24
- [Bug ld/27441] Small inconsistency in between gold and bfd, amodra at gmail dot com, 2021/02/24
- [Bug ld/27441] Small inconsistency in between gold and bfd, matz at suse dot de, 2021/02/24
- [Bug ld/27441] Small inconsistency in between gold and bfd, amodra at gmail dot com, 2021/02/24
- [Bug ld/27441] Small inconsistency in between gold and bfd, cvs-commit at gcc dot gnu.org, 2021/02/24
- [Bug ld/27441] Small inconsistency in between gold and bfd, cvs-commit at gcc dot gnu.org, 2021/02/26
- [Bug ld/27441] Small inconsistency in between gold and bfd, cvs-commit at gcc dot gnu.org, 2021/02/28