From: Bruno Haible Date: Thu, 16 Jan 2025 21:10:26 +0000 (+0100) Subject: build: fix compilation error on CentOS 8 Stream X-Git-Tag: v9.6~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=354cf4a41036c042b84c2d2702bc768cf46255e8;p=thirdparty%2Fcoreutils.git build: fix compilation error on CentOS 8 Stream * configure.ac (USE_AVX512_CRC32): Set to false if the function _mm512_set_epi8 does not exist. --- diff --git a/configure.ac b/configure.ac index e3c8f4c309..bf6da2a5a8 100644 --- a/configure.ac +++ b/configure.ac @@ -727,6 +727,10 @@ AC_LINK_IFELSE( main (void) { __m512i a, b; + a = _mm512_set_epi8 (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); a = _mm512_clmulepi64_epi128 (a, b, 0x00); a = _mm512_shuffle_epi8 (a, b); return __builtin_cpu_supports ("avx512bw") &&