[MacPorts] #58832: OpenBLAS @0.3.7: build error when build_arch != host arch: ../kernel/x86/amax.S:64:2: error: ../kernel/x86/amax.S:instruction requires: Not 64-bit mode
MacPorts
noreply at macports.org
Mon Oct 14 21:54:24 UTC 2019
#58832: OpenBLAS @0.3.7: build error when build_arch != host arch:
../kernel/x86/amax.S:64:2: error: ../kernel/x86/amax.S:instruction
requires: Not 64-bit mode
-----------------------+------------------------------
Reporter: kencu | Owner: NicosPavlov
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: lion snowleopard
Port: openblas |
-----------------------+------------------------------
Comment (by kencu):
Yes, true. I actually have this all sorted out, but just have been too
distracted with all the other things going on.
The YONAH processor specified in the Portfile will not work on any 64bit
OS, as YONAH is 32 bit only.
So if I manually change the processor to CORE2, or let the software work
out the processor, it builds.
So -- this was a bug in OpenBLAS, and then our forcing YONAH is just not
going to work. I have a fancier fix coming, using `sysctl` and testing for
a 64-bit capable processor (and if so, forcing CORE2) but in truth,
recreating all the OpenBLAS logic to sort out the processor in Portfile
logic is a bit of a pain.
--
Ticket URL: <https://trac.macports.org/ticket/58832#comment:17>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list