]> git.ipfire.org Git - thirdparty/postgresql.git/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:30 +0000 (21:00 -0400)
commitdc5075fed0e1f50ff88adfa6012ab17d5c8f4351
tree819a308300e9740a7154df2128eb40b850ec6184
parentfaf686b540e602f77c7a31442f3344444eb848e9
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