Bug 47819 - [meta-bug] LTO debug information issues
Summary: [meta-bug] LTO debug information issues
Status: NEW
Alias: None
Product: gcc
Classification: Unclassified
Component: debug (show other bugs)
Version: 4.6.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords: lto, meta-bug
Depends on: 87726 88389 88878 91794 93117 94235 94311 97026 107058 45089 46796 46911 47799 48042 48147 48207 48354 48437 48508 49945 50279 51043 51262 51325 51432 52605 93865 93951
Blocks:
  Show dependency treegraph
 
Reported: 2011-02-19 22:06 UTC by Richard Biener
Modified: 2022-09-29 08:06 UTC (History)
7 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2011-02-19 22:07:07


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Biener 2011-02-19 22:06:49 UTC
Meta-bug, tracking trunk issues.
Comment 1 Eric Gallager 2019-06-25 03:52:04 UTC
All the bugs that this one depends upon have been closed, ok to close this too?
Comment 2 rguenther@suse.de 2019-06-25 07:01:05 UTC
On Tue, 25 Jun 2019, egallager at gcc dot gnu.org wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47819
> 
> Eric Gallager <egallager at gcc dot gnu.org> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|NEW                         |WAITING
>                  CC|                            |egallager at gcc dot gnu.org
> 
> --- Comment #1 from Eric Gallager <egallager at gcc dot gnu.org> ---
> All the bugs that this one depends upon have been closed, ok to close this too?

Please leave it open.
Comment 3 Eric Gallager 2019-06-26 01:25:16 UTC
(In reply to rguenther@suse.de from comment #2)
> On Tue, 25 Jun 2019, egallager at gcc dot gnu.org wrote:
> 
> > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47819
> > 
> > Eric Gallager <egallager at gcc dot gnu.org> changed:
> > 
> >            What    |Removed                     |Added
> > ----------------------------------------------------------------------------
> >              Status|NEW                         |WAITING
> >                  CC|                            |egallager at gcc dot gnu.org
> > 
> > --- Comment #1 from Eric Gallager <egallager at gcc dot gnu.org> ---
> > All the bugs that this one depends upon have been closed, ok to close this too?
> 
> Please leave it open.

OK.
Comment 4 Mark Wielaard 2020-07-17 15:54:05 UTC
The following bugs might be added to this meta-bug. But they seemed not very urgent because they involve non-default -g/-f debug flags:

- -flto -g -gsplit-dwarf is broken
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88389

- .debug_pubnames/types empty with -flto
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88878

- -g -flto -fdebug-types-section is broken for units with over 64k types
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93117

- exception and unwind state is not carried to LTO but controls
  EH vs debug frame
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91794

- ICE with '-flto -g -femit-struct-debug-baseonly'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93951

There is also:
- LTO produces line info entries with invalid line numbers
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94311
But that seems to have been reduced to a variant of:
- debug_line with LTO refers to bogus file-names
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93865
(Which already blocks this bug)
Comment 5 Mark Wielaard 2020-07-20 18:48:43 UTC
(In reply to Mark Wielaard from comment #4)
> The following bugs might be added to this meta-bug. But they seemed not very
> urgent because they involve non-default -g/-f debug flags:

It is probably good for tracking to just add them as dependencies of this meta-bug whether or not they are "urgent" or not. So I'll just add them all for now.