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 D20B85E46C4 for ; Mon, 16 Aug 2004 12:50:03 -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 44906-01 for ; Mon, 16 Aug 2004 15:50:08 +0000 (GMT) Received: from mail2.trustcenter.de (mail2.trustcenter.de [193.194.157.2]) by svr1.postgresql.org (Postfix) with ESMTP id 97BC95E46C1 for ; Mon, 16 Aug 2004 12:49:59 -0300 (ADT) Received: from hermes.trustcenter.de (hermes.trustcenter.de [192.168.202.5]) by mail2.trustcenter.de (8.12.11/8.12.11) with ESMTP id i7GFnh2P025432; Mon, 16 Aug 2004 17:49:43 +0200 (CEST) Received: from [192.168.201.14] (titan.trustcenter.de [192.168.200.244]) by hermes.trustcenter.de (8.12.10/8.12.10/Debian-5) with ESMTP id i7GFnVmX010523; Mon, 16 Aug 2004 17:49:34 +0200 Message-ID: <4120D78B.6000300@betrusted.com> Date: Mon, 16 Aug 2004 17:49:31 +0200 From: =?ISO-8859-1?Q?Martin_M=FCnstermann?= User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.7.1) Gecko/20040707 X-Accept-Language: en-us, en, de-de, it MIME-Version: 1.0 To: Bruce Momjian Cc: Robert Treat , PostgreSQL-patches Subject: Re: [BUGS] 8.0.0beta1: -lpthread missing References: <200408131317.i7DDHb209607@candle.pha.pa.us> In-Reply-To: <200408131317.i7DDHb209607@candle.pha.pa.us> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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/396 X-Sequence-Number: 12685 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