aix: xlc: Use -Wl,-b,expfull for old compiler versions
authorAndres Freund <andres@anarazel.de>
Tue, 13 Sep 2022 17:55:03 +0000 (10:55 -0700)
committerAndres Freund <andres@anarazel.de>
Fri, 16 Sep 2022 15:46:36 +0000 (08:46 -0700)
commitd08a049db9b47c32f3e7b6985a3105cae0da3681
treefda266faf54898bdfd124d635db0e55e610bfa0f
parenteacbe94ab1f46d94a8532f9b9ac83ccd98cc1287
aix: xlc: Use -Wl,-b,expfull for old compiler versions

Unfortunately xlc 12.1 and earlier don't support -qvisibility. Therefore
be7c15b194a doesn't suffice to make extension libraries work without the
explicit mkldexport step removed in fe6a64a58ab. While 12.1 is EOL, there is
some desire to leave buildfarm animals using it run a bit longer. But instead
of adding back the complicated mkldexport step, we can use -Wl,-b,expfull to
force all symbols to be exported.

Reviewed-By: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/2490844.1663123546@sss.pgh.pa.us
configure
configure.ac