pgsql: AIX: Link the postgres executable with -Wl,-brtllib. - Mailing list pgsql-committers

From Noah Misch
Subject pgsql: AIX: Link the postgres executable with -Wl,-brtllib.
Date
Msg-id E1ZFXYu-0007Nt-OQ@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
AIX: Link the postgres executable with -Wl,-brtllib.

This allows PostgreSQL modules and their dependencies to have undefined
symbols, resolved at runtime.  Perl module shared objects rely on that
in Perl 5.8.0 and later.  This fixes the crash when PL/PerlU loads such
modules, as the hstore_plperl test suite does.  Module authors can link
using -Wl,-G to permit undefined symbols; by default, linking will fail
as it has.  Back-patch to 9.0 (all supported versions).

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/1dd2b6b680e9575ddb2c1b31e48ebfb9f51d9779

Modified Files
--------------
src/backend/Makefile |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: Re: pgsql: Remove regression test added on auto-pilot.
Next
From: Noah Misch
Date:
Subject: pgsql: AIX: Link the postgres executable with -Wl,-brtllib.