diff --git a/binutils-testsuite-fixes.patch b/binutils-testsuite-fixes.patch index 3583682..d7f178a 100644 --- a/binutils-testsuite-fixes.patch +++ b/binutils-testsuite-fixes.patch @@ -950,3 +950,16 @@ diff -rup binutils.orig/ld/testsuite/ld-powerpc/tlsso32.r binutils-2.37/ld/tests } if {[is_elf_format]} then { +--- binutils.orig/ld/testsuite/ld-plugin/lto.exp 2022-08-11 09:47:38.597862309 +0100 ++++ binutils-2.37/ld/testsuite/ld-plugin/lto.exp 2022-08-11 09:48:23.878601461 +0100 +@@ -31,8 +31,8 @@ if { ![check_plugin_api_available] + + set saved_CFLAGS "$CFLAGS" + set saved_CXXFLAGS "$CXXFLAGS" +-regsub -all "(\\-Wp,)?-D_FORTIFY_SOURCE=\[0-9\]+" $CFLAGS "" CFLAGS +-regsub -all "(\\-Wp,)?-D_FORTIFY_SOURCE=\[0-9\]+" $CXXFLAGS "" CXXFLAGS ++# regsub -all "(\\-Wp,)?-D_FORTIFY_SOURCE=\[0-9\]+" $CFLAGS "" CFLAGS ++# regsub -all "(\\-Wp,)?-D_FORTIFY_SOURCE=\[0-9\]+" $CXXFLAGS "" CXXFLAGS + + proc restore_notify { } { + global saved_CFLAGS diff --git a/binutils.spec b/binutils.spec index 6bec912..1f02de6 100644 --- a/binutils.spec +++ b/binutils.spec @@ -39,7 +39,7 @@ Summary: A GNU collection of binary utilities Name: binutils%{?name_cross}%{?_with_debug:-debug} Version: 2.37 -Release: 24%{?dist} +Release: 25%{?dist} License: GPLv3+ URL: https://sourceware.org/binutils @@ -955,6 +955,9 @@ exit 0 #---------------------------------------------------------------------------- %changelog +* Thu Aug 11 2022 Nick Clifton - 2.37-25 +- Fix problems running the linkers LTO testsuite. (#2117284) + * Wed Aug 10 2022 Yara Ahmad - 2.37-24 - Fixes warning when running strip on an object file (#2114597)