Re: static libpq (and other libraries) overwritten on aix

Robert Haas <robertmhaas@gmail.com>

From: Robert Haas <robertmhaas@gmail.com>
To: Andres Freund <andres@anarazel.de>
Cc: "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>, Noah Misch <noah@leadboat.com>
Date: 2022-08-17T19:28:18Z
Lists: pgsql-hackers
On Wed, Aug 17, 2022 at 3:02 PM Andres Freund <andres@anarazel.de> wrote:
> 2) Do we care about static libraries not suriving on AIX? There could also be
>    a race in the buildrules leading to sometimes static libs sometimes shared
>    libs winning, I think.

Instead of overwriting the same file, can we not use different
filenames for different things?

-- 
Robert Haas
EDB: http://www.enterprisedb.com



Commits

  1. configure: Expand -fvisibility checks to more compilers, test for -qvisibility

  2. aix: No need to use mkldexport when we want to export all symbols

  3. aix: when building with gcc, tell gcc we're building a shared library

  4. aix: Fix SHLIB_EXPORTS reference in VPATH builds

  5. Remove SUBSYS.o rule in common.mk, hasn't been used in a long time

  6. Remove rule to generate postgres.o, not needed for 20+ years

  7. Make the AIX case of Makefile.shlib safe for parallel make.