gdb 32bit app under 64bit system

Michał Jędrzejczak mj at bsdops.com
Thu Dec 15 08:20:20 UTC 2016


Hello list.
I've question about debugging an application that is compile with -m32 
and can not be debugging under FreeBSD 10.0 amd64 with gdb761.
During debug by gdb I had this error :

warning: `/libexec/ld-elf.so.1': Shared library architecture i386:x86-64 
is not compatible with target architecture i386.

warning: .dynamic section for "/libexec/ld-elf.so.1" is not at the 
expected address (wrong library or version mismatch?)
[New Thread 298030b429803080 (LWP 100109)]
Error while reading shared library symbols for /usr/lib32/libthr.so.3:
Cannot find new threads: generic error


Did you have any ideas what way can I go .
Regards
MJ



More information about the freebsd-hackers mailing list