Cannot parse .gnu_debugdata section; LZMA support was disabled at compile time?

1,177 views
Skip to first unread message

weny...@126.com

unread,
Mar 4, 2016, 1:01:30 PM3/4/16
to openresty
我在gdb调试任意进程的时候,会有这样的warn:

warning: Cannot parse .gnu_debugdata section; LZMA support was disabled at compile time
(no debugging symbols found)...done.

完整的输出:
[root@fedora objs]# gdb -p 1398
GNU gdb (GDB) 7.11
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
Find the GDB manual and other documentation resources online at:
For help, type "help".
Type "apropos word" to search for commands related to "word".
Attaching to process 1398
Reading symbols from /root/project/nginx.debug/nginx/objs/nginx...done.
Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done.
Reading symbols from /lib64/libpthread.so.0...(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Reading symbols from /lib64/libcrypt.so.1...(no debugging symbols found)...done.
Reading symbols from /usr/local/lib/libluajit-5.1.so.2...done.
Reading symbols from /lib64/libm.so.6...(no debugging symbols found)...done.
Reading symbols from /lib64/libpcre.so.1...
warning: Cannot parse .gnu_debugdata section; LZMA support was disabled at compile time
(no debugging symbols found)...done.
Reading symbols from /lib64/libssl.so.10...
warning: Cannot parse .gnu_debugdata section; LZMA support was disabled at compile time
(no debugging symbols found)...done.
Reading symbols from /lib64/libcrypto.so.10...
warning: Cannot parse .gnu_debugdata section; LZMA support was disabled at compile time
(no debugging symbols found)...done.
Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done.
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
Reading symbols from /lib64/libfreebl3.so...
warning: Cannot parse .gnu_debugdata section; LZMA support was disabled at compile time
(no debugging symbols found)...done.
Reading symbols from /lib64/libgcc_s.so.1...(no debugging symbols found)...done.
Reading symbols from /lib64/libgssapi_krb5.so.2...
warning: Cannot parse .gnu_debugdata section; LZMA support was disabled at compile time
(no debugging symbols found)...done.
Reading symbols from /lib64/libkrb5.so.3...
warning: Cannot parse .gnu_debugdata section; LZMA support was disabled at compile time
(no debugging symbols found)...done.
Reading symbols from /lib64/libcom_err.so.2...
warning: Cannot parse .gnu_debugdata section; LZMA support was disabled at compile time
(no debugging symbols found)...done.
Reading symbols from /lib64/libk5crypto.so.3...
warning: Cannot parse .gnu_debugdata section; LZMA support was disabled at compile time
(no debugging symbols found)...done.
Reading symbols from /lib64/libz.so.1...
warning: Cannot parse .gnu_debugdata section; LZMA support was disabled at compile time
(no debugging symbols found)...done.
Reading symbols from /lib64/libkrb5support.so.0...
warning: Cannot parse .gnu_debugdata section; LZMA support was disabled at compile time
(no debugging symbols found)...done.
Reading symbols from /lib64/libkeyutils.so.1...
warning: Cannot parse .gnu_debugdata section; LZMA support was disabled at compile time
(no debugging symbols found)...done.
Reading symbols from /lib64/libresolv.so.2...(no debugging symbols found)...done.
Reading symbols from /lib64/libselinux.so.1...
warning: Cannot parse .gnu_debugdata section; LZMA support was disabled at compile time
(no debugging symbols found)...done.
Reading symbols from /lib64/libnss_files.so.2...(no debugging symbols found)...done.
0x00007f56bbe28e56 in sigsuspend () from /lib64/libc.so.6
(gdb)

平台环境:
Linux fedora 4.2.3-300.fc23.x86_64 #1 SMP Mon Oct 5 15:42:54 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

why?

Yichun Zhang (agentzh)

unread,
Mar 4, 2016, 1:34:18 PM3/4/16
to openresty
Hello!

On Fri, Mar 4, 2016 at 10:01 AM, <weny...@126.com> wrote:
> 我在gdb调试任意进程的时候,会有这样的warn:
>
> warning: Cannot parse .gnu_debugdata section; LZMA support was disabled at
> compile time

这个问题感觉有些跑题啊,毕竟这里是 OpenResty 邮件列表。

Google 了一下你这个错误,找到了这个:

http://sourceware-org.1504.n7.nabble.com/RFA-handle-quot-MiniDebuginfo-quot-section-td212586.html

Regards,
-agentzh
Reply all
Reply to author
Forward
0 new messages