public inbox for dwz@sourceware.org
 help / color / mirror / Atom feed
* [Bug default/24756] New: dwz fails to process i386 pocl binaries (Unknown debugging section .debug_addr)
@ 2019-01-01  0:00 doko at debian dot org
  2019-01-01  0:00 ` [Bug default/24756] Unknown debugging section .debug_addr vries at gcc dot gnu.org
  2019-01-01  0:00 ` [Bug default/24756] Unknown debugging section .debug_addr (-gsplit-dwarf) mark at klomp dot org
  0 siblings, 2 replies; 3+ messages in thread
From: doko at debian dot org @ 2019-01-01  0:00 UTC (permalink / raw)
  To: dwz

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

            Bug ID: 24756
           Summary: dwz fails to process i386 pocl binaries (Unknown
                    debugging section .debug_addr)
           Product: dwz
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: default
          Assignee: nobody at sourceware dot org
          Reporter: doko at debian dot org
                CC: dwz at sourceware dot org
  Target Milestone: ---

seen with 0.12, and trunk 20190702 on i686-linux-gnu:

$ dwz -mlibpocl2.debug -Mlibpocl2.debug -- libpocl.so.2.2.0 libllvmopencl.so
dwz: libpocl.so.2.2.0: Unknown debugging section .debug_addr
dwz: libllvmopencl.so: Unknown debugging section .debug_addr
dwz: Too few files for multifile optimization

test case at
https://people.debian.org/~doko/tmp/dwz-tst-i386.tar.xz

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

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

* [Bug default/24756] Unknown debugging section .debug_addr (-gsplit-dwarf)
  2019-01-01  0:00 [Bug default/24756] New: dwz fails to process i386 pocl binaries (Unknown debugging section .debug_addr) doko at debian dot org
  2019-01-01  0:00 ` [Bug default/24756] Unknown debugging section .debug_addr vries at gcc dot gnu.org
@ 2019-01-01  0:00 ` mark at klomp dot org
  1 sibling, 0 replies; 3+ messages in thread
From: mark at klomp dot org @ 2019-01-01  0:00 UTC (permalink / raw)
  To: dwz

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

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at klomp dot org
            Summary|Unknown debugging section   |Unknown debugging section
                   |.debug_addr                 |.debug_addr (-gsplit-dwarf)

--- Comment #2 from Mark Wielaard <mark at klomp dot org> ---
The reproducer in comment #2 is nicer because it will have the .dwo files,
which need to somehow be handled.

The testcase from the description has been executables linked with some object
files which were compiled with -gsplit-dwarf, because it does have some
skeleton units (and a .debug_addr section) but is missing the .dwo files (or
.dwp archive) containing the split unit sections. Without the split units you
cannot resolve the skeleton units (the split units will refer to the
.debug_addr table).

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

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

* [Bug default/24756] Unknown debugging section .debug_addr
  2019-01-01  0:00 [Bug default/24756] New: dwz fails to process i386 pocl binaries (Unknown debugging section .debug_addr) doko at debian dot org
@ 2019-01-01  0:00 ` vries at gcc dot gnu.org
  2019-01-01  0:00 ` [Bug default/24756] Unknown debugging section .debug_addr (-gsplit-dwarf) mark at klomp dot org
  1 sibling, 0 replies; 3+ messages in thread
From: vries at gcc dot gnu.org @ 2019-01-01  0:00 UTC (permalink / raw)
  To: dwz

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

Tom de Vries <vries at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vries at gcc dot gnu.org
            Summary|dwz fails to process i386   |Unknown debugging section
                   |pocl binaries (Unknown      |.debug_addr
                   |debugging section           |
                   |.debug_addr)                |
           Severity|normal                      |enhancement

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
This can easily be reproduced with:
...
$ gcc hello.c -gsplit-dwarf -g -c
$ gcc hello.o -g
$ dwz a.out
dwz: a.out: Unknown debugging section .debug_addr
...

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

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

end of thread, other threads:[~2019-07-02 10:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-01  0:00 [Bug default/24756] New: dwz fails to process i386 pocl binaries (Unknown debugging section .debug_addr) doko at debian dot org
2019-01-01  0:00 ` [Bug default/24756] Unknown debugging section .debug_addr vries at gcc dot gnu.org
2019-01-01  0:00 ` [Bug default/24756] Unknown debugging section .debug_addr (-gsplit-dwarf) 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).