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

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: AIX: Link the postgres executable with -Wl,-brtllib.
Date: 2015-07-16 01:02:08
Message-ID: E1ZFXYu-0007Ni-Nh@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/2405107b43ac0739b31251f433a5aaa87b61ecf1

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

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2015-07-16 03:32:09 Re: pgsql: AIX: Link TRANSFORM modules with their dependencies.
Previous Message Robert Haas 2015-07-15 14:19:01 Re: pgsql: Remove regression test added on auto-pilot.