public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/98765] New: [11 Regression] stripping of LTO debug sections doesn't work anymore since switch to -gdwarf-5 by default
@ 2021-01-20 11:17 jakub at gcc dot gnu.org
  2021-01-20 11:17 ` [Bug debug/98765] " jakub at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-01-20 11:17 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 98765
           Summary: [11 Regression] stripping of LTO debug sections
                    doesn't work anymore since switch to -gdwarf-5 by
                    default
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jakub at gcc dot gnu.org
  Target Milestone: ---

Testcase a.i:

# 0 "a.c"
# 1 "/var/tmp//"
# 0 "<built-in>"
# 0 "<command-line>"
# 1 "/usr/include/stdc-predef.h" 1 3 4
# 0 "<command-line>" 2
# 1 "a.c"
# 1 "a.h" 1
int
foo (void)
{
  return 0;
}
# 2 "a.c" 2

int
bar (void)
{
  return 0;
}

With gcc configured against latest binutils:
gcc -S -g -flto -ffat-lto-objects a.i
gcc -c a.s -o a.o
strip -p -R .gnu.lto_* -R .gnu.debuglto_* -N __gnu_lto_v1 a.o
strip: st3FEz69: symbol `.gnu.debuglto_.debug_line_str' required but not
present
strip: st3FEz69: no symbols

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

end of thread, other threads:[~2021-01-20 18:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-20 11:17 [Bug debug/98765] New: [11 Regression] stripping of LTO debug sections doesn't work anymore since switch to -gdwarf-5 by default jakub at gcc dot gnu.org
2021-01-20 11:17 ` [Bug debug/98765] " jakub at gcc dot gnu.org
2021-01-20 11:58 ` jakub at gcc dot gnu.org
2021-01-20 12:09 ` jakub at gcc dot gnu.org
2021-01-20 12:55 ` jakub at gcc dot gnu.org
2021-01-20 13:26 ` jakub at gcc dot gnu.org
2021-01-20 17:58 ` cvs-commit at gcc dot gnu.org
2021-01-20 18:02 ` jakub 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).