Re: [BUGS] 8.0.0beta1: -lpthread missing

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Martin Münstermann <mmuenstermann(at)betrusted(dot)com>
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 23:42:45
Message-ID: 200408162342.i7GNgjn10186@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-patches pgsql-www


OK, I found the cause. I forgot to run autoconf after the
config/acx_pthread.m4 updated. I just did so. Please retest. Thanks.

---------------------------------------------------------------------------

Martin Mnstermann wrote:
> 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
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2004-08-17 00:01:43 Re: BUG #1208: Invalid page header
Previous Message Robert E. Bruccoleri 2004-08-16 23:41:09 Re: BUG #1208: Invalid page header

Browse pgsql-patches by date

  From Date Subject
Next Message Marc G. Fournier 2004-08-16 23:55:53 Re: Postgresql.conf Documentation change
Previous Message Bruce Momjian 2004-08-16 17:24:08 Re: Win32 PostgreSQL 8.0 Beta 1 Installer available

Browse pgsql-www by date

  From Date Subject
Next Message Martin Münstermann 2004-08-17 07:24:37 Re: [BUGS] 8.0.0beta1: -lpthread missing
Previous Message Bruce Momjian 2004-08-16 15:58:49 Re: [BUGS] 8.0.0beta1: -lpthread missing