| From: | Thomas Munro <thomas(dot)munro(at)gmail(dot)com> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Srirama Kucherlapati <sriram(dot)rk(at)in(dot)ibm(dot)com>, Aditya Kamath <Aditya(dot)Kamath1(at)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 00:05:28 |
| Message-ID: | CA+hUKGKuydrE4P=7jnn3Of1ntcrSAA+Vxd8g_KxgJAVO-fjFRQ@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Mon, Feb 16, 2026 at 12:35 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> * plpython probably needs work, and I'm not sure about --with-llvm.
> I can't really test either of those for lack of installed packages.
I'm willing to help look into LLVM when enough pieces have fallen into
place. I expect it to work: LLVM's commit log is full of AIX-related
commits from @ibm.com addresses, and LLVM 21 gained AIX/ppc64 JITLink
support (the newer linking layer that we'll soon need to switch to).
I don't see the 32 bit variant, and I don't know if the older
RTDyldObjectLinkingLayer works on AIX (I'd have guessed so, but I can
also see that is has special kludges for COFF, so perhaps it'd need
something special for XCOFF too, *shrug*).
If I guessed correctly, the end goal is packaging including all
dependencies at
https://www.ibm.com/support/pages/aix-toolbox-open-source-software-downloads-alpha?
That already lists PostgreSQL 18 (with some version of these patches
applied?), but doesn't appear to have LLVM packages yet, so I guess
someone would need to address that. I wondered about building LLVM
from source just to see what happens, but there isn't anywhere near
enough free disk space on p9-aix1-postgres1.
But that's all getting quite far ahead of the basic
AIX-port-restoration project, ie something for later...
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andres Freund | 2026-02-17 00:17:48 | Re: BackgroundPsql swallowing errors on windows |
| Previous Message | Álvaro Herrera | 2026-02-16 23:39:11 | Re: generating function default settings from pg_proc.dat |