public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* [Bug general/27367] New: readelf: invalid loclists data with -ffat-lto-objects
@ 2021-02-08 10:45 mliska at suse dot cz
  2021-02-08 10:47 ` [Bug general/27367] " mliska at suse dot cz
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: mliska at suse dot cz @ 2021-02-08 10:45 UTC (permalink / raw)
  To: elfutils-devel

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

            Bug ID: 27367
           Summary: readelf: invalid loclists data with -ffat-lto-objects
           Product: elfutils
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: general
          Assignee: unassigned at sourceware dot org
          Reporter: mliska at suse dot cz
                CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

Using the GCC 11 (master) I see the following issue:

$ cat size.i
int main_argc_remaining;

int main_argc() {
  int result = 0;
  if (main_argc_remaining)
    result = 0;

  return 0;
}

$ gcc -c -flto -O size.i -g -ffat-lto-objects &&
/home/marxin/Programming/elfutils/src/readelf -aw size.o
...
DWARF section [27] '.debug_loclists' at offset 0x747:
Table at Offset 0x0:

 Length:               24
 DWARF version:         5
 Address size:          8
 Segment size:          0
 Offset entries:        0
 Not associated with a CU.

  Offset: c, Index: 0
    startx_endx 3, 8
      ???..
      ???
        (empty)
    end_of_list

  Offset: 18, Index: c
    startx_endx 30, 1f
      ???..
      ???
/home/marxin/Programming/elfutils/src/readelf: invalid loclists data

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

end of thread, other threads:[~2021-11-09 18:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-08 10:45 [Bug general/27367] New: readelf: invalid loclists data with -ffat-lto-objects mliska at suse dot cz
2021-02-08 10:47 ` [Bug general/27367] " mliska at suse dot cz
2021-02-08 11:09 ` mliska at suse dot cz
2021-02-08 11:10 ` mliska at suse dot cz
2021-02-08 11:14 ` mark at klomp dot org
2021-11-04 11:14 ` ldv at sourceware dot org
2021-11-04 11:32 ` mark at klomp dot org
2021-11-08  8:48 ` mark at klomp dot org
2021-11-09 18:17 ` mark at klomp dot 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).