Re: AIX and V8 beta 3

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Chris Browne <cbbrowne(at)acm(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: AIX and V8 beta 3
Date: 2004-10-02 23:23:27
Message-ID: 200410022323.i92NNRu06508@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Chris Browne wrote:
> darcy(at)wavefire(dot)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(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-hackers by date

  From Date Subject
Next Message Bruno Wolff III 2004-10-03 01:16:41 Re: Mislabeled timestamp functions (was Re: [SQL] [NOVICE] date_trunc'd
Previous Message Bruno Wolff III 2004-10-02 20:04:51 Re: Mislabeled timestamp functions (was Re: [SQL] [NOVICE] date_trunc'd