diff --git a/binutils.spec b/binutils.spec index d4e2242..980c936 100644 --- a/binutils.spec +++ b/binutils.spec @@ -389,11 +389,6 @@ Patch62: binutils-CVE-2025-5244.patch #---------------------------------------------------------------------------- -# Purpose: Workaround for an unresolved bug in ppc gcc -# which generates bad code in the linker. cf RHEL-49348 -# Lifetime: TEMPORARY -Patch98: bin.ppc64.gcc.patch - # Purpose: Suppress the x86 linker's p_align-1 tests due to kernel bug on CentOS-10 # Lifetime: TEMPORARY Patch99: binutils-suppress-ld-align-tests.patch @@ -913,6 +908,13 @@ build_target() pushd $builddir +%if 0%{?rhel} == 10 +# Work around https://issues.redhat.com/browse/RHEL-49348 +%ifarch ppc64le +export GLIBC_TUNABLES=glibc.cpu.hwcaps=-arch_3_1 +%endif +%endif + %if %{with docs} # Because of parallel building, info has to be made after all. %make_build %{_smp_mflags} tooldir=%{_prefix} all @@ -1433,6 +1435,7 @@ exit 0 %changelog * Mon Jun 30 2025 Nick Clifton - 2.41-57 - Add fix for CVE-2025-5244. (RHEL-100417) +- USe correct fix for CVE-2025-5702. (RHEL-100159) * Mon Apr 28 2025 Andrea Bolognani - 2.41-56 - Add basic support for RISC-V 64-bit EFI objects. (RHEL-88815)