GNU bug report logs -
#75614
Fix FTBFS on CentOS 8 and CentOS 8 Stream
Previous Next
Reported by: Bruno Haible <bruno <at> clisp.org>
Date: Thu, 16 Jan 2025 21:15:02 UTC
Severity: normal
Done: Pádraig Brady <P <at> draigBrady.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 75614 in the body.
You can then email your comments to 75614 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-coreutils <at> gnu.org
:
bug#75614
; Package
coreutils
.
(Thu, 16 Jan 2025 21:15:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Bruno Haible <bruno <at> clisp.org>
:
New bug report received and forwarded. Copy sent to
bug-coreutils <at> gnu.org
.
(Thu, 16 Jan 2025 21:15:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Testing a current coreutils with a current gnulib on CentOS 8 and
CentOS 8 Stream, I see the same compilation error on both:
CC src/libcksum_avx512_a-cksum_avx512.o
../src/cksum_avx512.c: In function 'cksum_avx512':
../src/cksum_avx512.c:60:22: warning: implicit declaration of function '_mm512_set_epi8'; did you mean '_mm512_set1_epi8'? [-Wimplicit-function-declaration]
shuffle_constant = _mm512_set_epi8 (0, 1, 2, 3, 4, 5, 6, 7, 8,
^~~~~~~~~~~~~~~
_mm512_set1_epi8
../src/cksum_avx512.c:60:20: error: incompatible types when assigning to type '__m512i' {aka '__vector(8) long long int'} from type 'int'
shuffle_constant = _mm512_set_epi8 (0, 1, 2, 3, 4, 5, 6, 7, 8,
^
make[2]: *** [Makefile:20396: src/libcksum_avx512_a-cksum_avx512.o] Error 1
The cause is that USE_AVX512_CRC32 was determined to be true at configure
time, although the compiler does not support all builtin functions used
by cksum_avx512.c.
This proposed patch fixed it. I verified that on Ubuntu 24.04 and
CentOS Stream 9, USE_AVX512_CRC32 remains true.
[0001-build-Fix-compilation-error-on-CentOS-8-Stream.patch (text/x-patch, attachment)]
Reply sent
to
Pádraig Brady <P <at> draigBrady.com>
:
You have taken responsibility.
(Thu, 16 Jan 2025 22:19:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Bruno Haible <bruno <at> clisp.org>
:
bug acknowledged by developer.
(Thu, 16 Jan 2025 22:19:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 75614-done <at> debbugs.gnu.org (full text, mbox):
On 16/01/2025 21:14, Bruno Haible via GNU coreutils Bug Reports wrote:
> Testing a current coreutils with a current gnulib on CentOS 8 and
> CentOS 8 Stream, I see the same compilation error on both:
>
> CC src/libcksum_avx512_a-cksum_avx512.o
> ../src/cksum_avx512.c: In function 'cksum_avx512':
> ../src/cksum_avx512.c:60:22: warning: implicit declaration of function '_mm512_set_epi8'; did you mean '_mm512_set1_epi8'? [-Wimplicit-function-declaration]
> shuffle_constant = _mm512_set_epi8 (0, 1, 2, 3, 4, 5, 6, 7, 8,
> ^~~~~~~~~~~~~~~
> _mm512_set1_epi8
> ../src/cksum_avx512.c:60:20: error: incompatible types when assigning to type '__m512i' {aka '__vector(8) long long int'} from type 'int'
> shuffle_constant = _mm512_set_epi8 (0, 1, 2, 3, 4, 5, 6, 7, 8,
> ^
> make[2]: *** [Makefile:20396: src/libcksum_avx512_a-cksum_avx512.o] Error 1
>
> The cause is that USE_AVX512_CRC32 was determined to be true at configure
> time, although the compiler does not support all builtin functions used
> by cksum_avx512.c.
>
> This proposed patch fixed it. I verified that on Ubuntu 24.04 and
> CentOS Stream 9, USE_AVX512_CRC32 remains true.
Ah right, it seems this fails on GCC 8 without your patch.
Pushed.
Marking this as done.
thanks!
Pádraig
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 14 Feb 2025 12:24:11 GMT)
Full text and
rfc822 format available.
This bug report was last modified 181 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.