Skip site navigation (1) Skip section navigation (2)

Re: [BUGS] 8.0.0beta1: -lpthread missing

From: Martin Münstermann <mmuenstermann(at)betrusted(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>,PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [BUGS] 8.0.0beta1: -lpthread missing
Date: 2004-08-16 15:49:31
Message-ID: 4120D78B.6000300@betrusted.com (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-patchespgsql-www
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

In response to

Responses

pgsql-www by date

Next:From: Bruce MomjianDate: 2004-08-16 15:58:49
Subject: Re: [BUGS] 8.0.0beta1: -lpthread missing
Previous:From: Justin CliftDate: 2004-08-16 15:35:20
Subject: Re: time to move to the new code

pgsql-bugs by date

Next:From: Bruce MomjianDate: 2004-08-16 15:56:30
Subject: Re: BUG #1208: Invalid page header
Previous:From: Bruce MomjianDate: 2004-08-16 15:44:31
Subject: Re: [BUGS] 8.0: Absolute path required for INITDB?

pgsql-patches by date

Next:From: Bruce MomjianDate: 2004-08-16 15:58:49
Subject: Re: [BUGS] 8.0.0beta1: -lpthread missing
Previous:From: Bruce MomjianDate: 2004-08-16 15:44:31
Subject: Re: [BUGS] 8.0: Absolute path required for INITDB?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group