[openssl-users] Errors building 1.0.2e on Mac OS X 10.7.5

James Brown jlbrown at bordo.com.au
Wed Dec 16 00:31:49 UTC 2015


I know the OS is a bit old, but thought I’d better upgrade OpenSSL on it in now.

To configure I used:

./Configure --prefix=/usr/local shared darwin64-x86_64-cc

Running make gives lots of errors like this:

cc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include  -fPIC -fno-common -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -arch x86_64 -O3 -DL_ENDIAN -Wall -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 -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -c  -o md5-x86_64.o md5-x86_64.s
ar  r ../../libcrypto.a md5_dgst.o md5_one.o md5-x86_64.o
/usr/bin/ranlib: file: ../../libcrypto.a(ebcdic.o) has no symbols
/usr/bin/ranlib: file: ../../libcrypto.a(fips_ers.o) has no symbols
/usr/bin/ranlib ../../libcrypto.a || echo Never mind.
/usr/bin/ranlib: file: ../../libcrypto.a(ebcdic.o) has no symbols
/usr/bin/ranlib: file: ../../libcrypto.a(fips_ers.o) has no symbols
making all in crypto/sha…

before ending:

x86_64-mont.s:957:2: error: invalid instruction mnemonic 'adoxq'
 adoxq %r15,%r10
 ^~~~~
x86_64-mont.s:959:2: error: invalid instruction mnemonic 'adcxq'
 adcxq %rax,%r10
 ^~~~~
x86_64-mont.s:960:2: error: invalid instruction mnemonic 'adoxq'
 adoxq %r15,%r11
 ^~~~~
x86_64-mont.s:962:2: error: invalid instruction mnemonic 'adcxq'
 adcxq %rax,%r11
 ^~~~~
x86_64-mont.s:963:2: error: invalid instruction mnemonic 'adoxq'
 adoxq %r15,%r12
 ^~~~~
x86_64-mont.s:966:2: error: invalid instruction mnemonic 'adcxq'
 adcxq %rax,%r12
 ^~~~~
x86_64-mont.s:967:2: error: invalid instruction mnemonic 'adoxq'
 adoxq %r15,%r13
 ^~~~~
x86_64-mont.s:972:2: error: invalid instruction mnemonic 'adcxq'
 adcxq %rax,%r13
 ^~~~~
x86_64-mont.s:973:2: error: invalid instruction mnemonic 'adoxq'
 adoxq %rbp,%r15
 ^~~~~
make[2]: *** [x86_64-mont.o] Error 1
make[1]: *** [subdirs] Error 1
make: *** [build_crypto] Error 1

This worked with 1.0.1 versions.

Any suggestions?

Thanks,

James.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3630 bytes
Desc: not available
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20151216/52683fe4/attachment.bin>


More information about the openssl-users mailing list