Re: AIX and V8 beta 3 - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: AIX and V8 beta 3
Date
Msg-id 200410022323.i92NNRu06508@candle.pha.pa.us
Whole thread Raw
In response to Re: AIX and V8 beta 3  (Chris Browne <cbbrowne@acm.org>)
List pgsql-hackers
Chris Browne wrote:
> darcy@wavefire.com (Darcy Buskermolen) writes:
> > On September 30, 2004 05:55 pm, Bruce Momjian wrote:
> >
> > To me it looks like all you need to do is add -pthreads or maybe
> > -lpthreads depending on exact system to your compile line..
> 
> -lpthreads does the trick, indeed.  (-lpthread also does the job,
> which is disturbing...)
> 
> If I liberally salt various makefiles for the various components that
> look like they used to be shell scripts with "-lpthreads", it all
> turns out fine, and the binary happily passes regression thusly...
> 
> ... much ado about nothing elided ...
>      rowtypes             ... ok
> test stats                ... ok
> test tablespace           ... ok
> ============== shutting down postmaster               ==============
> postmaster stopped
> 
> ======================
>  All 96 tests passed. 
> ======================
> 
> rm regress.o
> make[2]: Leaving directory `/opt/OXRS/Sources/postgresql-8.0.0beta3/src/test/regress'
> make[1]: Leaving directory `/opt/OXRS/Sources/postgresql-8.0.0beta3/src/test'
> bash-2.05a$ uname -a
> AIX fred 1 5 0007B06F4C00
> 
> Colour me suspicious that a few extra flags need to get drawn into
> somewhere.  It doesn't look to me as though there's a suitable place
> to include that in ./configure, which suggests it ought to get dropped
> in somewhere else.  
> 
> I'm not certain where that "somewhere else" is: 
>  - src/makefiles/Makefile.aix?
>  - In the configure script?

config/acx_pthread.m4 should be testing all those thread flags and
defining proper Makefile.global values for them.  Do you want to send me
your config.log offline or check ourself why the tests aren't working. 
I assume you are using 8.0betaX.

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


pgsql-hackers by date:

Previous
From: Chris Browne
Date:
Subject: Re: AIX and V8 beta 3
Next
From: Bruno Wolff III
Date:
Subject: Re: Mislabeled timestamp functions (was Re: [SQL] [NOVICE] date_trunc'd