[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:15:37 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 fvaccari):
I just tested on 10.6.8 that after adjusting
{{{
puts $makeINC "ARCH = x86_64"
}}}
another error pops up later in the compilation:
{{{
/opt/local/bin/clang-mp-9.0 -c -O3 -DMAX_STACK_ALLOC=2048 -DEXPRECISION
-Wall -m64 -DF_INTERFACE_GFORT -fPIC -DNO_AVX2 -DNO_AVX512 -DSMP_SERVER
-DMAX_CPU_NUMBER=2 -DMAX_PARALLEL_NUMBER=1 -DVERSION=\"1\"
-DASMNAME=_ssymv_U -DASMFNAME=_ssymv_U_ -DNAME=ssymv_U_ -DCNAME=ssymv_U
-DCHAR_NAME=\"ssymv_U_\" -DCHAR_CNAME=\"ssymv_U\" -DNO_AFFINITY -I..
-UDOUBLE -UCOMPLEX -UCOMPLEX -UDOUBLE -ULOWER
../kernel/x86_64/symv_U_sse.S -o ssymv_U.o
../kernel/x86_64/symv_U_sse.S:425:2: error: 32-bit absolute addressing is
not supported in 64-bit mode
PREFETCH PREFETCHSIZE(%rbx)
^
../kernel/x86_64/symv_U_sse.S:444:2: error: 32-bit absolute addressing is
not supported in 64-bit mode
PREFETCH PREFETCHSIZE(%r13)
^
../kernel/x86_64/symv_U_sse.S:469:2: error: 32-bit absolute addressing is
not supported in 64-bit mode
PREFETCH PREFETCHSIZE(%rbx, %rcx, 1)
^
../kernel/x86_64/symv_U_sse.S:510:2: error: 32-bit absolute addressing is
not supported in 64-bit mode
PREFETCH PREFETCHSIZE(%rbp)
^
../kernel/x86_64/symv_U_sse.S:529:2: error: 32-bit absolute addressing is
not supported in 64-bit mode
PREFETCHW PREFETCHSIZE(%r14)
^
../kernel/x86_64/symv_U_sse.S:554:2: error: 32-bit absolute addressing is
not supported in 64-bit mode
PREFETCH PREFETCHSIZE(%rbp, %rcx, 1)
^
make[1]: *** [ssymv_U.o] Error 1
make[1]: *** Waiting for unfinished jobs....
}}}
--
Ticket URL: <https://trac.macports.org/ticket/58832#comment:16>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list