[openssl-dev] [openssl.org #4171] Compile failure on OS X 10.7 clang with OpenSSL 1.0.2e

Andy Polyakov via RT rt at openssl.org
Fri Feb 12 10:16:20 UTC 2016


Hi,

> https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=301a6dcd4590fb2f69d08259577e215b4cc3caa3#patch5 added a check to see if it should use the ADDX instructions based on the clang version. Unfortunately, on older versions of clang on OS X this check incorrectly returns true and compilation then fails due to not knowing the instructions:
> 
> x86_64-mont.s:966:2 error: invalid instruction mnemonic 'adcxq'
> adcxq %rax,%r12
> ^~~~~
> 
> The version of the compiler in question is: `Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)` (On an ancient OS X 10.7 VM)
> 
> This issue was also filed in Github (https://github.com/openssl/openssl/issues/494)

This was addressed in
http://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=b9749432346f69b29d82070041e71b237d718ce7
by giving "based on LLVM" higher priority.


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



More information about the openssl-dev mailing list