RE: AIX support

From: Srirama Kucherlapati <sriram(dot)rk(at)in(dot)ibm(dot)com>
To: Tristan Partin <tristan(at)partin(dot)io>, AIX PG user <postgres-ibm-aix(at)wwpdl(dot)vnet(dot)ibm(dot)com>
Cc: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, Peter Eisentraut <peter(at)eisentraut(dot)org>, pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: RE: AIX support
Date: 2025-12-10 14:31:43
Message-ID: SJ4PPFB81778326EBCD6DE28272C659806BDBA0A@SJ4PPFB81778326.namprd15.prod.outlook.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Tristan,

Thank you for reviewing the patch.

We encountered the following error when building without the "_static" suffix in the library name:
Found ninja-1.12.1 at /opt/freeware/bin/ninja
ERROR: Multiple producers for Ninja target "src/interfaces/ecpg/compatlib/libecpg_compat.a”.
Please rename your targets.

On AIX, shared libraries are archived in a way that allows multiple versions to
coexist within the same archive. This is primarily because shared library(.so)
is archived into .a, which leads to naming conflicts between static and shared
libraries. To address this, we suffixed the library with “_static".

However, we later tested by completely skipping the static library build, and
this approach worked successfully since it eliminates the conflict between
static and shared libraries. I'm working on the changes and will validate
further on this.

BTW, thank you, Heikki and Peter, for your comments. I’m working on the comments

and I’ll keep you updated.

Warm regards,

Sriram.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Álvaro Herrera 2025-12-10 14:33:50 Re: Solaris versus our NLS files
Previous Message Sergey Soloviev 2025-12-10 14:22:01 Re: Introduce Index Aggregate - new GROUP BY strategy