RE: AIX support - Mailing list pgsql-hackers

From Srirama Kucherlapati
Subject RE: AIX support
Date
Msg-id SJ4PPFB81778326209116AF41FE9A24FC77DB9BA@SJ4PPFB81778326.namprd15.prod.outlook.com
Whole thread Raw
In response to RE: AIX support  (Aditya Kamath <Aditya.Kamath1@ibm.com>)
List pgsql-hackers
Hi Tom and community team,

Please find the attached, patch to enable the PostgreSQL project to build 
successfully on AIX using GNU.

Patch(0001-Support-for-AIX-GNU-build.pg19.v12.patch)

1. PostgreSQL support on AIX begins with OS level 7.2, and is available only
when using GCC in 64‑bit mode.
2. Since AIX defaults to 32‑bit compilation, the AIX-specific template applies
the -maix64 flag to cflags, cppflags, cxxflags, and ldflags to enforce 64‑bit
builds.
3. The linker configuration ensures that only 64‑bit libraries are produced by
default.
4. This patch has to be applied on top of, [1] changes related to MAXALIGN, and 
then [2] AIX meson changes.
5. To build the patch 
    # export AR='/usr/bin/ar -X64’
    # ./configure
    # gmake




Kindly let us know your feedback on the patch.

Thank you once again for all your guidance and support during this process.


Warm regards,

Sriram.



Attachment

pgsql-hackers by date:

Previous
From: Matthias van de Meent
Date:
Subject: Re: New access method for b-tree.
Next
From: Mircea Cadariu
Date:
Subject: Re: Propagate XLogFindNextRecord error to callers