This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: glibc 2.3 not binary compatible with glibc-2.2.5


> Starting program: /sbin/tar
> [New Thread 16384 (LWP 3530)]
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 16384 (LWP 3530)]
> 0x401681a8 in __errno_location () from /lib/libpthread.so.0
> (gdb) bt
> #0  0x401681a8 in __errno_location () from /lib/libpthread.so.0
> #1  0x40032abc in __timer_signal_thread_rclk () from /lib/libc.so.6
> (gdb)

Ok, this is something we can work with.  If you'd compiled libc with -g (or
if you did, install unstripped binaries in your chroot area) that would be
handy.  But without that, do "disas $pc" at the crash--that should be the
disassembly you showed before, but with symbols lined up so we can be sure
what is what.  Also show "info shared" in the same run, and "bt full".

Then also send readelf -Wrs libpthread.so.0, which lets us make sense of
the GOT references and so forth from the disassembly.  

Send the config.status and config.h files from your libc build.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]