Re: AIX support

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: Srirama Kucherlapati <sriram(dot)rk(at)in(dot)ibm(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, AIX PG user <postgres-ibm-aix(at)wwpdl(dot)vnet(dot)ibm(dot)com>
Cc: "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: AIX support
Date: 2025-11-07 16:28:13
Message-ID: 794e9968-c48f-4ec3-a5f9-a7e8faca8979@eisentraut.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 15.10.25 17:58, Srirama Kucherlapati wrote:
> Hi Andres and team,
>
> Please find attached the patch addressing Meson build changes for AIX.
>
> We tried to build using below meson
>
> ## meson -v
>
> 1.6.1
>
> For the following files, the shared_module() function requires
> specifying the
>
> appropriate symbol import file, which is provided via the aix_link_args
>
> variable:
>
> src/backend/jit/llvm/meson.build
>
> src/backend/replication/libpqwalreceiver/meson.build
>
> src/backend/replication/pgoutput/meson.build
>
> src/backend/snowball/meson.build
>
> src/backend/utils/mb/conversion_procs/meson.build
>
> Additionally, with the latest version of Meson, when building static
> libraries,
>
> the library file name must be suffixed with “_static” in the following
> files:
>
> src/interfaces/ecpg/compatlib/meson.build
>
> src/interfaces/ecpg/ecpglib/meson.build
>
> src/interfaces/ecpg/pgtypeslib/meson.build
>
> src/interfaces/libpq/meson.build

It is not going to be acceptable to sprinkle this much AIX-specific code
around. Those changes to the meson.build files were not needed before
AIX support was removed. You should find a way to do it without these
changes.

The changes in src/include/port/aix.h in your patch don't make sense.
This indicates that you are doing something wrong in your local builds.
Please fix that.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tristan Partin 2025-11-07 16:29:50 Re: Decouple C++ support in Meson's PGXS from LLVM enablement
Previous Message Jelte Fennema-Nio 2025-11-07 16:19:56 Re: Decouple C++ support in Meson's PGXS from LLVM enablement