When loading core dump files into gdb, I am getting the following warning, looks like loading some symbols also fails because of this.
warning: Cannot parse .gnu_debugdata section; LZMA support was disabled at compile time
Any idea how I can resolve this?
warning: Cannot parse .gnu_debugdata section; LZMA support was disabled at compile time
GDB supports a feature called "mini debug info". This feature allows adding a subset of full debugging info to a special section of the resulting file. Some Linux distros, like Fedora, use this to ship partial debuginfo so that stack traces can be more easily "symbolicated".
This section is compressed using LZMA, and so GDB must be built with LZMA support in order to read the section.
Your GDB was not built with this support, so it is informing you that it found a .gnu_debugdata
section, but could not read it.
Normally this is of no concern. It may mean you see slightly worse stack traces for code from system libraries.
The fix is to rebuild GDB, making sure you have the LZMA development packages installed before running configure
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With