[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/27441] Small inconsistency in between gold and bfd
From: |
rguenth at gcc dot gnu.org |
Subject: |
[Bug ld/27441] Small inconsistency in between gold and bfd |
Date: |
Wed, 24 Feb 2021 07:33:30 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=27441
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu.org
--- Comment #9 from Richard Biener <rguenth at gcc dot gnu.org> ---
Note with -flto it is difficult to argue about the order of "source" objects
and library references with -l, say you'd have
gcc t.c -lpthread t2.c -flto
gcc can then, via -flto, happily produce only a single "real" ltrans object.
Of course via the plugin it should get the original refs of t.c and t2.c
in the correct order but my understanding is that BFD re-scans objects
(because GCC is also prone to introduce new refs, for example to memcpy,
libm functions or libgcc provided functions). But "placement" of the
generated ltrans object on the linker command-line is not well-defined since
the plugin merely provides LD with extra objects it should link.
--
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, 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, 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 <=
- [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