]> granicus.if.org Git - postgresql/commit
AIX: Link the postgres executable with -Wl,-brtllib.
authorNoah Misch <noah@leadboat.com>
Thu, 16 Jul 2015 01:00:26 +0000 (21:00 -0400)
committerNoah Misch <noah@leadboat.com>
Thu, 16 Jul 2015 01:00:31 +0000 (21:00 -0400)
commit1dd2b6b680e9575ddb2c1b31e48ebfb9f51d9779
tree3ca443d3517313dabed60eebb44a1587c66ece33
parente9a859b549d77dc8006670d012fecd94594c0a70
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).
src/backend/Makefile