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

Noah Misch <noah@leadboat.com>

From: Noah Misch <noah@leadboat.com>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@postgresql.org, robertmhaas@gmail.com
Date: 2022-08-20T16:57:13Z
Lists: pgsql-hackers
On Sat, Aug 20, 2022 at 01:35:22AM -0700, Andres Freund wrote:
> Afaict there's no reason to generate lib<name>.a for extension .so's, right?

Right.  We install cube.so, not any *cube.a file.



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.