bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/29532] /usr/lib/debug/usr/lib/crti.o.debug: file format no


From: alex_y_xu at yahoo dot ca
Subject: [Bug binutils/29532] /usr/lib/debug/usr/lib/crti.o.debug: file format not recognized
Date: Mon, 05 Sep 2022 13:06:14 +0000

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

--- Comment #6 from alex_y_xu at yahoo dot ca ---
yes, the split debug files are not usable on their own. however, they are still
supposed to be valid ELF files, and BFD still needs to be able to open them.
example:

1. steps 1 and 2 from comment 2
2. objcopy --add-gnu-debuglink=crti.o.debug --strip-debug crti.o
crti.o.stripped
3. gdb crti.o.stripped

expected results:

no debugging symbols found

actual results:

Reading symbols from crti.o.stripped...
BFD: /tmp/crti.o.debug: no group info for section '.text.__x86.get_pc_thunk.bx'
BFD: /tmp/crti.o.debug: no group info for section '.text.__x86.get_pc_thunk.bx'
`/tmp/crti.o.debug': can't read symbols: file format not recognized.

similarly:

3. eu-unstrip crti.o.stripped crti.o.debug

returns:

eu-unstrip: more sections in stripped file than debug file -- arguments
reversed?

-- 
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]