Re: AIX support

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Srirama Kucherlapati <sriram(dot)rk(at)in(dot)ibm(dot)com>
Cc: 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-12 22:22:03
Message-ID: 376831.1770934923@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Srirama Kucherlapati <sriram(dot)rk(at)in(dot)ibm(dot)com> writes:
> Please find the attached, patch to enable the PostgreSQL project to build
> successfully on AIX using GNU.

This seems to be a regression from the v11 patch. I see
this during build:

ld: 0711-783 WARNING: TOC overflow. TOC size: 325208 Maximum size: 65536
Extra instructions are being generated for each reference to a TOC
symbol if the symbol is in the TOC overflow area.
ld: 0711-783 WARNING: TOC overflow. TOC size: 325360 Maximum size: 65536
Extra instructions are being generated for each reference to a TOC
symbol if the symbol is in the TOC overflow area.

and then initdb fails like this:

exec(): 0509-036 Cannot load program initdb because of the following errors:
0509-150 Dependent module libpq.a(libpq.so.5) could not be loaded.
0509-022 Cannot load module libpq.a(libpq.so.5).
0509-026 System error: A file or directory in the path name does not exist.

Neither of those things happen with the v11 patch
(testing both on p9-aix1-postgres1).

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Nathan Bossart 2026-02-12 22:26:14 Re: pg_upgrade: transfer pg_largeobject_metadata's files when possible
Previous Message Bruce Momjian 2026-02-12 22:12:02 Re: Support logical replication of DDLs