bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/19523] New: objdump: does not support compressed debug sec


From: doko at debian dot org
Subject: [Bug binutils/19523] New: objdump: does not support compressed debug sections
Date: Wed, 27 Jan 2016 11:52:14 +0000

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

            Bug ID: 19523
           Summary: objdump: does not support compressed debug sections
           Product: binutils
           Version: 2.26
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: doko at debian dot org
  Target Milestone: ---

[forwarded from https://bugs.debian.org/812089]

objdump does not seem to support compressed debug symbols. As we now
have -dbgsym packages in Debian which ship such files, this is likely to
byte more people in the future.

Test case:

$ cat <EOF >>test.c
int main(int argc, char **argv)
{
        return 42;
}
EOF
$ gcc -g -o test test.c
$ objcopy --only-keep-debug --compress-debug-sections test test.debug
$ strip --remove-section=.comment --remove-section=.note test
$ objcopy --add-gnu-debuglink=test.debug test
$ objdump --disassemble --line-numbers test >/dev/null
objdump: Dwarf Error: found dwarf version '0', this reader only handles version
2, 3 and 4 information.
objdump: Dwarf Error: found dwarf version '0', this reader only handles version
2, 3 and 4 information.
objdump: Dwarf Error: found dwarf version '0', this reader only handles version
2, 3 and 4 information.

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]