This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: GCC-3.0.4 (pre) on AIX requires pthreads
- From: Phil Edwards <phil at jaj dot com>
- To: David Edelsohn <dje at watson dot ibm dot com>
- Cc: Michael Veksler <VEKSLER at il dot ibm dot com>, libstdc++ at gcc dot gnu dot org
- Date: Wed, 20 Feb 2002 17:39:00 -0500
- Subject: Re: GCC-3.0.4 (pre) on AIX requires pthreads
- References: <phil@jaj.com> <200202202209.RAA27766@makai.watson.ibm.com>
On Wed, Feb 20, 2002 at 05:09:53PM -0500, David Edelsohn wrote:
>
> http://gcc.gnu.org/ml/libstdc++/2000-09/msg00097.html
> http://gcc.gnu.org/ml/libstdc++/2001-04/msg00376.html
> http://gcc.gnu.org/ml/libstdc++/2001-05/msg00018.html
What a mess.
> http://gcc.gnu.org/ml/libstdc++/2001-05/msg00048.html
Okay. Here's the message where you suggest what has since been implemented.
> AIX does want POSIX, but only when the -pthread option is present
> on the commandline. G+ can handle this, but libstdc++ and gthr.h cannot.
So, we just need to turn a command-line option into -D_THREAD_SAFE? Okay,
that's already being done...
> gthr-aix.h depends upon gthr-posix.h and gthr-single.h. Using
> gthr-aix.h requires libstdc++ understanding that dependency and installing
> all THREE headers. libstdc++/include/Makefile currently only installs
> thread_target_headers (gthr.h, gthr-single.h, gthr-default.h) and the
> *SINGLE* file to which glicpp_thread_h is defined.
...ah! The actual problem!
Are you saying that this would all be solved by:
1) Making 'aix' the displayed thread model, and
2) Installing more headers?
Phil
--
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace. We seek
not your counsel, nor your arms. Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen. - Samuel Adams