Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdc5075f

Browse files
committed
AIX: Link the postgres executable with -Wl,-brtllib.
This allows PostgreSQL modules and their dependencies to have undefinedsymbols, resolved at runtime. Perl module shared objects rely on thatin Perl 5.8.0 and later. This fixes the crash when PL/PerlU loads suchmodules, as the hstore_plperl test suite does. Module authors can linkusing -Wl,-G to permit undefined symbols; by default, linking will failas it has. Back-patch to 9.0 (all supported versions).
1 parentfaf686b commitdc5075f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ endif # win32
9898
ifeq ($(PORTNAME), aix)
9999

100100
postgres:$(POSTGRES_IMP)
101-
$(CC)$(CFLAGS)$(LDFLAGS)$(LDFLAGS_EX)$(call expand_subsys,$(OBJS)) -Wl,-bE:$(top_builddir)/src/backend/$(POSTGRES_IMP)$(LIBS) -o$@
101+
$(CC)$(CFLAGS)$(LDFLAGS)$(LDFLAGS_EX)$(call expand_subsys,$(OBJS)) -Wl,-bE:$(top_builddir)/src/backend/$(POSTGRES_IMP)$(LIBS) -Wl,-brtllib -o$@
102102

103103
$(POSTGRES_IMP):$(OBJS)
104104
$(LD)$(LDREL)$(LDOUT) SUBSYS.o$(call expand_subsys,$^)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp