On Mon, Feb 16, 2026 at 12:35 PM Tom Lane <[email protected]> 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...
