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 15:58:49
Message-ID: 200408161558.i7GFwnF18514@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-patches pgsql-www

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.

OK, would you send me config.log privately so I can see why it isn't
adding the library? Thanks.

--
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

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2004-08-16 16:00:01 Re: [PATCHES] Bug: century/millenium still broken
Previous Message Bruce Momjian 2004-08-16 15:56:30 Re: BUG #1208: Invalid page header

Browse pgsql-patches by date

  From Date Subject
Next Message Josh Berkus 2004-08-16 15:59:17 Re: Postgresql.conf Documentation change
Previous Message Martin Münstermann 2004-08-16 15:49:31 Re: [BUGS] 8.0.0beta1: -lpthread missing

Browse pgsql-www by date

  From Date Subject
Next Message Bruce Momjian 2004-08-16 23:42:45 Re: [BUGS] 8.0.0beta1: -lpthread missing
Previous Message Martin Münstermann 2004-08-16 15:49:31 Re: [BUGS] 8.0.0beta1: -lpthread missing