[Bug lto/96385] [8/9/10/11 Regression] GCC generates separate debug info with undefined symbols without relocations

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Aug 3 08:02:57 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96385

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amodra at gcc dot gnu.org

--- Comment #15 from Richard Biener <rguenth at gcc dot gnu.org> ---
I also wonder if the result of the patch,

    34: 0000000000000000     0 NOTYPE  WEAK   HIDDEN     1 t.c.5958f17d
    35: 0000000000000000     0 NOTYPE  WEAK   HIDDEN   UND t.c.5958f17d
    36: 0000000000000000     0 NOTYPE  WEAK   HIDDEN   UND t.c.5958f17d
    37: 0000000000000000     0 NOTYPE  WEAK   HIDDEN   UND t.c.5958f17d

is in any way "safer" from an ELF perspective (not so much GNU ld since
we've dealt with Solaris and HP-UX linker issues in the past).

Alan, you fiddled with this earlier so any comments?


More information about the Gcc-bugs mailing list