Re: AIX support - Mailing list pgsql-hackers

From Tom Lane
Subject Re: AIX support
Date
Msg-id 1394039.1771342345@sss.pgh.pa.us
Whole thread Raw
In response to RE: AIX support  (Aditya Kamath <Aditya.Kamath1@ibm.com>)
Responses RE: AIX support
List pgsql-hackers
Aditya Kamath <Aditya.Kamath1@ibm.com> writes:
> Just that if someone runs test cases without disabling rpath then the test cases won’t run.(Only while using the GNU
buildsystem in AIX) 

Hmm, I'm not sure why that should be.  All the cases I've tried work
fine, and I'm not disabling rpath.

> For which I have one suggestion,
> # -blibpath must contain ALL directories where we should look for libraries
> libpath := $(shell echo $(subst -L,:,$(filter -L/%,$(LDFLAGS))) | sed -e's/ //g'):/opt/freeware/lib:/usr/lib:/lib

> How about adding "/opt/freeware/lib" to the calculation like the above lines. This is the standard path where all AIX
open-sourcefreeware libraries will exist, and system libraries will be in /usr/lib. We have this differentiation in
AIX.

Okay.  In my testing that's already gotten into LDFLAGS at this point,
but I can't see any harm in hard-wiring it into the list given that
we're already hard-wiring /usr/lib and /lib.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: generating function default settings from pg_proc.dat
Next
From: Nazir Bilal Yavuz
Date:
Subject: Re: Headerscheck support for meson