bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/30355] [DWARFv5] readelf: loc_offset XX too big


From: nickc at redhat dot com
Subject: [Bug binutils/30355] [DWARFv5] readelf: loc_offset XX too big
Date: Tue, 18 Apr 2023 10:45:43 +0000

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

--- Comment #3 from Nick Clifton <nickc at redhat dot com> ---
(In reply to Nick Desaulniers from comment #2)

> What's the best way to strip out the debug info?
> 
> $ objcopy --only-keep-debug vmlinux vmlinux-debug
> $ du -h vmlinux vmlinux-debug
> 34M   vmlinux
> 33M   vmlinux-debug
> 
> Looks like .text was retained. Hmm.

Well that is odd.  The command line that you used was
exactly what I would have suggested.  Maybe this will
work instead:

  objcopy --only-section=".debug.*" vmlinux vnlinux-debug

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