Thank you. Closing this ticket. On Wed May 11 15:15:49 2016, yoi_no_myou...@yahoo.co.jp wrote: > Hi, > > Checked with openssl-1.1.0-pre5, > and confirmed it is fixed. > > Thanks, > > --- Kiyoshi <yoi_no_myou...@yahoo.co.jp> > > > > > ----- Original Message ----- > > From: Richard Levitte via RT <r...@openssl.org> > > To: yoi_no_myou...@yahoo.co.jp > > Cc: openssl-dev@openssl.org > > Date: 2016/5/11, Wed 06:01 > > Subject: [openssl.org #4453] openssl-1.1.0-pre4: make fails with > > 'wrong ELF class: ELFCLASS64' on solaris64-x86_64-cc > > > > Hi, > > > > would you mind checking again with the latest beta or a fresh master > > checkout? > > It looks to me like this issue is fixed, but I want to make sure. > > > > Cheers, > > Richard > > > > On Sat Mar 19 10:56:00 2016, yoi_no_myou...@yahoo.co.jp wrote: > >> Hello, > >> > >> Tested with patch for #4444, and removing gcc from path. > >> > >> % ./config > >> Operating system: i86pc-whatever-solaris2 > >> Configuring for solaris64-x86_64-cc > >> Configuring OpenSSL version 1.1.0-pre4 (0x0x10100004L) > >> no-crypto-mdebug [default] OPENSSL_NO_CRYPTO_MDEBUG (skip dir) > >> no-crypto-mdebug-backtrace [forced] > >> OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE (skip dir) > >> no-dynamic-engine [forced] > >> no-ec_nistp_64_gcc_128 [default] OPENSSL_NO_EC_NISTP_64_GCC_128 > >> (skip dir) > >> no-egd [default] OPENSSL_NO_EGD (skip dir) > >> no-heartbeats [default] OPENSSL_NO_HEARTBEATS (skip dir) > >> no-md2 [default] OPENSSL_NO_MD2 (skip dir) > >> no-rc5 [default] OPENSSL_NO_RC5 (skip dir) > >> no-sctp [default] OPENSSL_NO_SCTP (skip dir) > >> no-shared [default] > >> no-ssl-trace [default] OPENSSL_NO_SSL_TRACE (skip dir) > >> no-ssl3 [default] OPENSSL_NO_SSL3 (skip dir) > >> no-ssl3-method [default] OPENSSL_NO_SSL3_METHOD (skip dir) > >> no-unit-test [default] OPENSSL_NO_UNIT_TEST (skip dir) > >> no-weak-ssl-ciphers [default] OPENSSL_NO_WEAK_SSL_CIPHERS (skip > >> dir) > >> no-zlib [default] > >> no-zlib-dynamic [default] > >> Configuring for solaris64-x86_64-cc > >> IsMK1MF =no > >> CC =cc > >> CFLAG =-xarch=generic64 -xstrconst -Xa -DL_ENDIAN -xO5 > >> -xdepend -xbuiltin -D_REENTRANT -DFILIO_H > >> SHARED_CFLAG =-KPIC > >> DEFINES =DSO_DLFCN HAVE_DLFCN_H OPENSSL_THREADS > >> OPENSSL_NO_DYNAMIC_ENGINE OPENSSL_PIC OPENSSL_IA32_SSE2 > >> OPENSSL_BN_ASM_MONT OPENSSL_BN_ASM_MONT5 OPENSSL_BN_ASM_GF2m > >> SHA1_ASM > >> SHA256_ASM SHA512_ASM MD5_ASM AES_ASM VPAES_ASM BSAES_ASM GHASH_ASM > >> ECP_NISTZ256_ASM POLY1305_ASM > >> LFLAG =-mt > >> PLIB_LFLAG = > >> EX_LIBS =-lresolv -lsocket -lnsl -ldl -lpthread > >> APPS_OBJ = > >> CPUID_OBJ =x86_64cpuid.o > >> UPLINK_OBJ = > >> BN_ASM =asm/x86_64-gcc.o x86_64-mont.o x86_64-mont5.o x86_64- > >> gf2m.o rsaz_exp.o rsaz-x86_64.o rsaz-avx2.o > >> EC_ASM =ecp_nistz256.o ecp_nistz256-x86_64.o > >> DES_ENC =des_enc.o fcrypt_b.o > >> AES_ENC =aes-x86_64.o vpaes-x86_64.o bsaes-x86_64.o aesni- > >> x86_64.o aesni-sha1-x86_64.o aesni-sha256-x86_64.o aesni-mb-x86_64.o > >> BF_ENC =bf_enc.o > >> CAST_ENC =c_enc.o > >> RC4_ENC =rc4-x86_64.o rc4-md5-x86_64.o > >> RC5_ENC =rc5_enc.o > >> MD5_OBJ_ASM =md5-x86_64.o > >> SHA1_OBJ_ASM =sha1-x86_64.o sha256-x86_64.o sha512-x86_64.o sha1-mb- > >> x86_64.o sha256-mb-x86_64.o > >> RMD160_OBJ_ASM= > >> CMLL_ENC =cmll-x86_64.o cmll_misc.o > >> MODES_OBJ =ghash-x86_64.o aesni-gcm-x86_64.o > >> PADLOCK_OBJ =e_padlock-x86_64.o > >> CHACHA_ENC =chacha-x86_64.o > >> POLY1305_OBJ =poly1305-x86_64.o > >> BLAKE2_OBJ = > >> PROCESSOR = > >> RANLIB =/usr/ccs/bin/ranlib > >> ARFLAGS = > >> PERL =/opt/perl5/bin/perl > >> > >> SIXTY_FOUR_BIT_LONG mode > >> > >> Configured for solaris64-x86_64-cc. > >> > >> > >> > >> % make > >> : > >> make[1]: Entering directory '/tmp/openssl-1.1.0-pre4' > >> ( :; LIBDEPS="${LIBDEPS:--L. -lssl -L. -lcrypto -lresolv -lsocket > >> -lnsl -ldl -lpthread }"; LDCMD="${LDCMD:-cc}"; > > LDFLAGS="${LDFLAGS:-- > >> DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_THREADS > >> -DOPENSSL_NO_DYNAMIC_ENGINE -DOPENSSL_PIC -DOPENSSL_IA32_SSE2 > >> -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m > >> -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM > >> -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM > >> -DOPENSSLDIR="\"/usr/local/ssl\"" > >> -DENGINESDIR="\"/usr/local/lib/engines\"" > > -xarch=generic64 -xstrconst > >> -Xa -DL_ENDIAN -xO5 -xdepend -xbuiltin -D_REENTRANT -DFILIO_H -mt}"; > >> LIBPATH=`for x in $LIBDEPS; do echo $x; done | sed -e 's/^ *-L//;t' > > -e > >> d | uniq`; LIBPATH=`echo $LIBPATH | sed -e 's/ /:/g'`; echo > >> LD_LIBRARY_PATH=$LIBPATH:$LD_LIBRARY_PATH ${LDCMD} ${LDFLAGS} -o > >> ${APPNAME:=apps/openssl} apps/app_rand.o apps/apps.o apps/asn1pars.o > >> apps/ca.o apps/ciphers.o apps/cms.o apps/crl.o apps/crl2p7.o > >> apps/dgst.o apps/dhparam.o > >> apps/dsa.o apps/dsaparam.o apps/ec.o apps/ecparam.o apps/enc.o > >> apps/engine.o apps/errstr.o apps/gendsa.o apps/genpkey.o > >> apps/genrsa.o > >> apps/nseq.o apps/ocsp.o apps/openssl.o apps/opt.o apps/passwd.o > >> apps/pkcs12.o apps/pkcs7.o apps/pkcs8.o apps/pkey.o apps/pkeyparam.o > >> apps/pkeyutl.o apps/prime.o apps/rand.o apps/rehash.o apps/req.o > >> apps/rsa.o apps/rsautl.o apps/s_cb.o apps/s_client.o apps/s_server.o > >> apps/s_socket.o apps/s_time.o apps/sess_id.o apps/smime.o > >> apps/speed.o > >> apps/spkac.o apps/srp.o apps/ts.o apps/verify.o apps/version.o > >> apps/x509.o ${LIBDEPS}; LD_LIBRARY_PATH=$LIBPATH:$LD_LIBRARY_PATH > >> ${LDCMD} ${LDFLAGS} -o ${APPNAME:=apps/openssl} apps/app_rand.o > >> apps/apps.o apps/asn1pars.o apps/ca.o apps/ciphers.o apps/cms.o > >> apps/crl.o apps/crl2p7.o apps/dgst.o apps/dhparam.o apps/dsa.o > >> apps/dsaparam.o apps/ec.o apps/ecparam.o apps/enc.o apps/engine.o > >> apps/errstr.o apps/gendsa.o apps/genpkey.o apps/genrsa.o apps/nseq.o > >> apps/ocsp.o apps/openssl.o apps/opt.o > >> apps/passwd.o apps/pkcs12.o apps/pkcs7.o apps/pkcs8.o apps/pkey.o > >> apps/pkeyparam.o apps/pkeyutl.o apps/prime.o apps/rand.o > >> apps/rehash.o > >> apps/req.o apps/rsa.o apps/rsautl.o apps/s_cb.o apps/s_client.o > >> apps/s_server.o apps/s_socket.o apps/s_time.o apps/sess_id.o > >> apps/smime.o apps/speed.o apps/spkac.o apps/srp.o apps/ts.o > >> apps/verify.o apps/version.o apps/x509.o ${LIBDEPS} ) > >> > > LD_LIBRARY_PATH=.:/opt/openssl/lib:/opt/local/lib:/usr/local/lib:/opt/local/locale/lib:/opt/SUNWspro/lib:/usr/jdk/latest/lib:/opt/netpbm/lib:/usr/sfw/lib:/usr/lib:/usr/lib/iconv:/usr/lib/locale/ja:/opt/sfw/lib:/opt/sfw/netpbm/link:/usr/openwin/lib/locale/ja:/usr/openwin/lib/locale/common:/usr/openwin/lib:/usr/java/lib:/opt/coreutils/libexec/coreutils > >> cc -mt -o apps/openssl apps/app_rand.o apps/apps.o apps/asn1pars.o > >> apps/ca.o apps/ciphers.o apps/cms.o apps/crl.o apps/crl2p7.o > >> apps/dgst.o apps/dhparam.o apps/dsa.o apps/dsaparam.o apps/ec.o > >> apps/ecparam.o apps/enc.o apps/engine.o apps/errstr.o apps/gendsa.o > >> apps/genpkey.o apps/genrsa.o apps/nseq.o apps/ocsp.o apps/openssl.o > >> apps/opt.o apps/passwd.o apps/pkcs12.o apps/pkcs7.o apps/pkcs8.o > >> apps/pkey.o apps/pkeyparam.o apps/pkeyutl.o apps/prime.o apps/rand.o > >> apps/rehash.o apps/req.o apps/rsa.o apps/rsautl.o apps/s_cb.o > >> apps/s_client.o apps/s_server.o apps/s_socket.o apps/s_time.o > >> apps/sess_id.o apps/smime.o > >> apps/speed.o apps/spkac.o apps/srp.o apps/ts.o apps/verify.o > >> apps/version.o apps/x509.o -L. -lssl -L. -lcrypto -lresolv -lsocket > >> -lnsl -ldl -lpthread > >> ld: fatal: file apps/app_rand.o: wrong ELF class: ELFCLASS64 > >> ld: fatal: file processing errors. No output written to apps/openssl > >> Makefile.shared:186: recipe for target 'link_app.' failed > >> make[1]: *** [link_app.] Error 2 > >> make[1]: Leaving directory '/tmp/openssl-1.1.0-pre4' > >> Makefile:8687: recipe for target 'apps/openssl' failed > >> make: *** [apps/openssl] Error 2 > >> > >> > >> Patch for this: > >> diff ../openssl-1.1.0-pre4.orig/Configurations/10-main.conf > >> Configurations/10-main.conf > >> 196c196 > >> < lflags => add(threads("-mt")), > >> --- > >> > lflags => add(threads("-mt -m64")), > >> > >> > >> It seems to be better to change '-xarch=generic64' to > > '-m64' in line > >> 196 & 201 of the same file, too. > >> > >> > >> Best Regards, > >> > >> --- Kiyoshi <yoi_no_myou...@yahoo.co.jp> > > > > > > -- > > Richard Levitte > > levi...@openssl.org > > > > -- > > Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4453 > > Please log in as guest with password guest if prompted > >
-- Richard Levitte levi...@openssl.org -- Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4453 Please log in as guest with password guest if prompted -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev