pthread_atfork is emitted as a local hidden symbol due to a problem analogous to the one described in http://sources.redhat.com/ml/libc-hacker/2002-06/msg00008.html. Here is a patch that fixes it: --- nptl/old_pthread_atfork.c~ 2002-10-04 09:38:47.000000000 +0200 +++ nptl/old_pthread_atfork.c 2002-10-31 21:19:18.000000000 +0100 @@ -23,5 +23,6 @@ # define __pthread_atfork __dyn_pthread_atfork # include "pthread_atfork.c" # undef __pthread_atfork -compat_symbol (libpthread, __dyn_pthread_atfork, pthread_atfork, GLIBC_2_0); +strong_alias(__dyn_pthread_atfork, __dyn_pthread_atfork_nonhidden); +compat_symbol (libpthread, __dyn_pthread_atfork_nonhidden, pthread_atfork, GLIBC_2_0); #endif
Attachment:
pgp00001.pgp
Description: PGP signature