Unable to compile OpenBLAS on 10.7

Chris Jones jonesc at hep.phy.cam.ac.uk
Sat Sep 7 20:58:59 UTC 2019


You should always check for open tickets.

https://ports.macports.org/port/OpenBLAS/tickets

See 58832

> On 7 Sep 2019, at 9:48 pm, Riccardo Mottola via macports-users <macports-users at lists.macports.org> wrote:
> 
> Hi all!
> 
> 
> I am doing a thorough complete update of my systems, I read about the compiler changes et. al and see how  my vintage things will perform
> 
> I started from the newest system 10.7 and 64bit.  It stops at OpenBLAS.
> 
> 
> /opt/local/bin/clang-mp-5.0 -c -O3 -DMAX_STACK_ALLOC=2048 -DEXPRECISION -Wall -m64 -DF_INTERFACE_GFORT -fPIC -DNO_AVX -DNO_AVX512 -DSMP_SERVER -DMAX_CPU_NUMBER=2 -DMAX_PARALLEL_NUMBER=1 -DVERSION=\"1\" -DASMNAME=_samin_k -DASMFNAME=_samin_k_ -DNAME=samin_k_ -DCNAME=samin_k -DCHAR_NAME=\"samin_k_\" -DCHAR_CNAME=\"samin_k\" -DNO_AFFINITY -I.. -UDOUBLE  -UCOMPLEX -UCOMPLEX -UDOUBLE -DUSE_ABS  -DUSE_MIN ../kernel/x86/amax.S -o samin_k.o
> ../kernel/x86/amax.S../kernel/x86/amax.S:64::64:2: error: instruction requires: Not 64-bit mode
> 2 : error: instruction requires: Not 64-bit mode
>  pushl %esi
>  ^
> ../kernel/x86/amax.S:65:2: error: instruction requires: Not 64-bit mode
>  pushl %ebx
>  ^
> pushl %esi
>  ^
> ../kernel/x86/amax.S:65:2: error: instruction requires: Not 64-bit mode
>  pushl %ebx
>  ^
> ../kernel/x86/amax.S:311:2: error: instruction requires: Not 64-bit mode
>  popl %ebx
>  ^
> ../kernel/x86/amax.S:312:2: error: instruction requires: Not 64-bit mode
>  popl %esi
>  ^
> ../kernel/x86/amax.S:311:2: error: instruction requires: Not 64-bit mode
>  popl %ebx
>  ^
> ../kernel/x86/amax.S:312:2: error: instruction requires: Not 64-bit mode
>  popl %esi
>  ^
> make[1]: *** [samax_k.o] Error 1
> 
> 
> as you see it is using clang 5.0.
> 
> I wonder what is going on, it is perhaps building something of x86 in 64bit?
> 
> 
> Riccardo
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20190907/08124a5f/attachment.html>


More information about the macports-users mailing list