[MacPorts] #55800: libvpx 1.7.0_0 build fails: error: assigning to '__m512i' (vector of 8 'long long' values) from incompatible type 'int'
MacPorts
noreply at macports.org
Fri Feb 9 13:54:14 UTC 2018
#55800: libvpx 1.7.0_0 build fails: error: assigning to '__m512i' (vector of 8
'long long' values) from incompatible type 'int'
----------------------------+-------------------
Reporter: laughingtiger | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.4.2
Resolution: | Keywords:
Port: libvpx |
----------------------------+-------------------
Comment (by ballapete):
I see the same failure on El Capitan, OS X 10.11.6. Here I see one more
report:
{{{
vpx_dsp/x86/sad4d_avx512.c:27:14: warning: implicit declaration of
function '_mm512_set1_epi16' is invalid in C99 [-Wimplicit-function-
declaration]
sum_ref0 = _mm512_set1_epi16(0);
^
}}}
The code is:
{{{
23 ref0 = ref[0];
24 ref1 = ref[1];
25 ref2 = ref[2];
26 ref3 = ref[3];
27 sum_ref0 = _mm512_set1_epi16(0);
28 sum_ref1 = _mm512_set1_epi16(0);
29 sum_ref2 = _mm512_set1_epi16(0);
30 sum_ref3 = _mm512_set1_epi16(0);
}}}
Either someone mixed up brackets or this function `_mm512_set1_epi16()`
does not exist. The latter sounds more plausible: find only finds the
string `_mm512_set1_epi16` *used* on these four mentioned lines. This
looks like the actual cause for the failure.
--
Ticket URL: <https://trac.macports.org/ticket/55800#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list