RE: AIX support - Mailing list pgsql-hackers

From Srirama Kucherlapati
Subject RE: AIX support
Date
Msg-id SJ4PPFB81778326EBCD6DE28272C659806BDBA0A@SJ4PPFB81778326.namprd15.prod.outlook.com
Whole thread Raw
In response to Re: AIX support  ("Tristan Partin" <tristan@partin.io>)
Responses Re: AIX support
List 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.

 

 

pgsql-hackers by date:

Previous
From: Sergey Soloviev
Date:
Subject: Re: Introduce Index Aggregate - new GROUP BY strategy
Next
From: Álvaro Herrera
Date:
Subject: Re: Solaris versus our NLS files