Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[openssl-dev] [openssl.org #4326] Failed to configure for Cygwin-x64

115 views
Skip to first unread message

noloader@gmail.com via RT

unread,
Feb 20, 2016, 7:35:44 PM2/20/16
to
After configuring on Windows 8.1/Core i5 4th gen machine, make'ing
depend produces the following errors:

$ make depend
making depend in crypto...
make[1]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto'
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
Makefile:136: recipe for target 'local_depend' failed
make[1]: *** [local_depend] Error 1
make[1]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto'
Makefile:471: recipe for target 'depend' failed
make: *** [depend] Error 1

======================

$ ./config shared no-ssl2 no-ssl3 --openssldir="$HOME/ssl"
Operating system: x86_64-whatever-cygwin
Configuring for Cygwin
Configuring for Cygwin
no-ec_nistp_64_gcc_128 [default] OPENSSL_NO_EC_NISTP_64_GCC_128 (skip dir)
no-gmp [default] OPENSSL_NO_GMP (skip dir)
no-jpake [experimental] OPENSSL_NO_JPAKE (skip dir)
no-krb5 [krb5-flavor not specified] OPENSSL_NO_KRB5
no-libunbound [experimental] OPENSSL_NO_LIBUNBOUND (skip dir)
no-md2 [default] OPENSSL_NO_MD2 (skip dir)
no-rc5 [default] OPENSSL_NO_RC5 (skip dir)
no-rfc3779 [default] OPENSSL_NO_RFC3779 (skip dir)
no-sctp [default] OPENSSL_NO_SCTP (skip dir)
no-ssl-trace [default] OPENSSL_NO_SSL_TRACE (skip dir)
no-ssl2 [option] OPENSSL_NO_SSL2 (skip dir)
no-ssl3 [option] OPENSSL_NO_SSL3 (skip dir)
no-store [experimental] OPENSSL_NO_STORE (skip dir)
no-unit-test [default] OPENSSL_NO_UNIT_TEST (skip dir)
no-zlib [default]
no-zlib-dynamic [default]
IsMK1MF=0
CC =gcc
CFLAG =-D_WINDLL -DOPENSSL_PIC -DOPENSSL_THREADS -DDSO_DLFCN
-DHAVE_DLFCN_H -DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3
-march=i486 -Wall -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2
-DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM
-DSHA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -DVPAES_ASM
-DWHIRLPOOL_ASM -DGHASH_ASM
EX_LIBS =
CPUID_OBJ =x86cpuid.o
BN_ASM =bn-586.o co-586.o x86-mont.o x86-gf2m.o
EC_ASM =
DES_ENC =des-586.o crypt586.o
AES_ENC =aes-586.o vpaes-x86.o aesni-x86.o
BF_ENC =bf-586.o
CAST_ENC =c_enc.o
RC4_ENC =rc4-586.o
RC5_ENC =rc5-586.o
MD5_OBJ_ASM =md5-586.o
SHA1_OBJ_ASM =sha1-586.o sha256-586.o sha512-586.o
RMD160_OBJ_ASM=rmd-586.o
CMLL_ENC =cmll-x86.o
MODES_OBJ =ghash-x86.o
ENGINES_OBJ =
PROCESSOR =
RANLIB =/usr/bin/ranlib.exe
ARFLAGS =
PERL =/usr/bin/perl.exe
THIRTY_TWO_BIT mode
DES_PTR used
DES_RISC1 used
DES_UNROLL used
BN_LLONG mode
RC4_INDEX mode
RC4_CHUNK is undefined
e_os2.h => include/openssl/e_os2.h
making links in crypto...
make[1]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto'
crypto.h => ../include/openssl/crypto.h
opensslv.h => ../include/openssl/opensslv.h
opensslconf.h => ../include/openssl/opensslconf.h
ebcdic.h => ../include/openssl/ebcdic.h
symhacks.h => ../include/openssl/symhacks.h
ossl_typ.h => ../include/openssl/ossl_typ.h
constant_time_test.c => ../test/constant_time_test.c
making links in crypto/objects...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/objects'
objects.h => ../../include/openssl/objects.h
obj_mac.h => ../../include/openssl/obj_mac.h
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/objects'
making links in crypto/md4...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/md4'
md4.h => ../../include/openssl/md4.h
md4test.c => ../../test/md4test.c
md4.c => ../../apps/md4.c
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/md4'
making links in crypto/md5...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/md5'
md5.h => ../../include/openssl/md5.h
md5test.c => ../../test/md5test.c
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/md5'
making links in crypto/sha...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/sha'
sha.h => ../../include/openssl/sha.h
shatest.c => ../../test/shatest.c
sha1test.c => ../../test/sha1test.c
sha256t.c => ../../test/sha256t.c
sha512t.c => ../../test/sha512t.c
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/sha'
making links in crypto/mdc2...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/mdc2'
mdc2.h => ../../include/openssl/mdc2.h
mdc2test.c => ../../test/mdc2test.c
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/mdc2'
making links in crypto/hmac...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/hmac'
hmac.h => ../../include/openssl/hmac.h
hmactest.c => ../../test/hmactest.c
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/hmac'
making links in crypto/ripemd...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/ripemd'
ripemd.h => ../../include/openssl/ripemd.h
rmdtest.c => ../../test/rmdtest.c
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/ripemd'
making links in crypto/whrlpool...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/whrlpool'
whrlpool.h => ../../include/openssl/whrlpool.h
wp_test.c => ../../test/wp_test.c
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/whrlpool'
making links in crypto/des...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/des'
des.h => ../../include/openssl/des.h
des_old.h => ../../include/openssl/des_old.h
destest.c => ../../test/destest.c
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/des'
making links in crypto/aes...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/aes'
aes.h => ../../include/openssl/aes.h
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/aes'
making links in crypto/rc2...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/rc2'
rc2.h => ../../include/openssl/rc2.h
rc2test.c => ../../test/rc2test.c
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/rc2'
making links in crypto/rc4...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/rc4'
rc4.h => ../../include/openssl/rc4.h
rc4test.c => ../../test/rc4test.c
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/rc4'
making links in crypto/idea...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/idea'
idea.h => ../../include/openssl/idea.h
ideatest.c => ../../test/ideatest.c
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/idea'
making links in crypto/bf...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/bf'
blowfish.h => ../../include/openssl/blowfish.h
bftest.c => ../../test/bftest.c
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/bf'
making links in crypto/cast...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/cast'
cast.h => ../../include/openssl/cast.h
casttest.c => ../../test/casttest.c
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/cast'
making links in crypto/camellia...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/camellia'
camellia.h => ../../include/openssl/camellia.h
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/camellia'
making links in crypto/seed...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/seed'
seed.h => ../../include/openssl/seed.h
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/seed'
making links in crypto/modes...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/modes'
modes.h => ../../include/openssl/modes.h
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/modes'
making links in crypto/bn...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/bn'
bn.h => ../../include/openssl/bn.h
bntest.c => ../../test/bntest.c
exptest.c => ../../test/exptest.c
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/bn'
making links in crypto/ec...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/ec'
ec.h => ../../include/openssl/ec.h
ectest.c => ../../test/ectest.c
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/ec'
making links in crypto/rsa...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/rsa'
rsa.h => ../../include/openssl/rsa.h
rsa_test.c => ../../test/rsa_test.c
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/rsa'
making links in crypto/dsa...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/dsa'
dsa.h => ../../include/openssl/dsa.h
dsatest.c => ../../test/dsatest.c
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/dsa'
making links in crypto/ecdsa...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/ecdsa'
ecdsa.h => ../../include/openssl/ecdsa.h
ecdsatest.c => ../../test/ecdsatest.c
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/ecdsa'
making links in crypto/dh...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/dh'
dh.h => ../../include/openssl/dh.h
dhtest.c => ../../test/dhtest.c
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/dh'
making links in crypto/ecdh...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/ecdh'
ecdh.h => ../../include/openssl/ecdh.h
ecdhtest.c => ../../test/ecdhtest.c
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/ecdh'
making links in crypto/dso...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/dso'
dso.h => ../../include/openssl/dso.h
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/dso'
making links in crypto/engine...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/engine'
engine.h => ../../include/openssl/engine.h
enginetest.c => ../../test/enginetest.c
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/engine'
making links in crypto/buffer...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/buffer'
buffer.h => ../../include/openssl/buffer.h
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/buffer'
making links in crypto/bio...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/bio'
bio.h => ../../include/openssl/bio.h
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/bio'
making links in crypto/stack...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/stack'
stack.h => ../../include/openssl/stack.h
safestack.h => ../../include/openssl/safestack.h
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/stack'
making links in crypto/lhash...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/lhash'
lhash.h => ../../include/openssl/lhash.h
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/lhash'
making links in crypto/rand...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/rand'
rand.h => ../../include/openssl/rand.h
randtest.c => ../../test/randtest.c
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/rand'
making links in crypto/err...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/err'
err.h => ../../include/openssl/err.h
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/err'
making links in crypto/evp...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/evp'
evp.h => ../../include/openssl/evp.h
evp_test.c => ../../test/evp_test.c
evp_extra_test.c => ../../test/evp_extra_test.c
evptests.txt -> ../../test/evptests.txt
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/evp'
making links in crypto/asn1...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/asn1'
asn1.h => ../../include/openssl/asn1.h
asn1_mac.h => ../../include/openssl/asn1_mac.h
asn1t.h => ../../include/openssl/asn1t.h
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/asn1'
making links in crypto/pem...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/pem'
pem.h => ../../include/openssl/pem.h
pem2.h => ../../include/openssl/pem2.h
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/pem'
making links in crypto/x509...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/x509'
x509.h => ../../include/openssl/x509.h
x509_vfy.h => ../../include/openssl/x509_vfy.h
verify_extra_test.c => ../../test/verify_extra_test.c
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/x509'
making links in crypto/x509v3...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/x509v3'
x509v3.h => ../../include/openssl/x509v3.h
v3nametest.c => ../../test/v3nametest.c
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/x509v3'
making links in crypto/conf...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/conf'
conf.h => ../../include/openssl/conf.h
conf_api.h => ../../include/openssl/conf_api.h
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/conf'
making links in crypto/txt_db...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/txt_db'
txt_db.h => ../../include/openssl/txt_db.h
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/txt_db'
making links in crypto/pkcs7...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/pkcs7'
pkcs7.h => ../../include/openssl/pkcs7.h
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/pkcs7'
making links in crypto/pkcs12...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/pkcs12'
pkcs12.h => ../../include/openssl/pkcs12.h
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/pkcs12'
making links in crypto/comp...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/comp'
comp.h => ../../include/openssl/comp.h
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/comp'
making links in crypto/ocsp...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/ocsp'
ocsp.h => ../../include/openssl/ocsp.h
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/ocsp'
making links in crypto/ui...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/ui'
ui.h => ../../include/openssl/ui.h
ui_compat.h => ../../include/openssl/ui_compat.h
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/ui'
making links in crypto/krb5...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/krb5'
krb5_asn.h => ../../include/openssl/krb5_asn.h
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/krb5'
making links in crypto/cms...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/cms'
cms.h => ../../include/openssl/cms.h
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/cms'
making links in crypto/pqueue...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/pqueue'
pqueue.h => ../../include/openssl/pqueue.h
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/pqueue'
making links in crypto/ts...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/ts'
ts.h => ../../include/openssl/ts.h
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/ts'
making links in crypto/srp...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/srp'
srp.h => ../../include/openssl/srp.h
srptest.c => ../../test/srptest.c
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/srp'
making links in crypto/cmac...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/crypto/cmac'
cmac.h => ../../include/openssl/cmac.h
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto/cmac'
make[1]: Leaving directory '/home/Test_User/openssl-1.0.2f/crypto'
making links in ssl...
make[1]: Entering directory '/home/Test_User/openssl-1.0.2f/ssl'
ssl.h => ../include/openssl/ssl.h
ssl2.h => ../include/openssl/ssl2.h
ssl3.h => ../include/openssl/ssl3.h
ssl23.h => ../include/openssl/ssl23.h
tls1.h => ../include/openssl/tls1.h
dtls1.h => ../include/openssl/dtls1.h
kssl.h => ../include/openssl/kssl.h
srtp.h => ../include/openssl/srtp.h
ssltest.c => ../test/ssltest.c
heartbeat_test.c => ../test/heartbeat_test.c
clienthellotest.c => ../test/clienthellotest.c
make[1]: Leaving directory '/home/Test_User/openssl-1.0.2f/ssl'
making links in engines...
make[1]: Entering directory '/home/Test_User/openssl-1.0.2f/engines'
making links in engines/ccgost...
make[2]: Entering directory '/home/Test_User/openssl-1.0.2f/engines/ccgost'
make[2]: Nothing to be done for 'links'.
make[2]: Leaving directory '/home/Test_User/openssl-1.0.2f/engines/ccgost'
make[1]: Leaving directory '/home/Test_User/openssl-1.0.2f/engines'
making links in apps...
make[1]: Entering directory '/home/Test_User/openssl-1.0.2f/apps'
make[1]: Nothing to be done for 'links'.
make[1]: Leaving directory '/home/Test_User/openssl-1.0.2f/apps'
making links in test...
make[1]: Entering directory '/home/Test_User/openssl-1.0.2f/test'
make[1]: Nothing to be done for 'links'.
make[1]: Leaving directory '/home/Test_User/openssl-1.0.2f/test'
making links in tools...
make[1]: Entering directory '/home/Test_User/openssl-1.0.2f/tools'
make[1]: Nothing to be done for 'links'.
make[1]: Leaving directory '/home/Test_User/openssl-1.0.2f/tools'
generating dummy tests (if needed)...
make[1]: Entering directory '/home/Test_User/openssl-1.0.2f/test'
make[1]: Nothing to be done for 'generate'.
make[1]: Leaving directory '/home/Test_User/openssl-1.0.2f/test'
Configured for Cygwin.
*** Because of configuration changes, you MUST do the following before
*** building:
make depend


--
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4326
Please log in as guest with password guest if prompted

--
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

Richard Levitte via RT

unread,
Feb 21, 2016, 1:27:59 AM2/21/16
to
I believe that the auto-detecting script, ./config, is lacking detection of
architecture for Cygwin. Does one preferably recognise a x86_64 Cygwin from
`uname -m` or is there something in `uname -s` that should be used as an
indicator?

Cheers,
Richard

Vid Sun, 21 Feb 2016 kl. 04.33.17, skrev nolo...@gmail.com:
> Also see Issue 3110
> (http://rt.openssl.org/Ticket/Display.html?id=3110) and "Adding
> support for x86_64 Cygwin"
> (http://openssl.6102.n7.nabble.com/openssl-org-3110-Adding-support-
> for-x86-64-Cygwin-td46131.html).
>
> The 3110 issue was closed in May 2015, but it looks like something is
> a bit amiss.
> > ...


--
Richard Levitte
lev...@openssl.org

noloader@gmail.com via RT

unread,
Feb 21, 2016, 1:51:02 AM2/21/16
to
On Sun, Feb 21, 2016 at 1:27 AM, Richard Levitte via RT <r...@openssl.org> wrote:
> I believe that the auto-detecting script, ./config, is lacking detection of
> architecture for Cygwin. Does one preferably recognise a x86_64 Cygwin from
> `uname -m` or is there something in `uname -s` that should be used as an
> indicator?

Yes, that seems to be the issue at hand for OpenSSL 1.0.2. Using the
following works:

$ export KERNEL_BITS=64
$ ./Configure Cygwin-x86_64 ...

KERNEL_BITS=64 may not be needed. Its old habit for OS X, where config
wants to select 32-bit builds for modern 64-bit machines.

Uname (for x86_64 installation):

$ uname -m
x86_64

$ uname -a
CYGWIN_NT-6.3 asus-windows8 2.4.1(0.293/5/3)
2016-01-24 11:26 x86_64 Cygwin

$ uname -s
CYGWIN_NT-6.3

You can also go to the preprocessor, if interested (for x86_64 installation):

$ cpp -dM - </dev/null | egrep -i 'cygwin|x86|amd64|ilp'
#define __x86_64 1
#define __amd64 1
#define __CYGWIN__ 1
#define __x86_64__ 1
#define __amd64__ 1

=====

Here are some measurements for Cygwin i686 installed on a 64-bit machine:

$ uname -a
CYGWIN_NT-6.3-WOW asus-windows8 2.4.1(0.293/5/3)
2016-01-24 11:24 i686 Cygwin

$ uname -m
i686

$ uname -s
CYGWIN_NT-6.3-WOW

$ cpp -dM - </dev/null | egrep -i 'cygwin|x86|amd64|ilp'
#define _X86_ 1
#define __CYGWIN__ 1
#define __CYGWIN32__ 1

Jeffrey Walton

unread,
Feb 21, 2016, 2:32:29 AM2/21/16
to

noloader@gmail.com via RT

unread,
Feb 21, 2016, 2:32:51 AM2/21/16
to
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4326
Please log in as guest with password guest if prompted

Richard Levitte via RT

unread,
Feb 21, 2016, 2:50:39 AM2/21/16
to
Would you try the attached patch, please?

--
Richard Levitte
lev...@openssl.org
config.diff

Jeffrey Walton

unread,
Feb 21, 2016, 3:22:28 AM2/21/16
to
On Sun, Feb 21, 2016 at 2:50 AM, Richard Levitte via RT <r...@openssl.org> wrote:
> Would you try the attached patch, please?
>

Looks good for both 1.0.2 and Master.

Its also nice to see CHACHA_ENC and POLY1305_OBJ in the list below.

=====

openssl-git $ ./config
Operating system: x86_64-pc-cygwin
Configuring for Cygwin-x86_64
Configuring OpenSSL version 1.1.0-pre4-dev (0x0x10100004L)
no-crypto-mdebug [default] OPENSSL_NO_CRYPTO_MDEBUG (skip dir)
no-crypto-mdebug-backtrace [forced]
OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE (skip dir)
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-static-engine [default]
no-unit-test [default] OPENSSL_NO_UNIT_TEST (skip dir)
no-zlib [default]
no-zlib-dynamic [forced]
Configuring for Cygwin-x86_64
IsMK1MF =no
CC =gcc
CFLAG = -DTERMIOS -DL_ENDIAN -Wall -O3
DEFINES =DSO_DLFCN HAVE_DLFCN_H OPENSSL_THREADS
OPENSSL_NO_STATIC_ENGINE 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 =
PLIB_LFLAG =
EX_LIBS =
CPUID_OBJ =x86_64cpuid.o
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
PROCESSOR =
RANLIB =/usr/bin/ranlib.exe
ARFLAGS =
PERL =/usr/bin/perl.exe
SIXTY_FOUR_BIT_LONG mode
Configured for Cygwin-x86_64.

noloader@gmail.com via RT

unread,
Feb 21, 2016, 3:22:45 AM2/21/16
to
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4326
Please log in as guest with password guest if prompted

Richard Levitte via RT

unread,
Feb 22, 2016, 5:01:43 AM2/22/16
to
Actually, master already had a patch, which is even better. I'll apply one
reminding of that.
Richard Levitte
lev...@openssl.org

Richard Levitte via RT

unread,
Feb 22, 2016, 9:48:23 AM2/22/16
to
Issue fixed in commit e80381e1a3309f5d4a783bcaa508a90187a48882

Richard Levitte via RT

unread,
Feb 22, 2016, 9:49:14 AM2/22/16
to
Sorry, wrong commit cited here, the correct one is
5c57fbb8ca991e8db7ce23174613898a27ca3fcb

Lee, Ju (Converged Systems)

unread,
Feb 22, 2016, 10:57:10 AM2/22/16
to
It failed to 'make test' at d784bcffa3dcd7ac4a0c77bfac4e686dcb771bd9 this morning.

Test Summary Report
-------------------
../../openssl/test/recipes/70-test_sslcertstatus.t (Wstat: 28416 Tests: 0 Failed: 0)
Non-zero exit status: 111
Parse errors: Bad plan. You planned 1 tests but ran 0.
Files=68, Tests=386, 23 wallclock secs ( 0.41 usr 0.07 sys + 14.88 cusr 0.66 csys = 16.02 CPU)
Result: FAIL
Failed 1/68 test programs. 0/386 subtests failed.
Makefile:118: recipe for target 'test' failed
make: *** [test] Error 255
user@washinro1:~/_openssl-build_linux-x86_64$

BTW, 'make test' passed like below. Somehow the make rule in test fails.

user@washinro1:~/openssl$ cat testlog
OpenSSL self-test report:

OpenSSL version: 1.1.0-pre4-dev
Last change: Configuration change; it's now possible to build dynami...
Options: -Wa,--noexecstack no-crypto-mdebug no-crypto-mdebug-backtrace no-ec_nistp_64_gcc_128 no-egd no-heartbeats no-md2 no-rc5 no-sctp no-shared no-ssl-trace no-static-engine no-unit-test no-zlib no-zlib-dynamic
OS (uname): Linux washinro1 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u3 (2016-01-17) x86_64 GNU/Linux
OS (config): x86_64-whatever-linux2
Target (default): linux-x86_64
Target: linux-x86_64
Compiler: Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.2-10' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --with-arch-32=i586 --with-abi=m64
--with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.9.2 (Debian 4.9.2-10)

Test passed.
user@washinro1:~/openssl$

Ju

Lee, Ju via RT

unread,
Feb 22, 2016, 10:57:35 AM2/22/16
to

Lee, Ju (Converged Systems)

unread,
Feb 22, 2016, 11:30:35 AM2/22/16
to
9e04edf2f309e7edc3f4c9a09d444b2fd23a1e46 fixed

Lee, Ju via RT

unread,
Feb 22, 2016, 11:30:55 AM2/22/16
to

Corinna Vinschen

unread,
Feb 22, 2016, 12:34:30 PM2/22/16
to
On Feb 21 06:27, Richard Levitte via RT wrote:
> I believe that the auto-detecting script, ./config, is lacking detection of
> architecture for Cygwin. Does one preferably recognise a x86_64 Cygwin from
> `uname -m` or is there something in `uname -s` that should be used as an
> indicator?

Uh oh, is there a chance that the configury for 1.0.2 is NOT changed
anymore? We have a set of local patches in the Cygwin distro which
works around the missing pieces in 1.0.2 in a certain way, and changing
the 1.0.2 branch now would break the build scripts for the Cygwin distro.

I would very much prefer if people interested in OpenSSL 1.0.2 for Cygwin
would use the openssl-1.0.2 source archive, which cotains all patches
required for Cygwin, as well as the cygport build script to build openssl
exactly the same way as in the Cygwin distro.

Please let's not break that and stick to the master branch for the
build system changes.


Thanks,
Corinna

--
Corinna Vinschen
Cygwin Maintainer
Red Hat
signature.asc

Richard Levitte

unread,
Feb 22, 2016, 12:43:58 PM2/22/16
to
In message <20160222173...@calimero.vinschen.de> on Mon, 22 Feb 2016 18:34:04 +0100, Corinna Vinschen <vins...@redhat.com> said:

vinschen> On Feb 21 06:27, Richard Levitte via RT wrote:
vinschen> > I believe that the auto-detecting script, ./config, is lacking detection of
vinschen> > architecture for Cygwin. Does one preferably recognise a x86_64 Cygwin from
vinschen> > `uname -m` or is there something in `uname -s` that should be used as an
vinschen> > indicator?
vinschen>
vinschen> Uh oh, is there a chance that the configury for 1.0.2 is NOT changed
vinschen> anymore? We have a set of local patches in the Cygwin distro which
vinschen> works around the missing pieces in 1.0.2 in a certain way, and changing
vinschen> the 1.0.2 branch now would break the build scripts for the Cygwin distro.

A patch that fixes ./config was merged to the 1.0.2 branch earlier
today. Commit 5c57fbb8ca991e8db7ce23174613898a27ca3fcb. It's a
backport of the corresponding patch in master. It's a very small
change, I'd be surprised if you can't edit that particular one from
your scripts.

1.0.2 is on long term support, see
http://openssl.org/policies/releasestrat.html. That means that
reasonable fixes might very well go in. Sorry if that becomes a
bother.

--
Richard Levitte lev...@openssl.org
OpenSSL Project http://www.openssl.org/~levitte/

Corinna Vinschen

unread,
Feb 22, 2016, 1:00:44 PM2/22/16
to
On Feb 22 18:43, Richard Levitte wrote:
> In message <20160222173...@calimero.vinschen.de> on Mon, 22 Feb 2016 18:34:04 +0100, Corinna Vinschen <vins...@redhat.com> said:
>
> vinschen> On Feb 21 06:27, Richard Levitte via RT wrote:
> vinschen> > I believe that the auto-detecting script, ./config, is lacking detection of
> vinschen> > architecture for Cygwin. Does one preferably recognise a x86_64 Cygwin from
> vinschen> > `uname -m` or is there something in `uname -s` that should be used as an
> vinschen> > indicator?
> vinschen>
> vinschen> Uh oh, is there a chance that the configury for 1.0.2 is NOT changed
> vinschen> anymore? We have a set of local patches in the Cygwin distro which
> vinschen> works around the missing pieces in 1.0.2 in a certain way, and changing
> vinschen> the 1.0.2 branch now would break the build scripts for the Cygwin distro.
>
> A patch that fixes ./config was merged to the 1.0.2 branch earlier
> today. Commit 5c57fbb8ca991e8db7ce23174613898a27ca3fcb. It's a
> backport of the corresponding patch in master. It's a very small
> change, I'd be surprised if you can't edit that particular one from
> your scripts.

This one's no problem since the build script runs ./Configure directly.

> 1.0.2 is on long term support, see
> http://openssl.org/policies/releasestrat.html. That means that
> reasonable fixes might very well go in. Sorry if that becomes a
> bother.

It's not a bother per se, only changes in the build system are
potentially disruptive, that's why I really dread them for the branch.

OTOH, is it much of a problem to apply the patches used for the Cygwin
distro into the 1.0.2 branch so we can get rid of them entirely? That
would be extremly cool. I attached them for your review.
1.0.2-debuginfo.patch
openssl-1.0.2a-enginesdir.patch
signature.asc

Richard Levitte

unread,
Feb 22, 2016, 1:02:18 PM2/22/16
to
In message <20160222180...@calimero.vinschen.de> on Mon, 22 Feb 2016 19:00:08 +0100, Corinna Vinschen <vins...@redhat.com> said:

vinschen> OTOH, is it much of a problem to apply the patches used for the Cygwin
vinschen> distro into the 1.0.2 branch so we can get rid of them entirely? That
vinschen> would be extremly cool. I attached them for your review.

I can at least look at them and make a judgement.

Matt Caswell via RT

unread,
May 10, 2016, 9:40:59 AM5/10/16
to
This seems to have been fixed.

Closing.

Matt

--
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4326
Please log in as guest with password guest if prompted

0 new messages