A problem with libio in egcs under glibc

Ulrich Drepper drepper@ipd.info.uni-karlsruhe.de
Thu Sep 18 04:08:00 GMT 1997


hjl@lucon.org (H.J. Lu) writes:

> I manually added
> 
> #ifdef __ELF__
> #pragma weak _pthread_cleanup_push_defer
> #pragma weak _pthread_cleanup_pop_restore
> #endif
> 
> into libc-lock.h. I think it should be fixed in glibc.

The problem is that glibc's libc-lock.h uses `#ifdef _LIBC'.  We
should use a similar symbol to indicate libstdc++ is compiled or (even
better) magically define this symbol for compilation for glibc.  I'll
add this ASAP.

-- Uli
---------------.      drepper@cygnus.com  ,-.   Rubensstrasse 5
Ulrich Drepper  \    ,-------------------'   \  76149 Karlsruhe/Germany
Cygnus Solutions `--' drepper@gnu.ai.mit.edu  `------------------------



More information about the Gcc mailing list