This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Possible Showstopper
- To: egcs at cygnus dot com
- Subject: Re: Possible Showstopper
- From: "G. Sumner Hayes" <sumner at collegium dot adsl dot net dot cmu dot edu>
- Date: Thu, 4 Dec 1997 21:49:13 -0500
- Organization: The Good Guys(TM)
- Reply-To: sumner at collegium dot adsl dot net dot cmu dot edu
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