LibreSSL2.3.3 can't build on solaris 10 SPARC (on Solaris 10 x86_64
built successfully) with this linker warning:
Making all in apps
gmake[1]: Entering directory '/patch/tmp/libressl-2.3.3/apps'
Making all in openssl
gmake[2]: Entering directory '/patch/tmp/libressl-2.3.3/apps/openssl'
CC apps.o
CC asn1pars.o
CC ca.o
CC ciphers.o
CC cms.o
CC crl.o
CC crl2p7.o
CC dgst.o
CC dh.o
CC dhparam.o
CC dsa.o
CC dsaparam.o
CC ec.o
CC ecparam.o
CC enc.o
CC errstr.o
CC gendh.o
CC gendsa.o
CC genpkey.o
CC genrsa.o
CC nseq.o
CC ocsp.o
CC openssl.o
CC passwd.o
CC pkcs12.o
CC pkcs7.o
CC pkcs8.o
CC pkey.o
CC pkeyparam.o
CC pkeyutl.o
CC prime.o
CC rand.o
CC req.o
CC rsa.o
CC rsautl.o
CC s_cb.o
CC s_client.o
CC s_server.o
CC s_socket.o
CC s_time.o
CC sess_id.o
CC smime.o
CC speed.o
CC spkac.o
CC ts.o
CC verify.o
CC version.o
CC x509.o
CC certhash.o
CC apps_posix.o
CC compat/strtonum.o
CCLD openssl
ld: warning: file ../../crypto/.libs/libcrypto.so: linked to
/patch/tmp/libressl-2.3.3/crypto/.libs/libcrypto.so: attempted multiple
inclusion of file
Undefined first referenced
symbol in file
dl_iterate_phdr /patch/tmp/libressl-2.3.3/crypto/.libs/libcrypto.so
ld: fatal: symbol referencing errors. No output written to .libs/openssl
Makefile:490: recipe for target 'openssl' failed
gmake[2]: *** [openssl] Error 1
gmake[2]: Leaving directory '/patch/tmp/libressl-2.3.3/apps/openssl'
Makefile:362: recipe for target 'all-recursive' failed
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory '/patch/tmp/libressl-2.3.3/apps'
Makefile:451: recipe for target 'all-recursive' failed
gmake: *** [all-recursive] Error 1
Config options is:
./configure 'CFLAGS=-O3 -m64 -mtune=native' 'CXXFLAGS=-O3 -m64
-mtune-native' 'LDFLAGS=-ldl'
using GCC 5 and accomplish toolchain.
Please advice any workaround.
WBR, Yuri