commit: bbf22692c27cbafdebe2a3687f97d8fde0b961de Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Mon Sep 22 18:35:05 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Sep 22 18:50:27 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbf22692
sys-apps/coreutils: add 9.8, drop 9.7_p20250918 wrt pclmul patch: GL_CRC_X86_64_PCLMUL in effect overrides the earlier configure check which sets USE_PCLMUL_CRC32, so -mno-pclmul leads to a build failure. Just use the coreutils config check result for now. Bug: https://debbugs.gnu.org/79491 Closes: https://bugs.gentoo.org/959467 Thanks-to: Ionen Wolkens <ionen <AT> gentoo.org> Signed-off-by: Sam James <sam <AT> gentoo.org> sys-apps/coreutils/Manifest | 4 ++-- ...utils-9.7_p20250918.ebuild => coreutils-9.8.ebuild} | 1 + sys-apps/coreutils/files/coreutils-9.8-no-pclmul.patch | 18 ++++++++++++++++++ 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/sys-apps/coreutils/Manifest b/sys-apps/coreutils/Manifest index b4c8546dd7b9..80da63ebbf41 100644 --- a/sys-apps/coreutils/Manifest +++ b/sys-apps/coreutils/Manifest @@ -9,5 +9,5 @@ DIST coreutils-9.6.tar.xz 6134764 BLAKE2B 4070d3d272851d3e9c326df9c05ce67797d868 DIST coreutils-9.6.tar.xz.sig 833 BLAKE2B a9ea9773746d21b526e69ca2ff7637f3dcef4a921da943f281c4d16fed2d8f9eff92353e1ceafbbc8cfe4b9b23bf123bf64dcd79ff598759373c50739a5046c6 SHA512 a8e578b5e1d053b49e3e2c5dc94431d17c6a14662f459b2174cea23865ccca32e5ae5c13fedb0a8345d25269a9b98cb7f463a897c9663f9f9bcaf61e5c781378 DIST coreutils-9.7.tar.xz 6158960 BLAKE2B e5e5f7ec26c3952eb6a25988f78d3a1f8a70cf97a2fbc7b433dfcd1721cd38e6e0a8b9cb83f854a22df325bcb5ea8c4534c5a217273762cd5d575b381db69ee8 SHA512 fe81e6ba4fb492095153d5baac1eca8f07ece0957849de746a2a858cf007893cc2ded595a31a5e5d43d13216cc44b9d74a3245d9f23221ecc8cd00f428f27414 DIST coreutils-9.7.tar.xz.sig 833 BLAKE2B 18dee5a1b5dc1811b277748fe6ee079dc6320bc6d67e01f108415c6afe21ad0367ece46f8c6dfb0976b1e5f62ae15c2d61fba916ea232c71a1b2f66c81b983bf SHA512 48d86a19cee3c153f01f7478847f4621685c02e59942540bb20b30e314df05230817b87d0e73acd953e79fab35718e5bea57f25fe511a2c275a85ced4b317bae -DIST coreutils-9.7_p20250918.tar.xz 6222708 BLAKE2B ad72463927e6f2aec51436035b8aad0669b06e075b73da2c9c424e072283e8be1e73727d679f6e7ac902b4e2460ea312e3c4e40aeb168044f4a09b63ae719adc SHA512 885acd47f58895f97a44c57b05c28bc70d4d28163ba2c0febd090f6c3f698fa2dfb6d770687921a2988cadd34d0daf2c589d20376627556d4dcf5df2a3ea85e4 -DIST coreutils-9.7_p20250918.tar.xz.sig 833 BLAKE2B 8aeacd413ec4dbd83f1ae520c15dcf6c58e0704ca03e53c7f369e4e5ab8967c767d1c4675463443891e7cce76ceca773a4f40619b71c1190dc27d9a8a29df6a7 SHA512 8a9f3e94d5e9779ed78d22ba821e261f0ecbbbfc344eb59b4519a5e4f712e4b652460178d279aa15e1f6009139dd3003e2b0b454ccf5e18880ffdfa8a7fd9f5f +DIST coreutils-9.8.tar.xz 6234824 BLAKE2B a93e26c8dda875b11541808d82ff8d6537f521b9c44e2a9959ee8f452823a4df5aed2793ac32766e2d3f832606d7190f7f53ea5870419f585aa66429a9626d98 SHA512 7b6c420907f0e33e4aff3dd92270f8cbd3e94b2ae8cf7caa2d5d1cfd5e9958319904a6547127abd55ee63aae0316f5b1228586b2da34ea402da032e925a25e53 +DIST coreutils-9.8.tar.xz.sig 833 BLAKE2B 8d195ebeaf7b383d05b8ae977a4566b0b5c48df21470062f4e4d6763a383c28d9315b56d2ff86b6ce6c8678d71009629f66642411deb22db3e74fa18bd081433 SHA512 0fa9ab4404cd2157584797de22a1f28ec4e0353dae05a7476198dc77e23bf59aaeb1aabf9f7dc22f5d80df311e6ef1490add75ae1663b4091e58cc29db4dcfa3 diff --git a/sys-apps/coreutils/coreutils-9.7_p20250918.ebuild b/sys-apps/coreutils/coreutils-9.8.ebuild similarity index 99% rename from sys-apps/coreutils/coreutils-9.7_p20250918.ebuild rename to sys-apps/coreutils/coreutils-9.8.ebuild index 60795e4d1444..5bd5cd7fe6d0 100644 --- a/sys-apps/coreutils/coreutils-9.7_p20250918.ebuild +++ b/sys-apps/coreutils/coreutils-9.8.ebuild @@ -116,6 +116,7 @@ src_prepare() { # TODO: past 2025, we may need to add our own hack for bug #907474. local PATCHES=( # Upstream patches + "${FILESDIR}"/${PN}-9.8-no-pclmul.patch ) if ! use vanilla && [[ -d "${WORKDIR}"/${MY_PATCH} ]] ; then diff --git a/sys-apps/coreutils/files/coreutils-9.8-no-pclmul.patch b/sys-apps/coreutils/files/coreutils-9.8-no-pclmul.patch new file mode 100644 index 000000000000..4242ae752a6d --- /dev/null +++ b/sys-apps/coreutils/files/coreutils-9.8-no-pclmul.patch @@ -0,0 +1,18 @@ +https://bugs.gentoo.org/959467 +https://debbugs.gnu.org/79491 + +GL_CRC_X86_64_PCLMUL in effect overrides the earlier configure check which +sets USE_PCLMUL_CRC32, so -mno-pclmul leads to a build failure. Just use +the coreutils config check result for now. + +Thanks to Ionen Wolkens <[email protected]> for the investigation and +workaround. +--- a/src/cksum.c ++++ b/src/cksum.c +@@ -145,5 +145,5 @@ + pclmul_supported (void) + { +-# if USE_PCLMUL_CRC32 || GL_CRC_X86_64_PCLMUL ++# if USE_PCLMUL_CRC32 + bool pclmul_enabled = (0 < __builtin_cpu_supports ("pclmul") + && 0 < __builtin_cpu_supports ("avx"));
