This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: Possible Showstopper


Andreas Jaeger (aj@arthur.rhein-neckar.de) wrote:
> --- /usr/glibc/glibc-2.0.5/glibc-2.0.5c-src/linuxthreads/sysdeps/pthread/libc-lock.h    Mon Aug 18 16:01:50 1997
> +++ linuxthreads/sysdeps/pthread/libc-lock.h    Wed Nov 19 00:47:11 1997
> 
> @@ -166,6 +166,11 @@
>  /* We need portable names for some functions.  E.g., when they are
>     used as argument to __libc_cleanup_region_start.  */
>  # define __libc_mutex_unlock __pthread_mutex_unlock
> +#else
> +# ifdef __ELF__
> +#  pragma weak _pthread_cleanup_push_defer
> +#  pragma weak _pthread_cleanup_pop_restore
> +# endif
>  #endif
>  
>  #endif /* bits/libc-lock.h */

Applying this patch does not fix things here on Red Hat 5.0.  I still
need to link all C++ programs against the pthreads library.

Should egcs and/or glibc be rebuilt after applying this?

-Sumner

-- 
rage, rage against the dying of the light


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