[openssl-dev] [openssl.org #4324] openssl-1.1.0-pre3 with solaris-x86-cc & solaris64-x86_64-cc make fails
Kiyoshi KANAZAWA via RT
rt at openssl.org
Thu Feb 25 14:36:30 UTC 2016
With the following patch,
% ./Configure --unified solaris-x86-cc
% make
% make test
passed.
% ./Configure --unifiedsolaris64-x86_64-cc; make; make test
also passed.
This patch was written comparing to openssl-1.0.2f.
It has side effect for other configurations.
Please add some conditions.
diff -cr ../openssl-1.1.0-pre3.orig/Makefile.shared ./Makefile.shared
*** ../openssl-1.1.0-pre3.orig/Makefile.shared 2016-02-16 03:08:07.000000000 +0900
--- ./Makefile.shared 2016-02-25 22:57:23.347187336 +0900
***************
*** 398,409 ****
($(CC) -v 2>&1 | grep gcc) > /dev/null && MINUSZ='-Wl,-z,'; \
SHLIB=lib$(LIBNAME).so; \
SHLIB_SUFFIX=;\
! if [ $(LIBNAME) != "crypto" -a $(LIBNAME) != "ssl" ]; then \
ALLSYMSFLAGS="$${MINUSZ}allextract"; \
! else \
! $(PERL) $(SRCDIR)/util/mkdef.pl $(LIBNAME) linux >$(LIBNAME).map; \
! ALLSYMSFLAGS="$${MINUSZ}allextract,-M,$(LIBNAME).map"; \
! fi; \
NOALLSYMSFLAGS="$${MINUSZ}defaultextract"; \
SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -h $$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX -Wl,-Bsymbolic"; \
fi; \
--- 398,409 ----
($(CC) -v 2>&1 | grep gcc) > /dev/null && MINUSZ='-Wl,-z,'; \
SHLIB=lib$(LIBNAME).so; \
SHLIB_SUFFIX=;\
! # if [ $(LIBNAME) != "crypto" -a $(LIBNAME) != "ssl" ]; then \
ALLSYMSFLAGS="$${MINUSZ}allextract"; \
! # else \
! # $(PERL) $(SRCDIR)/util/mkdef.pl $(LIBNAME) linux >$(LIBNAME).map; \
! # ALLSYMSFLAGS="$${MINUSZ}allextract,-M,$(LIBNAME).map"; \
! # fi; \
NOALLSYMSFLAGS="$${MINUSZ}defaultextract"; \
SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -h $$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX -Wl,-Bsymbolic"; \
fi; \
--
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4324
Please log in as guest with password guest if prompted
More information about the openssl-dev
mailing list