eh_globals.cc compilation errors with -threads under hpux 10.20
Loren James Rittle
rittle@latour.rsch.comm.mot.com
Wed May 23 09:10:00 GMT 2001
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
More information about the Libstdc++
mailing list