[Bug gdb/33174] [ELF][debug_section][gdb vs lldb][GDB:unable to initialize decompress status for section .debug_loclists]

ssbssa at sourceware dot org sourceware-bugzilla@sourceware.org
Fri Jul 18 11:11:01 GMT 2025


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

Hannes Domani <ssbssa at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ssbssa at sourceware dot org

--- Comment #1 from Hannes Domani <ssbssa at sourceware dot org> ---
(In reply to xiaoqiang-wang from comment #0)
> Android_15$ gdb  ./malisc_host  //NOT OK, gdb report error.
>     BFD: malisc_host: unable to initialize decompress status for section
> .debug_loclists
>     malisc_host: not in executable format: file format not recognized

> Android_15$ readelf -p .comment ./malisc_host
> readelf: Warning: section '.debug_str' has unsupported compress type: 2

I think these warnings mean that your gdb & readelf are built without zstd
support.

zstd support was added in gdb-13, and the above info says version 12.1, so you
need to udpate.

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


More information about the Gdb-prs mailing list