bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#64058: [PATCH] wc: Fix crashes due to incomplete AVX2 enumeration


From: Paul Eggert
Subject: bug#64058: [PATCH] wc: Fix crashes due to incomplete AVX2 enumeration
Date: Tue, 13 Jun 2023 21:14:55 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0

Thanks for the bug report. I installed the attached patch into coreutils on Savannah. It builds on your idea with several other changes:

* There's a similar issue with cksum.c and pclmul.

* configure.ac can be simplified, since it seems there's no point compiling these instructions if __builtin_cpu_supports doesn't work.

* This lets us simplify the source code a bit more.

Please let me know if the attached patch works for you.

PS. Does the attached cksum.c / pclmul change fix any user-visible misbehavior? If so, what should we put into the NEWS file?

Attachment: 0001-wc-port-to-kernels-that-disable-XSAVE-YMM.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]