Re: V8 Beta 5 on AIX

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Simon Riggs <simon(at)2ndquadrant(dot)com>, Andrew Sullivan <ajs(at)crankycanuck(dot)ca>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: V8 Beta 5 on AIX
Date: 2004-12-07 14:25:02
Message-ID: 200412071425.iB7EP2503938@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > However, one thing we can do is to try this in Makefile.aix:
> > # AIX needs threads for everything that uses libpq
> > LIBS += $(PTHREAD_LIBS)
> > That is going to enable thread libs for all linking including the
> > backend, but it might work.
>
> That is certainly wrong. The correct thing is to add PTHREAD_LIBS to
> all and only those links that include libpq. I suspect that the cc_r
> business is a red herring and the real problem is just that you forgot
> to include the libraries --- if so, AIX is probably not the only
> platform that will break.

The discussion at the time was that we didn't want to add a
libpq-specific CC just for Unixware, which we considered broken for not
having libpq dependency information in the library.

Now that we have two platforms that need this we might need to rethink
this, and think of a shortcut for 8.0 like we are already using for
Unixware.

--
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-hackers by date

  From Date Subject
Next Message Sibtay Abbas 2004-12-07 15:00:14 adding procedural languages
Previous Message Nicolai Tufar 2004-12-07 13:56:59 Re: apparent problem on linux/s390