This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: 3.0.1 PATCH: Enable POSIX threads for IRIX 6
- To: gcc-patches at gcc dot gnu dot org
- Subject: Re: 3.0.1 PATCH: Enable POSIX threads for IRIX 6
- From: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- Date: Thu, 2 Aug 2001 19:13:35 +0200 (MEST)
- Cc: "H . J . Lu" <hjl at lucon dot org>, libstdc++ at gcc dot gnu dot org
- References: <15209.19951.589781.834153@xayide.TechFak.Uni-Bielefeld.DE>
Rainer Orth writes:
> This is an updated version of H. J. Lu's patch
>
> http://gcc.gnu.org/ml/gcc-patches/2001-07/msg01854.html
> A bootstrap on mips-sgi-irix6.5 finished successfully (ran for about 12
> hours ;-(), make check is in progress.
Testing revealed that all C++ tests that use threads in some form still
break with pthread_key_create, pthread_getspecific, pthread_setspecific,
and pthread_once undefined. This happens since gthr.h doesn't (and cannot)
include tconfig.h (like libobjc/thr-objc.c and gcc/unwind*.c do), so
PTHREAD_ACTIVE_FUNCTION is undefined and the default pthread_create is
used ;-(
I'll have to investigate how to best fix this in the context of
libstdc++-v3 configury, but this will have to wait for 3.0.2, since I'm
about to leave for vacation.
Rainer
-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University
Email: ro@TechFak.Uni-Bielefeld.DE