Re: AIX support

Поиск
Список
Период
Сортировка
От Tristan Partin
Тема Re: AIX support
Дата
Msg-id DEUR671F27T4.2TI9SI59IJ3GR@partin.io
обсуждение исходный текст
Ответ на RE: AIX support  (Srirama Kucherlapati <sriram.rk@in.ibm.com>)
Список pgsql-hackers
On Wed Dec 10, 2025 at 8:32 AM CST, Srirama Kucherlapati wrote:
> 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.

Thanks for the explanation. I'm glad we can workaround this without
renaming the targets!

--
Tristan Partin
Databricks (https://databricks.com)



В списке pgsql-hackers по дате отправления: