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

Commit3fb0687

Browse files
committed
solaris: Use versioning scripts instead of -Bsymbolic
-Bsymbolic causes a lot of "ld: warning: symbol referencing errors"warnings. It's quite easy to add the symbol versioning script, we just need aslightly different parameter name.Reviewed-by: Peter Eisentraut <peter.eisentraut@enterprisedb.com>Discussion:https://postgr.es/m/20220823083436.whtntk3bn3qpnvmb@awork3.anarazel.deDiscussion:https://postgr.es/m/7dae5979-c6c0-cec5-7a36-76a85aa8053d@enterprisedb.com
1 parent82ac34d commit3fb0687

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

‎src/Makefile.shlib

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,10 +188,15 @@ ifeq ($(PORTNAME), linux)
188188
endif
189189

190190
ifeq ($(PORTNAME), solaris)
191-
LINK.shared= $(COMPILER) -shared -Wl,-Bsymbolic
191+
LINK.shared= $(COMPILER) -shared
192192
ifdef soname
193193
LINK.shared+= -Wl,-soname,$(soname)
194194
endif
195+
BUILD.exports= ( echo '{ global:'; $(AWK) '/^[^\#]/ {printf "%s;\n",$$1}' $<; echo ' local: *; };' ) >$@
196+
exports_file= $(SHLIB_EXPORTS:%.txt=%.list)
197+
ifneq (,$(exports_file))
198+
LINK.shared+= -Wl,-M$(exports_file)
199+
endif
195200
endif
196201

197202
ifeq ($(PORTNAME), cygwin)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp