Re: [squid-users] aufs problems in 2.5STABLE1

From: Guido Serassio <serassio@dont-contact.us>
Date: Tue, 22 Oct 2002 19:05:37 +0200

Hi Henrik,

Il 12.06 22/10/2002 Henrik Nordström ha scritto:
>Hmm.. From where did you get this GCC?
>
>The -pthreads GCC option on Solaris is a "magic" GCC option that both sets
>the required defines and includes the needed libraries..
>
>I had the impression that this option was included in the GCC distribution
>specs file for Solaris, but it may be that it is only a extension added by
>Sun and other GCC distributions derived from the Sun provided package..
>
>What the Solaris GCC -pthreads option does on the Solaris 8 machine I
>have access to:
>
> -D_REENTRANT -D_PTHREADS
> -lpthreads
>
>and ensures that -threads cannot be used at the same time (-threads
>enables the older SunOS/Solaris threads package)
>
>The -D_PTHREADS option does not seem to be very important, but is
>referenced by GCC STL to select with of the two threading packages to
>use.. (STL is not used by Squid)

I take a look on gcc.gnu.org, and after same searches, I have found some
confusing reference to a -pthreads gcc option on SPARC/Solaris, but nothing
is listed in official gcc command options.

I have found too a -pthread option on PowerPC/AIX, may be related to AIX
problems ?

Regards

Guido

>What you can try if your GCC does not support the -pthreads option is to
>simply comment out the Solaris GCC specific section for pthreads.
>
>
>Regards
>Henrik
>
>On Tue, 22 Oct 2002, Guido Serassio wrote:
>
> > When building, I get the following error:
> >
> > gcc: unrecognized option `-pthreads'
> >
> > > gcc --version
> > 2.95.3
> >
> > > uname -a
> > SunOS sunrise 5.8 Generic_108529-14 i86pc i386 i86pc
> >
> > Regards
> >
> > Guido
> >
> >
> >
> > -
> > =======================================================
> > Serassio Guido
> > Via Albenga, 11/4 10134 - Torino
> - ITALY
> > E-mail: guido.serassio@serassio.it
> > WWW: http://www.serassio.it
> >

-
=======================================================
Serassio Guido
Via Albenga, 11/4 10134 - Torino - ITALY
E-mail: guido.serassio@serassio.it
WWW: http://www.serassio.it
Received on Tue Oct 22 2002 - 11:06:27 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:16:59 MST