This is the mail archive of the libc-alpha@sourceware.cygnus.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]

libc-2.x thread problems



We have some test programs that run fine on earlier
versions of linux threads but break on
libpthread-0.8.so, on all glibc 2.1.x libraries.
This may in fact be a problem with our own code,
but the fact that our programs only break on
linuxthreads and only on nominally RH 6.x platforms
suggests that there may be a problem with the
new libc.

We have some sample programs that reliably produce
these errors, and would appreciate if someone could
take a look at the program.    Contact me and I will
point you to an ftp site where you can grab the program.

Here is a typical output from our thread test program:

...

process 8055: thread 0x1406 Finished reverse test
process 8053: thread 0xC04 Finished tree test
process 8052: thread 0x803 Finished reverse test
process 8051: thread 0x402 Finished tree test
gctestgctestprocess 8049: thread 0x400 Finished tree test
: error in loading shared libraries: /lib/libpthread.so.0: symbol _exit,
version GLIBC_2.0 not defined in file libc.so.6 with link time reference

gctest: error in loading shared libraries: /lib/libpthread.so.0: symbol
__libc_waitpid, version GLIBC_2.0 not defined in file libc.so.6 with
link time reference
: error in loading shared libraries: /lib/libpthread.so.0: symbol _exit,
version GLIBC_2.0 not defined in file libc.so.6 with link time reference

gctest: error in loading shared libraries: /lib/libpthread.so.0: symbol
__sigsetjmp, version GLIBC_2.0 not defined in file libc.so.6 with link
time reference
/chicago/home2/jlh/p4/change/51385/src>process 8052: thread 0x803
Finished large free test
process 8055: thread 0x1406 Finished large free test
gctest: error in loading shared libraries: /lib/libpthread.so.0: symbol
_exit, version GLIBC_2.0 not defined in file libc.so.6 with link time
reference
gctest: error in loading shared libraries: /lib/libpthread.so.0: symbol
_exit, version GLIBC_2.0 not defined in file libc.so.6 with link time
reference
process 8054: thread 0x1005 Finished large free test
gctest: error in loading shared libraries: /lib/libpthread.so.0: symbol
_exit, version GLIBC_2.0 not defined in file libc.so.6 with link time
reference

...

Thanks,

John Hoebing
jlh@geodesic.com



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