[MacPorts] #47035: openssl: Build failure: invalid instruction mnemonic 'adcxq'
MacPorts
noreply at macports.org
Tue Dec 8 23:05:24 PST 2015
#47035: openssl: Build failure: invalid instruction mnemonic 'adcxq'
-------------------------+----------------------
Reporter: rharwood@… | Owner: larryv@…
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: openssl |
-------------------------+----------------------
Comment (by cal@…):
Yes, this is all Perl code that compares compiler version numbers to find
out whether AVX or the addx instruction are available. Why the OpenSSL
project has literally (at least) 13 copies of the some code is beyond me.
I also don't understand why they compare version macros rather than just,
say, run an AVX or addx instruction through to toolchain to see if it
works.
I'm not in the business of refactoring OpenSSL code in what seems to be
rather large endeavor.
You can use the OpenSSL test suite to check whether the code miscompiles
with the change. Additionally, compare the output of `openssl speed` with
that of 1.0.2d on 10.7, that should give you a rough idea whether it is
using the same assembler optimizations.
--
Ticket URL: <https://trac.macports.org/ticket/47035#comment:30>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list