Re: V8 Beta 5 on AIX - Mailing list pgsql-hackers

From Tom Lane
Subject Re: V8 Beta 5 on AIX
Date
Msg-id 10506.1102396534@sss.pgh.pa.us
Whole thread Raw
In response to Re: V8 Beta 5 on AIX  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: V8 Beta 5 on AIX
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.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.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Marc G. Fournier"
Date:
Subject: Re: Call for port reports
Next
From: Tom Lane
Date:
Subject: Re: Call for port reports