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: Peter Eisentraut <peter(at)eisentraut(dot)org>, "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, Tristan Partin <tristan(at)partin(dot)io>, AIX PG user <postgres-ibm-aix(at)wwpdl(dot)vnet(dot)ibm(dot)com>
Subject: Re: AIX support
Date: 2026-01-27 21:50:15
Message-ID: 582533.1769550615@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I wrote:
> With the patch attached, I can get through "make installcheck".
> However, I'm unable to attempt "make check-world" because
> src/test/modules/test_cplusplusext doesn't compile:

Ah, I figured out that bit: g++ will take this if you specify -maix64
to it too. The built module would not have worked anyway without
that, since it'd be 32-bit (AFAICT neither gcc nor g++ react to
the OBJECT_MODE environment variable).

It's not exactly clear why gcc will accept __int128 in 32-bit mode
while g++ won't, but that seems like another good reason to decide
that we won't support 32-bit builds on AIX anymore.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Chao Li 2026-01-27 22:23:25 Re: RepOrigin vs. replorigin
Previous Message Tom Lane 2026-01-27 21:42:35 Re: AIX support