linking gdbserver fails for a glibc2.1.3 (rh62) with crosstool-0.43
Dimitry Andric
dimitry@andric.com
Wed Dec 27 22:27:00 GMT 2006
John Utz wrote:
...
> i386-unknown-linux-gnu-gcc -rdynamic -o gdbserver inferiors.o
> regcache.o remote-utils.o server.o signals.o target.o utils.o version.o
> mem-break.o reg-i386-linux.o linux-low.o linux-i386-low.o i387-fp.o
> thread-db.o proc-service.o \
> -lthread_db
> thread-db.o(.text+0x3f9): In function `thread_db_look_up_symbols':
> /home/jutz/Compile/crosstool-0.43/build/i386-unknown-linux-gnu/gcc-2.95.
> 3-glibc-2.1.3/gdb-6.5/gdb/gdbserver/thread-db.c:315: undefined reference
> to `td_symbol_list'
Looks like you need to use either a newer glibc (td_symbol_list seems to
have been added in 2.2.3), or an older gdb (e.g. 6.2 or earlier). I
guess the latter may be preferred in your case. :)
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list