X-Original-To: pgsql-patches-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 783625E46BF for ; Mon, 16 Aug 2004 20:47:04 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 04596-09 for ; Mon, 16 Aug 2004 23:46:55 +0000 (GMT) Received: from candle.pha.pa.us (candle.pha.pa.us [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id C826A5E46D5 for ; Mon, 16 Aug 2004 20:46:52 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id i7GNgjn10186; Mon, 16 Aug 2004 19:42:45 -0400 (EDT) From: Bruce Momjian Message-Id: <200408162342.i7GNgjn10186@candle.pha.pa.us> Subject: Re: [BUGS] 8.0.0beta1: -lpthread missing In-Reply-To: <4120D78B.6000300@betrusted.com> To: =?ISO-8859-1?Q?Martin_M=FCnstermann?= Date: Mon, 16 Aug 2004 19:42:45 -0400 (EDT) Cc: Robert Treat , PostgreSQL-patches X-Mailer: ELM [version 2.4ME+ PL108 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UNKNOWN-8BIT X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200408/337 X-Sequence-Number: 12626 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 Münstermann 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@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073