public inbox for [email protected]  
help / color / mirror / Atom feed
From: Tristan Partin <[email protected]>
To: Srirama Kucherlapati <[email protected]>
To: AIX PG user <[email protected]>
Cc: Heikki Linnakangas <[email protected]>
Cc: Peter Eisentraut <[email protected]>
Cc: pgsql-hackers <[email protected]>
Subject: Re: AIX support
Date: Tue, 09 Dec 2025 21:56:14 +0000
Message-ID: <[email protected]> (raw)
In-Reply-To: <SJ4PPFB817783263EA0FD91EBC346308C51DBA3A@SJ4PPFB81778326.namprd15.prod.outlook.com>
References: <CY5PR11MB63928CC05906F27FB10D74D0FD322@CY5PR11MB6392.namprd11.prod.outlook.com>
	<[email protected]>
	<176279401378.2081919.12877701948713975661.pgcf@coridan.postgresql.org>
	<SJ4PPFB817783263EA0FD91EBC346308C51DBA3A@SJ4PPFB81778326.namprd15.prod.outlook.com>

Howdy,

Heikki asked me to look at the renames of the static Meson targets. 
I don't understand the reasoning for the changes. I am completely 
unfamiliar with AIX, so maybe it's obvious. Does Meson produce a static 
library and a shared library with the same file extension? If so, why is 
that? That's the only reason I can think of for making those changes. Is 
it AIX-specific or whatever OS you are testing on?

In your patch, I found a link to 
https://www.postgresql.org/message-id/[email protected].... 

> -> On AIX, you can do a static as well as a dynamic
> -> link against a shared library, it depends on how you
> -> invoke the linker.
> 
> When you link statically, the shared objects from
> the library are added to your executable as required;
> when you link dynamically, only references
> to the shared objects are included in the executable.
> 
> Consequently you do not need a separate static library
> on AIX if you have a dynamic library.

This seems to imply that we don't need a static library at all on AIX. 
However this email is also nearing 20 years old :D. Could we get away 
without the renames on the Meson targets by just not defining the static 
library targets?

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





view thread (73+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
  Subject: Re: AIX support
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox