Opened 5 years ago
Closed 5 years ago
#59250 closed defect (fixed)
OpenBLAS 0.3.7_0 build failed on Catalina
Reported by: | eldams (Damien Nouvel) | Owned by: | NicosPavlov |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.1 |
Keywords: | Cc: | eldams (Damien Nouvel), michaelld (Michael Dickens), hapaguy (Brian Kurt Fujikawa), MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) | |
Port: | OpenBLAS |
Description (last modified by eldams (Damien Nouvel))
The OpenBLAS build failed :
Error: Failed to build OpenBLAS: command execution failed
Looks like something is wrong with utests kernel_regress...
Segmentation fault 11
See atached logs
Attachments (3)
Change History (16)
Changed 5 years ago by eldams (Damien Nouvel)
comment:1 Changed 5 years ago by eldams (Damien Nouvel)
Cc: | eldams added |
---|
comment:2 Changed 5 years ago by eldams (Damien Nouvel)
Description: | modified (diff) |
---|
comment:3 Changed 5 years ago by jmroot (Joshua Root)
Cc: | michaelld added |
---|---|
Milestone: | MacPorts 2.7.0 |
Port: | OpenBLAS added |
comment:6 Changed 5 years ago by cjones051073 (Chris Jones)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:7 Changed 5 years ago by hapaguy (Brian Kurt Fujikawa)
I am running macOS 10.15.1 and using Xcode 11.2. I tried to build OpenBLAS @0.3.7 with
$ sudo port -sv install OpenBLAS +gcc9 +lapack
The build fails due to a segfault:
:info:build OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 ./sblat2 < ./sblat2.dat :info:build Program received signal SIGSEGV: Segmentation fault - invalid memory reference. :info:build Backtrace for this error: :info:build #0 0x10da65564 :info:build #1 0x10da64c86 :info:build #2 0x7fff6dc39b1c :info:build /bin/sh: line 1: 70219 Segmentation fault: 11 OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 ./sblat2 < ./sblat2.dat :info:build make[1]: *** [level2] Error 139 :info:build make[1]: *** Waiting for unfinished jobs....
(please see attached main.log
). This segfault error is similar to that reported above.
I was able to successfully build OpenBLAS @0.3.7 on another Mac - the only difference (in addition to the order of installing other ports) is that I was running Xcode 11.1.
Changed 5 years ago by hapaguy (Brian Kurt Fujikawa)
Attachment: | main.2.log added |
---|
New main.log from hapaguy (Brian Kurt Fujikawa)
comment:8 Changed 5 years ago by hapaguy (Brian Kurt Fujikawa)
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:9 Changed 5 years ago by hapaguy (Brian Kurt Fujikawa)
Cc: | hapaguy added |
---|
comment:10 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Cc: | MarcusCalhoun-Lopez added |
---|
comment:11 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
The error is likely due to the fact that, while the error was fixed in Xcode 11.2, the port is not actually using Xcode.
It is using the command line tools, which still has the bug.
A recent pull request gets around this by using Xcode instead of the command line tools.
Once the pull request is merged, the problem should go away again.
comment:12 Changed 5 years ago by hapaguy (Brian Kurt Fujikawa)
Thanks, Apple released command line tools 11.2 today, and that appears to fix the OpenBLAS segfault issue - I can successfully build OpenBLAS @0.3.7 now.
comment:13 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
This problem should be fixed again.
main