[Buildroot] mklibs.py has problem on gdbserver
林建安
colin at realtek.com.tw
Mon Sep 14 07:07:56 UTC 2009
Hi there,
I am trying to shrink the libraries by using mklibs.py, which is from
buildroot/toolchain/mklibs.
It can work on almost all of the dynamic-linked APs in addition to
gdbserver.
The platform is of MIPSEL. I tried to see if the x86 executable file of
gdbserver has the same problem, and the answer is yes.
Anybody know what the problem is?
The gdbserver is from GNU gdb-6.8.
The log is as following:
../bin/mklibs.py -v -d trimlib /tmp/gdbserver
I: Using ld-linux.so.2 as dynamic linker.
I: library reduction pass 1
Objects: gdbserver
Object: /tmp/gdbserver
84 symbols, 84 unresolved
reducing libthread_db.so.1
No pic file found for /lib//libthread_db.so.1 ; copying
reducing libc.so.6
No pic file found for /lib//libc.so.6 ; copying
I: library reduction pass 2
Objects: gdbserver
Object: trimlib/libthread_db.so.1-so-stripped
Object: /tmp/gdbserver
Object: trimlib/libc.so.6-so-stripped
104 symbols, 10 unresolved
../bin/mklibs.py:496: DeprecationWarning: raising a string exception is
deprecated
raise "No library provides non-weak " + symbol
Traceback (most recent call last):
File "../bin/mklibs.py", line 496, in <module>
raise "No library provides non-weak " + symbol
No library provides non-weak ps_pdread
Regards,
Colin
More information about the buildroot
mailing list