[openssl-dev] [openssl.org #3805] Re: Error while building FIPS capable OpenSSL

Ravindra Daramwar via RT rt at openssl.org
Wed Apr 15 16:41:45 UTC 2015


Added below OpenSSL version which I am using.

-Ravindra

From: Ravindra Daramwar <ravindra_daramwar at symantec.com<mailto:ravindra_daramwar at symantec.com>>
Date: Wednesday, 15 April 2015 5:31 pm
To: "openssl-bugs at openssl.org<mailto:openssl-bugs at openssl.org>" <openssl-bugs at openssl.org<mailto:openssl-bugs at openssl.org>>
Cc: Dhananjay Dodke <Dhananjay_Dodke at symantec.com<mailto:Dhananjay_Dodke at symantec.com>>, Shahid Munshi <Shahid_Munshi at symantec.com<mailto:Shahid_Munshi at symantec.com>>
Subject: Error while building FIPS capable OpenSSL

Hi,

I am trying to build OpenSSL which uses FIPS module. I could build the FIPS module successfully but not OpenSSL.

I followed below steps:

1.
./Configure darwin64-x86_64-cc shared fips --with-fipslibdir=/DLPMacSource/depot/tools/mac/openssl_fips/2.0/x86_64/lib/ --with-fipsdir=/DLPMacSource/depot/tools/mac/openssl_fips/2.0/x86_64/

2.
Make


Target osx : 10.9.5
Xcode : 5.0.2
OpenSSL version: 1.0.2/1.0.2a


“make" step is giving an error as below


rsaz-x86_64.s:1701:2: error: invalid instruction mnemonic 'adoxq'

 adoxq %rdi,%r15

 ^~~~~

rsaz-x86_64.s:1702:2: error: invalid instruction mnemonic 'adcxq'

 adcxq %rdi,%r15

 ^~~~~

make[2]: *** [rsaz-x86_64.o] Error 1

make[1]: *** [subdirs] Error 1

make: *** [build_crypto] Error 1


Please let me which is this issue. Is it because of Xcode compiler, target os or anything else.

Thanks.

-Ravindra



More information about the openssl-dev mailing list