This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix compiler build on non-Unix98 systems
- From: Eric Botcazou <ebotcazou at libertysurf dot fr>
- To: Geoffrey Keating <geoffk at geoffk dot org>
- Cc: gcc-patches at gcc dot gnu dot org,Jason Merrill <jason at redhat dot com>
- Date: Wed, 3 Nov 2004 09:44:05 +0100
- Subject: Re: Fix compiler build on non-Unix98 systems
- References: <200409290851.22163.ebotcazou@libertysurf.fr> <200410280834.58693.ebotcazou@libertysurf.fr> <m24qkeza54.fsf@greed.local>
> I'm a bit concerned that SUS doesn't say that PTHREAD_MUTEX_RECURSIVE
> has to be a preprocessor macro (it might be an enum). If there's a
> system with that property, we'll need to back this patch out and go
> for an autoconf test.
FreeBSD (5.3RC1) is affected. Are you sure that an autoconf test is the way
to go? It's a target feature. Should we create gthr-posix-norecurse.h or
something like that, as a wrapper around gthr-posix.h using the appropriate
preprocessor magic? Or maybe should we just drop support for these old OSes?
--
Eric Botcazou