Possible Showstopper
G. Sumner Hayes
sumner@collegium.adsl.net.cmu.edu
Thu Dec 4 18:45:00 GMT 1997
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
More information about the Gcc
mailing list