public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/96385] New: GCC generates separate debug info with undefined symbols without relocations
@ 2020-07-29 21:47 hjl.tools at gmail dot com
  2020-07-30  6:15 ` [Bug lto/96385] " rguenth at gcc dot gnu.org
                   ` (24 more replies)
  0 siblings, 25 replies; 26+ messages in thread
From: hjl.tools at gmail dot com @ 2020-07-29 21:47 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 96385
           Summary: GCC generates separate debug info with undefined
                    symbols without relocations
           Product: gcc
           Version: 10.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

Created attachment 48956
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48956&action=edit
LTO debug output

GCC may generate separate debug info files which contain undefined symbols
without relocations.  Here is the lto output from binutils LTO build:

[hjl@gnu-cfl-2 binutils-cross-run]$ readelf -rsW /tmp/gcc.lto.debug.o | grep
lreal
    96: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT  UND lrealpath
[hjl@gnu-cfl-2 binutils-cross-run]$ 

It triggered a linker bug:

https://sourceware.org/bugzilla/show_bug.cgi?id=26314

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2021-04-26 10:48 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-29 21:47 [Bug lto/96385] New: GCC generates separate debug info with undefined symbols without relocations hjl.tools at gmail dot com
2020-07-30  6:15 ` [Bug lto/96385] " rguenth at gcc dot gnu.org
2020-07-30  8:30 ` rguenth at gcc dot gnu.org
2020-07-30 11:48 ` hjl.tools at gmail dot com
2020-07-30 12:02 ` rguenther at suse dot de
2020-07-30 12:05 ` rguenther at suse dot de
2020-07-30 12:17 ` hjl.tools at gmail dot com
2020-07-31 15:26 ` hjl.tools at gmail dot com
2020-07-31 15:27 ` hjl.tools at gmail dot com
2020-07-31 19:56 ` hjl.tools at gmail dot com
2020-08-01  1:12 ` hjl.tools at gmail dot com
2020-08-01  1:15 ` hjl.tools at gmail dot com
2020-08-02 12:40 ` [Bug lto/96385] [8/9/10/11 Regression] " hjl.tools at gmail dot com
2020-08-03  6:58 ` rguenth at gcc dot gnu.org
2020-08-03  7:41 ` rguenth at gcc dot gnu.org
2020-08-03  7:53 ` rguenth at gcc dot gnu.org
2020-08-03  8:02 ` rguenth at gcc dot gnu.org
2020-08-03 12:22 ` amodra at gmail dot com
2020-08-03 13:09 ` cvs-commit at gcc dot gnu.org
2020-08-03 13:10 ` [Bug lto/96385] [8/9/10 " rguenth at gcc dot gnu.org
2020-08-03 13:10 ` rguenth at gcc dot gnu.org
2020-09-11 12:12 ` cvs-commit at gcc dot gnu.org
2020-09-11 12:18 ` [Bug lto/96385] [8/9 " rguenth at gcc dot gnu.org
2021-04-12 11:23 ` cvs-commit at gcc dot gnu.org
2021-04-26 10:46 ` [Bug lto/96385] [8 " cvs-commit at gcc dot gnu.org
2021-04-26 10:48 ` rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).