leezu commented on a change in pull request #19751:
URL: https://github.com/apache/incubator-mxnet/pull/19751#discussion_r556906700
##########
File path: make/staticbuild/linux_cpu.mk
##########
@@ -37,7 +37,7 @@ DEBUG = 0
USE_SIGNAL_HANDLER = 1
# the additional link flags you want to add
-ADD_LDFLAGS += -L$(DEPS_PATH)/lib -lpng -ltiff -ljpeg -lz -lgfortran -ldl
-Wl,--version-script=$(CURDIR)/make/config/libmxnet.ver,-rpath,'$${ORIGIN}',--gc-sections
Review comment:
My point is that if `libmxnet.ver` were applied correctly, mismatch on
ssl versions should be impossible as the symbols will be statically bound
during linking. Are you sure that your current `libmxnet.so` used the
`-Wl,--version-script=$(CURDIR)/make/config/libmxnet.ver`? If so, I'm not sure
if this PR will resolve the problem. The `-Wl,--exclude-libs,ALL` is more
robust than the version script, but in the end they serve the same purpose.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]