[MacPorts] #61347: ccache 4.0 command execution failed while executing "system {*}$notty {*}$nice $fullcmdstring"
MacPorts
noreply at macports.org
Mon Oct 19 19:42:32 UTC 2020
#61347: ccache 4.0 command execution failed while executing "system {*}$notty
{*}$nice $fullcmdstring"
-----------------------+----------------------------------
Reporter: thetrial | Owner: (none)
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.3
Resolution: | Keywords: legacy-os, elcapitan
Port: ccache |
-----------------------+----------------------------------
Comment (by chrstphrchvz):
It is not clear what the reporter's exact issue is; need to provide
main.log.
Maybe the reporter's issue is the same one encountered by the macOS
10.8-10.11 builders (errors involving AVX intrinsics—which clang 9.0 used
on macOS 10.6-10.7 recognize, and could indicate code that won't run on
older CPUs):
{{{
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_ccache/ccache/work/ccache-4.0/src/hashutil.cpp:128:18:
warning: unknown attribute 'target' ignored [-Wattributes]
__attribute__((target("avx2")));
^
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_ccache/ccache/work/ccache-4.0/src/hashutil.cpp:139:9:
error: unknown type name '__m256i'
const __m256i first = _mm256_set1_epi8('_');
^
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_ccache/ccache/work/ccache-4.0/src/hashutil.cpp:139:25:
error: use of undeclared identifier '_mm256_set1_epi8'; did you mean
'_mm_set1_epi8'?
const __m256i first = _mm256_set1_epi8('_');
^~~~~~~~~~~~~~~~
_mm_set1_epi8
/usr/bin/../lib/clang/5.1/include/emmintrin.h:1141:1: note:
'_mm_set1_epi8' declared here
_mm_set1_epi8(char __b)
^
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_ccache/ccache/work/ccache-4.0/src/hashutil.cpp:140:9:
error: unknown type name '__m256i'
const __m256i last = _mm256_set1_epi8('E');
^
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_ccache/ccache/work/ccache-4.0/src/hashutil.cpp:140:24:
error: use of undeclared identifier '_mm256_set1_epi8'; did you mean
'_mm_set1_epi8'?
const __m256i last = _mm256_set1_epi8('E');
^~~~~~~~~~~~~~~~
_mm_set1_epi8
/usr/bin/../lib/clang/5.1/include/emmintrin.h:1141:1: note:
'_mm_set1_epi8' declared here
_mm_set1_epi8(char __b)
^
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_ccache/ccache/work/ccache-4.0/src/hashutil.cpp:147:11:
error: unknown type name '__m256i'
const __m256i block_first =
^
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_ccache/ccache/work/ccache-4.0/src/hashutil.cpp:148:49:
error: unknown type name '__m256i'
_mm256_loadu_si256(reinterpret_cast<const __m256i*>(&str[pos]));
^
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_ccache/ccache/work/ccache-4.0/src/hashutil.cpp:148:7:
error: use of undeclared identifier '_mm256_loadu_si256'; did you mean
'_mm_loadu_si128'?
_mm256_loadu_si256(reinterpret_cast<const __m256i*>(&str[pos]));
^~~~~~~~~~~~~~~~~~
_mm_loadu_si128
/usr/bin/../lib/clang/5.1/include/emmintrin.h:1069:1: note:
'_mm_loadu_si128' declared here
_mm_loadu_si128(__m128i const *__p)
^
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_ccache/ccache/work/ccache-4.0/src/hashutil.cpp:148:59:
error: cannot initialize a parameter of type 'const __m128i *' with an
rvalue of type 'const char *'
_mm256_loadu_si256(reinterpret_cast<const __m256i*>(&str[pos]));
^~~~~~~~~
/usr/bin/../lib/clang/5.1/include/emmintrin.h:1069:32: note: passing
argument to parameter '__p' here
_mm_loadu_si128(__m128i const *__p)
^
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_ccache/ccache/work/ccache-4.0/src/hashutil.cpp:149:11:
error: unknown type name '__m256i'
const __m256i block_last =
^
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_ccache/ccache/work/ccache-4.0/src/hashutil.cpp:150:49:
error: unknown type name '__m256i'
_mm256_loadu_si256(reinterpret_cast<const __m256i*>(&str[pos + 5]));
^
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_ccache/ccache/work/ccache-4.0/src/hashutil.cpp:150:7:
error: use of undeclared identifier '_mm256_loadu_si256'; did you mean
'_mm_loadu_si128'?
_mm256_loadu_si256(reinterpret_cast<const __m256i*>(&str[pos + 5]));
^~~~~~~~~~~~~~~~~~
_mm_loadu_si128
/usr/bin/../lib/clang/5.1/include/emmintrin.h:1069:1: note:
'_mm_loadu_si128' declared here
_mm_loadu_si128(__m128i const *__p)
^
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_ccache/ccache/work/ccache-4.0/src/hashutil.cpp:150:59:
error: cannot initialize a parameter of type 'const __m128i *' with an
rvalue of type 'const char *'
_mm256_loadu_si256(reinterpret_cast<const __m256i*>(&str[pos + 5]));
^~~~~~~~~~~~~
/usr/bin/../lib/clang/5.1/include/emmintrin.h:1069:32: note: passing
argument to parameter '__p' here
_mm_loadu_si128(__m128i const *__p)
^
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_ccache/ccache/work/ccache-4.0/src/hashutil.cpp:154:11:
error: unknown type name '__m256i'
const __m256i eq_first = _mm256_cmpeq_epi8(first, block_first);
^
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_ccache/ccache/work/ccache-4.0/src/hashutil.cpp:155:11:
error: unknown type name '__m256i'
const __m256i eq_last = _mm256_cmpeq_epi8(last, block_last);
^
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_ccache/ccache/work/ccache-4.0/src/hashutil.cpp:224:7:
error: use of undeclared identifier '__builtin_cpu_supports'
if (__builtin_cpu_supports("avx2")) {
^
1 warning and 15 errors generated.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/61347#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list