#67099 closed defect (fixed)
openssl3 @3.1.0 fails to build on 10.10 through 10.13
Reported by: | dyne2meter | Owned by: | neverpanic (Clemens Lang) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | yosemite elcapitan sierra highsierra mojave haspatch | Cc: | larryv (Lawrence Velázquez), dotnetCarpenter (Jon Ege Ronnenberg), rmottola (Riccardo), thetrial (alabay) |
Port: | openssl3 |
Description
main.log enclosed
Attachments (2)
Change History (18)
Changed 20 months ago by dyne2meter
Attachment: | main.log.gz added |
---|
comment:1 Changed 20 months ago by jmroot (Joshua Root)
Cc: | larryv added |
---|---|
Owner: | set to neverpanic |
Status: | new → assigned |
comment:2 Changed 20 months ago by jmroot (Joshua Root)
Summary: | openssl3 fails to build 10.13 → openssl3 @3.1.0 fails to build on 10.10 through 10.13 |
---|
comment:3 Changed 20 months ago by jmroot (Joshua Root)
crypto/bn/rsaz-3k-avx512.s:22:2: error: instruction requires: AVX-512 ISA AVX-512 VLX ISA vpxord %ymm0,%ymm0,%ymm0 ^
comment:4 Changed 20 months ago by neverpanic (Clemens Lang)
Status: | assigned → accepted |
---|
Great, more patching required to keep that instruction off… I think we eventually need to work on an upstream solution for this, as it keeps happening.
comment:5 Changed 20 months ago by dotnetCarpenter (Jon Ege Ronnenberg)
It seems that openssl3 is required by most (all?) macports packages and I can not install it.
macOS: 10.13
xcode: 10.1.0.0.1.1539992718
The error log contains hundreds of lines with the same error message:
:info:build crypto/bn/rsaz-3k-avx512.s:22:2: error: instruction requires: AVX-512 ISA AVX-512 VL ISA :info:build vpxord %ymm0,%ymm0,%ymm0 :info:build ^ :info:build crypto/bn/rsaz-3k-avx512.s:23:2: error: instruction requires: AVX-512 ISA AVX-512 VL ISA :info:build vmovdqa64 %ymm0,%ymm3 :info:build ^ :info:build crypto/bn/rsaz-3k-avx512.s:24:2: error: instruction requires: AVX-512 ISA AVX-512 VL ISA :info:build vmovdqa64 %ymm0,%ymm4 ... continues for almost every line in crypto/bn/rsaz-3k-avx512.s
Log: opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_openssl3/openssl3/main.log
I used to have fink but I have deleted all fink directories and removed it from my .zprofile.
Please advice :) I'm not sure where to report this "upstream" to openssl3.
Changed 20 months ago by dotnetCarpenter (Jon Ege Ronnenberg)
Attachment: | main.log.zip added |
---|
main.log on macOS 10.13
comment:6 Changed 20 months ago by dotnetCarpenter (Jon Ege Ronnenberg)
Cc: | dotnetCarpenter added |
---|
comment:8 Changed 20 months ago by thetrial (alabay)
Cc: | thetrial added |
---|
comment:9 Changed 20 months ago by thetrial (alabay)
Regarding that duplicate: I cannot install gcc12, due that again wants to upgrade openssl3 … that is stuck. A catch-22. So is there a way out? I am on Sierra.
comment:10 follow-up: 12 Changed 20 months ago by LLatULiege
Same issue, errors concerning AVX512 instructions.
Trying "install openssl3 +legacy" fails.
Note that the main.log generated in my configuration includes :debug:configure MACPORTS_LEGACY_SUPPORT_DISABLED='1'
at line #105, while I chose "openssl3 +legacy" for my install.
comment:11 Changed 20 months ago by rmottola (Riccardo)
I tried on 10.7 MacBook Pro which has a core2 processor
- system clang (4.2) works
- MP clang 11 works
- MP clang 13 works
- MP gcc 12
I tried on 10.13 MacBook Pro with i7 processor
- system clang (10) fails
- MP clang 6 works
- MP clang 15 works
- MP gcc 12 works
I think there could be an issue with system detection, that is AVX is not enabled on core2 and/ore due to old system compiler. Or the apple clang 10 tries to be smarter on i7, I don't know.
Since all macports compiler work.... it is a chicken-and-egg problem!
comment:12 Changed 20 months ago by ryandesign (Ryan Carsten Schmidt)
Replying to LLatULiege:
Note that the main.log generated in my configuration includes
:debug:configure MACPORTS_LEGACY_SUPPORT_DISABLED='1'
at line #105, while I chose "openssl3 +legacy" for my install.
MacPorts legacy support is a compatibility library created by MacPorts developers to help software build on older macOS versions. Ports that need it can include it and indicate on which macOS versions it is needed. openssl3 includes it and indicates that it is needed on Darwin 8 (Mac OS X 10.4) only.
It has nothing to do with the openssl3 port's +legacy variant which, according to its description, is used to "enable legacy providers by default".
comment:13 Changed 20 months ago by ryandesign (Ryan Carsten Schmidt)
Reported to the developers: https://github.com/openssl/openssl/issues/20518
comment:14 Changed 20 months ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | yosemite elcapitan sierra highsierra mojave haspatch added |
---|
comment:15 Changed 20 months ago by thetrial (alabay)
Well, sudo port upgrade openssl3 configure.compiler=macports-clang-15
ran through, indeed.
comment:16 Changed 20 months ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
main.log