This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: eh_globals.cc compilation errors with -threads under hpux 10.20
- To: libstdc++ at gcc dot gnu dot org
- Subject: Re: eh_globals.cc compilation errors with -threads under hpux 10.20
- From: Loren James Rittle <rittle at latour dot rsch dot comm dot mot dot com>
- Date: Wed, 23 May 2001 11:10:05 -0500 (CDT)
- Organization: Networks and Infrastructure Lab (IL02/2240), Motorola Labs
- References: <no.id>
In article <200105160027.UAA03970@hiauly1.hia.nrc.ca> you write:
> Here is what happens, currently:
>
> # gcc -v -threads
> Reading specs from /usr/local/lib/gcc-lib/hppa1.1-hp-hpux10.20/3.0/specs
> Configured with: ../configure --with-gnu-as --enable-shared
> Thread model: single
> gcc version 3.0 20010503 (prerelease)
>
> This should be be `dce' and not `single' but this doesn't affect the
> compilation problem. When `-threads' is specified gthr.h includes
> gthr-dce.h rather than gthr-single.h. This defines __GTHREADS as 1
> and causes the thread code in eh_globals.cc to compile.
[FYI, I backed-up and reviewed earlier messages, that I may not have
read as closely as I should have.]
There was a recent patch for AIX to allow the output of this line:
Thread model: single
to be based on the command line switches (in this case -threads).
>From your report, I am almost positive that you need a similar patch
on hpux.
Regards,
Loren
--
Loren J. Rittle
Senior Staff Software Engineer, Distributed Object Technology Lab
Networks and Infrastructure Research Lab (IL02/2240), Motorola Labs
rittle@rsch.comm.mot.com, KeyID: 2048/ADCE34A5, FDC0292446937F2A240BC07D42763672