Re: AIX support

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Aditya Kamath <Aditya(dot)Kamath1(at)ibm(dot)com>
Cc: Srirama Kucherlapati <sriram(dot)rk(at)in(dot)ibm(dot)com>, Michael Paquier <michael(at)paquier(dot)xyz>, Noah Misch <noah(at)leadboat(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, Robert Haas <robertmhaas(at)gmail(dot)com>, "peter(at)eisentraut(dot)org" <peter(at)eisentraut(dot)org>, "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>, "hlinnaka(at)iki(dot)fi" <hlinnaka(at)iki(dot)fi>, "tristan(at)partin(dot)io" <tristan(at)partin(dot)io>, "postgres-ibm-aix(at)wwpdl(dot)vnet(dot)ibm(dot)com" <postgres-ibm-aix(at)wwpdl(dot)vnet(dot)ibm(dot)com>
Subject: Re: AIX support
Date: 2026-02-17 15:32:25
Message-ID: 1394039.1771342345@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Aditya Kamath <Aditya(dot)Kamath1(at)ibm(dot)com> writes:
> Just that if someone runs test cases without disabling rpath then the test cases won’t run.(Only while using the GNU build system 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-source freeware 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Nazir Bilal Yavuz 2026-02-17 15:33:49 Re: Headerscheck support for meson
Previous Message Tom Lane 2026-02-17 15:24:42 Re: generating function default settings from pg_proc.dat