pgsql: aix: xlc: Use -Wl,-b,expfull for old compiler versions

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: aix: xlc: Use -Wl,-b,expfull for old compiler versions
Date: 2022-09-16 15:58:08
Message-ID: E1oZDjE-000cgG-Ca@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)sss(dot)pgh(dot)pa(dot)us>
Discussion: https://postgr.es/m/2490844.1663123546@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d08a049db9b47c32f3e7b6985a3105cae0da3681

Modified Files
--------------
configure | 5 +++++
configure.ac | 5 +++++
2 files changed, 10 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2022-09-16 17:23:20 pgsql: Improve plpgsql's ability to handle arguments declared as RECORD
Previous Message Tom Lane 2022-09-16 15:11:00 pgsql: Clean up minor inconsistencies in pg_attribute_printf() usage.