[MacPorts] #61643: OpenBLAS @0.3.12 +gcc9: Build error: "always_inline function '_mm256_loadu_ps' requires target feature 'avx', but would be inlined into function 'ssum_k' that is compiled without support for 'avx'"
MacPorts
noreply at macports.org
Tue Nov 24 18:32:19 UTC 2020
#61643: OpenBLAS @0.3.12 +gcc9: Build error: "always_inline function
'_mm256_loadu_ps' requires target feature 'avx', but would be inlined into
function 'ssum_k' that is compiled without support for 'avx'"
-----------------------+-------------------------
Reporter: anowacki | Owner: NicosPavlov
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords:
Port: OpenBLAS |
-----------------------+-------------------------
Comment (by anowacki):
Thank you for the suggestion—I didn't realise what {{{+native}}} was for!
Unfortunately I get the same error even with {{{port install openblas
+gcc9 +native}}}:
{{{
/usr/bin/clang -c -O3 -DMAX_STACK_ALLOC=2048 -DEXPRECISION -Wall -m64
-DF_INTERFACE_GFORT -fPIC -DNO_AVX512 -DSMP_SERVER -DMAX_CPU_NUMBER=12
-DMAX_PARALLEL_NUMBER=1 -DBUILD_SINGLE=1 -DBUILD_DOUBLE=1
-DBUILD_COMPLEX=1 -DBUILD_COMPLEX16=1 -DVERSION=\"1\" -msse3 -mssse3
-msse4.1 -UASMNAME -UASMFNAME -UNAME -UCNAME -UCHAR_NAME -UCHAR_CNAME
-DASMNAME=_strmm_iutncopy -DASMFNAME=_strmm_iutncopy_
-DNAME=strmm_iutncopy_ -DCNAME=strmm_iutncopy
-DCHAR_NAME=\"strmm_iutncopy_\" -DCHAR_CNAME=\"strmm_iutncopy\"
-DNO_AFFINITY -I.. -UDOUBLE -UCOMPLEX -Wno-uninitialized -UDOUBLE
-UCOMPLEX -UOUTER -ULOWER -UUNIT generic/trmm_utcopy_16.c -o
strmm_iutncopy.o
../kernel/x86_64/../arm/sum.c:69:17: error: always_inline function
'_mm256_setzero_ps' requires target feature 'avx', but would be inlined
into function 'ssum_k' that is compiled without support for 'avx'
v_f32 vsum0 = v_zero_f32();
^
../kernel/x86_64/../arm/../simd/intrin_avx.h:59:20: note: expanded from
macro 'v_zero_f32'
#define v_zero_f32 _mm256_setzero_ps
^
../kernel/x86_64/../arm/sum.c:70:17: error: always_inline function
'_mm256_setzero_ps' requires target feature 'avx', but would be inlined
into function 'ssum_k' that is compiled without support for 'avx'
}}}
Might this be related to trying to use GCC9 (since I already have it
installed)?
--
Ticket URL: <https://trac.macports.org/ticket/61643#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list