在 macOS High Sierra 上 Brew 安装 OpenSSL3
我使用的是 macOS HighSierra 10.13.6,无法 brew install openssl
。我修改了 [email protected]
以下 这篇文章但我仍然收到以下错误:
==> 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 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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我也遇到了与高山脉非常相似的情况。准确地说是10.13.6。
`sysctl machdep.cpu.features 的输出
我在 qemu kvm 设置中运行这个操作系统。有趣的是,我也有一个莫哈韦虚拟机设置,但在完全更新/修补的莫哈韦中没有遇到 AVX512 问题。
我昨天看到这篇文章,
https://superuser.com/questions/1669059 /error-with-brew-install-openblas-in-macos
所以让我们看看 openssl 是否有与
NO_AVX512=1
类似的配置标志,所以看看为 openssl 源提取的 tarball 中的 INSTALL.md 文档 我能看到的最接近的东西是
因此,也许可以使用
-no-ingtegerated-as
调整编译命令,或者查看下面的 github 问题,您可以在其中修补 perl 脚本https://github.com/openssl/openssl/issues/16670#issuecomment-935184461
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=1
so 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-as
or see the below github issue where you can patch the perl scripthttps://github.com/openssl/openssl/issues/16670#issuecomment-935184461
我昨天遇到了这个错误,并且能够通过执行以下操作来安装 openssl3 (请参阅 github 上的帖子)。我必须更新 openssl 的构建脚本,以不使用不可用的 cpu 指令。希望这有帮助!
https://github.com/openssl/openssl/issues/16670#issuecomment- 1268671564
I ran into this error yesterday, and was able to get openssl3 to install by doing the following (see post on github). I had to update the build script for openssl to not use the unavailable cpu instructions. Hope this helps!
https://github.com/openssl/openssl/issues/16670#issuecomment-1268671564