public inbox for [email protected]  
help / color / mirror / Atom feed
From: Martin Münstermann <[email protected]>
To: Bruce Momjian <[email protected]>
Cc: Robert Treat <[email protected]>
Cc: PostgreSQL-patches <[email protected]>
Subject: Re: [BUGS] 8.0.0beta1: -lpthread missing
Date: Mon, 16 Aug 2004 17:49:31 +0200
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>

Bruce Momjian wrote:
>>--> We need -lpthread on solaris, too.
> 
> 
> So the current CVS code is good?

No. At least not for solaris8.

configure says:
checking whether pthreads work with -pthread... no
checking whether pthreads work with -pthreads... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... gcc
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes


Makefile.global:
PTHREAD_CFLAGS          = -pthreads -D_REENTRANT -D_THREAD_SAFE 
-D_POSIX_PTHREAD_SEMANTICS
PTHREAD_LIBS            =

No -lpthread and the resulting binaries have no dependancy on 
libpthread.so, so at runtime only the stubs are being called.

Regards,
  Martin



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