I am on macOS HighSierra 10.13.6 and been unable to brew install openssl. I modified [email protected] following this post but I still get the following error:
==> make
Last 15 lines from /Users/hahnemann/Library/Logs/Homebrew/openssl@3/02.make:
crypto/bn/rsaz-avx512.s:857:2: error: instruction requires: AVX-512 ISA AVX-512 VL ISA
vmovdqu64 %ymm1,32(%rdi)
^
crypto/bn/rsaz-avx512.s:858:2: error: instruction requires: AVX-512 ISA AVX-512 VL ISA
vmovdqu64 %ymm2,64(%rdi)
^
crypto/bn/rsaz-avx512.s:859:2: error: instruction requires: AVX-512 ISA AVX-512 VL ISA
vmovdqu64 %ymm3,96(%rdi)
^
crypto/bn/rsaz-avx512.s:860:2: error: instruction requires: AVX-512 ISA AVX-512 VL ISA
vmovdqu64 %ymm4,128(%rdi)
^
make[1]: *** [crypto/bn/liblegacy-lib-rsaz-avx512.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [build_sw] Error 2
Do not report this issue to Homebrew/brew or Homebrew/core!
These open issues may also help:
curl + recursive dependen{cies,ts}: switch to `openssl@3` https://github.com/Homebrew/homebrew-core/pull/85775
i'm running into something very similar with high sierra as well. 10.13.6 to be exact.
the output of `sysctl machdep.cpu.features
i'm running this OS in a qemu kvm setup. interestingly enough i have a mojave vm setup as well, but did not run into AVX512 issue with a fully updated/patched mojave.
i came across this post yesterday,
https://superuser.com/questions/1669059/error-with-brew-install-openblas-in-macos
so let's see if openssl has similar configure flag as
NO_AVX512=1so looking at the INSTALL.md doc within the extracted tarball for the openssl source the closest thing i could see is
so maybe adjusting the compile command with
-no-ingtegrated-asor see the below github issue where you can patch the perl scripthttps://github.com/openssl/openssl/issues/16670#issuecomment-935184461