public inbox for [email protected]
help / color / mirror / Atom feedFrom: Bruce Momjian <[email protected]>
To: Martin Münstermann <[email protected]>
Cc: Robert Treat <[email protected]>
Cc: PostgreSQL-patches <[email protected]>
Subject: Re: [BUGS] 8.0.0beta1: -lpthread missing
Date: Thu, 19 Aug 2004 12:35:36 -0400 (EDT)
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
Martin Münstermann wrote:
> Bruce Momjian wrote:
> > OK, I got it working now. Seems the code needed more help to loop than
> > I though, and of course trying to change it as little as possible caused
> > me to miss that.
> >
> > The attached, applied patch properly aggregates the thread flags. The
> > bad news is that on my platform that needs _no_ thread flags or
> > libraries I have:
> >
> > PTHREAD_CFLAGS =3D -Kthread -kthread -pthread -pthreads
> > -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS
> > PTHREAD_LIBS =3D
> >
> > I assume those are just ignored for portability so I assume we are OK.
>
> Current CVS is working for Solaris, too.
> Compiles and libthread.so is used at runtime. :-)
>
> PTHREAD_CFLAGS = -pthreads -Kthread -kthread -pthread
> -pthreads -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS
> PTHREAD_LIBS = -lpthread -lpthread
>
> The -Kthread -kthread is not needed here, but is included because gcc
> 3.2 does not treat them as error, but just dumps out "gcc: unrecognized
> option `-kthread'".
Yep, same here. I am hoping we come up with a cleaner solution someday. :-)
But I am thrilled to have this threading all automated now.
--
Bruce Momjian | http://candle.pha.pa.us
[email protected] | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
view thread (20+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected]
Subject: Re: [BUGS] 8.0.0beta1: -lpthread missing
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox