diff --git a/glibc-rh2149615-3.patch b/glibc-rh2149615-3.patch new file mode 100644 index 0000000..6503853 --- /dev/null +++ b/glibc-rh2149615-3.patch @@ -0,0 +1,21 @@ +From 6229aa74fb47af17744d765cc49dbf94d3cefe12 Mon Sep 17 00:00:00 2001 +From: "H.J. Lu" +Date: Wed, 26 Jan 2022 12:18:30 -0800 +Subject: x86: Use CHECK_FEATURE_PRESENT on PCONFIG + +PCONFIG is a privileged instruction. Use CHECK_FEATURE_PRESENT, instead +of CHECK_FEATURE_ACTIVE, on PCONFIG in tst-cpu-features-supports.c. + +diff --git a/sysdeps/x86/tst-cpu-features-supports.c b/sysdeps/x86/tst-cpu-features-supports.c +index 9f10f02954..11065b642f 100644 +--- a/sysdeps/x86/tst-cpu-features-supports.c ++++ b/sysdeps/x86/tst-cpu-features-supports.c +@@ -143,7 +143,7 @@ do_test (int argc, char **argv) + fails += CHECK_FEATURE_ACTIVE (movdiri, MOVDIRI); + fails += CHECK_FEATURE_ACTIVE (movdir64b, MOVDIR64B); + fails += CHECK_FEATURE_ACTIVE (osxsave, OSXSAVE); +- fails += CHECK_FEATURE_ACTIVE (pconfig, PCONFIG); ++ fails += CHECK_FEATURE_PRESENT (pconfig, PCONFIG); + fails += CHECK_FEATURE_ACTIVE (pku, PKU); + #endif + fails += CHECK_FEATURE_ACTIVE (popcnt, POPCNT); diff --git a/glibc.spec b/glibc.spec index e5d7f75..22cd51e 100644 --- a/glibc.spec +++ b/glibc.spec @@ -155,7 +155,7 @@ end \ Summary: The GNU libc libraries Name: glibc Version: %{glibcversion} -Release: 63%{?dist} +Release: 64%{?dist} # In general, GPLv2+ is used by programs, LGPLv2+ is used for # libraries. @@ -705,6 +705,7 @@ Patch472: glibc-rh2149615-1.patch Patch473: glibc-rh2149615-2.patch Patch474: glibc-rh2169978-1.patch Patch475: glibc-rh2169978-2.patch +Patch476: glibc-rh2149615-3.patch ############################################################################## # Continued list of core "glibc" package information: @@ -2864,6 +2865,9 @@ fi %endif %changelog +* Thu Apr 06 2023 DJ Delorie - 2.34-64 +- x86: Use CHECK_FEATURE_PRESENT on PCONFIG (#2149615) + * Thu Mar 30 2023 Arjun Shankar - 2.34-63 - s390x: Influence hwcaps/stfle via glibc.cpu.hwcaps tunable (#2169978)