#67175 closed defect (fixed)

OpenBLAS @0.3.22 fails to build on 10.7 and 10.6/x86_64

Reported by: jmroot (Joshua Root) Owned by: NicosPavlov
Priority: Normal Milestone:
Component: ports Version:
Keywords: lion snowleopard Cc: michaelld (Michael Dickens), cjones051073 (Chris Jones), mascguy (Christopher Nielsen)
Port: OpenBLAS

Description

Appears to be a regression from the last version. Interestingly, the new version built OK on 10.6 i386.

10.6 error:

usage: mktemp [-d] [-q] [-t prefix] [-u] template ...
       mktemp [-d] [-q] [-u] -t prefix 
./c_check: line 210: /a.c: Operation not permitted
usage: mktemp [-d] [-q] [-t prefix] [-u] template ...
       mktemp [-d] [-q] [-u] -t prefix 
./c_check: line 210: /a.c: Operation not permitted
usage: mktemp [-d] [-q] [-t prefix] [-u] template ...
       mktemp [-d] [-q] [-u] -t prefix 
./c_check: line 210: /a.c: Operation not permitted
make: Entering directory `/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_math_OpenBLAS/OpenBLAS/work/OpenBLAS-0.3.22'
Makefile.conf:8: *** missing separator.  Stop.

10.7 error:

/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_math_OpenBLAS/OpenBLAS/work/.tmp/ccxsIu4b.s:202:2: error: invalid instruction mnemonic 'cvtsi2ssl'
        cvtsi2ssl       %eax, %xmm7
        ^~~~~~~~~
make[2]: *** [sgbrfs.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_math_OpenBLAS/OpenBLAS/work/.tmp/cc9lmbu3.s:262:2: error: invalid instruction mnemonic 'cvttss2sil'
        cvttss2sil      (%r12,%rdx,4), %ecx
        ^~~~~~~~~~
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_math_OpenBLAS/OpenBLAS/work/.tmp/cc9lmbu3.s:345:2: error: invalid instruction mnemonic 'cvttss2sil'
        cvttss2sil      (%r12,%rdx,4), %ecx
        ^~~~~~~~~~
make[2]: *** [sgebak.o] Error 1
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_math_OpenBLAS/OpenBLAS/work/.tmp/ccH8G0I0.s:213:2: error: invalid instruction mnemonic 'cvtsi2ssl'
        cvtsi2ssl       %esi, %xmm1
        ^~~~~~~~~
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_math_OpenBLAS/OpenBLAS/work/.tmp/ccH8G0I0.s:603:2: error: invalid instruction mnemonic 'cvtsi2ssl'
        cvtsi2ssl       %esi, %xmm1
        ^~~~~~~~~
make[2]: *** [sgebal.o] Error 1

Attachments (2)

OpenBLAS-10.6-x86_64.log (34.5 KB) - added by jmroot (Joshua Root) 20 months ago.
OpenBLAS-10.7-x86_64.log.bz2 (73.4 KB) - added by jmroot (Joshua Root) 20 months ago.

Download all attachments as: .zip

Change History (5)

Changed 20 months ago by jmroot (Joshua Root)

Attachment: OpenBLAS-10.6-x86_64.log added

Changed 20 months ago by jmroot (Joshua Root)

comment:1 Changed 20 months ago by ryandesign (Ryan Carsten Schmidt)

There's already a patchfile patch-MacOSX-mktemp.diff that replaces mktemp with gmktemp, perhaps to counteract a problem such as this. Maybe a similar change now needs to be made elsewhere as well.

comment:2 Changed 19 months ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:3 Changed 19 months ago by catap (Kirill A. Korinsky)

Resolution: fixed
Status: assignedclosed

In d29ba679d87b8701a00725b6e705d9be09e7e02c/macports-ports (master):

OpenBLAS: fix build on macOS 10.7

Also add myself as co-maintainer

Closes: #67175
Closes: #64973

Note: See TracTickets for help on using tickets.