[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH] Provide __errno_location and friends like LinuxThread s



> [root localhost glibc]# elf/ld.so --library-path .:nptl /usr/bin/perl
> /usr/bin/perl: relocation error: /usr/bin/perl: symbol pthread_atfork, 
> version GLIBC_2.0 not defined in file libpthread.so.0 with link time
> reference

Apply this. It's the one pending approval.

--- 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: pgp00007.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]