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

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



Yes. It works. Now both python and perl are blocked by the 
__errno_location issue. 

"symbol __errno_location, version GLIBC_2.0 not defined 
in file libpthread.so.0 with link time reference"

> -----Original Message-----
> From: Luca Barbieri [mailto:ldb ldb ods org]
> Sent: 2002?11?1? 17:06
> To: phil-list redhat com
> Subject: 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
> 





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