OpenBLAS: Building OpenBLAS 0.3.24 fails on MacPorts running macOS 13.5.2
Description
Updating to OpenBLAS 0.3.24 on MacPorts seg faults due to invalid memory reference. Issue reported to MacPorts with response from MacPorts maintainers to escalate upstream to OpenBLAS.
Error message below:
OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 ./cblat2 < ./cblat2.dat
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error:
Program received signal SIGTRAP: Trace/breakpoint trap.
Backtrace for this error:
OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 ./zblat2 < ./zblat2.dat
Environment
Apple M1 Pro, macOS 13.5.2 (22G91)
Steps to Reproduce
Upgrade OpenBLAS from 0.3.23_0 to 0.3.24_0
Expected Result
OpenBLAS 0.3.24 is built and installed.
Actual Result
Build hangs, no backtrace is emitted in build log.
About this issue
- Original URL
- State: closed
- Created 9 months ago
- Comments: 56 (28 by maintainers)
@martin-frbg seems that this isn’t enough. You may read discussion with @szhorvat here https://github.com/macports/macports-ports/pull/21452 ; long story short:
-Wl,-ld_classicshould be added into.cmakefiles somehow, otherwise it had random failures.@martin-frbg base on https://github.com/macports/macports-ports/pull/21354#issuecomment-1807259226 I’d like to assume that this issue wasn’t fixed on 0.3.25.
Cc: @szhorvat
Thanks for this update - and I have realized that Cirrus CI still gives me the same old MacOS Monterey when I request their “Ventura-xcode-latest”, so my test have been with xcode <15 all along