Prune messages from gcc's lto-wrapper which can confure testsuite tests.
Resolves: RHEL-45264
This commit is contained in:
parent
a54a2c0323
commit
274bed029a
16
binutils-prune-lto-messages.patch
Normal file
16
binutils-prune-lto-messages.patch
Normal file
@ -0,0 +1,16 @@
|
||||
--- binutils.orig/binutils/testsuite/lib/binutils-common.exp 2024-06-27 12:43:48.892438898 +0100
|
||||
+++ binutils-2.35.2/binutils/testsuite/lib/binutils-common.exp 2024-06-27 12:45:12.134877825 +0100
|
||||
@@ -523,8 +523,13 @@ proc prune_warnings_extra { text } {
|
||||
# The "\\1" is to try to preserve a "\n" but only if necessary.
|
||||
regsub -all "(^|\n)(\[^\n\]*: warning:\[^\n\]*unsupported GNU_PROPERTY_TYPE\[^\n\]*\n?)+" $text "\\1" text
|
||||
}
|
||||
+
|
||||
# PR binutils/23898: It is OK to have gaps in build notes.
|
||||
regsub -all "(^|\n)(\[^\n\]*: Warning: Gap in build notes detected from\[^\n\]*\n?)+" $text "\\1" text
|
||||
+
|
||||
+ # Ignore LTO warnings triggered by configuring with --enable-pgo-build=lto.
|
||||
+ regsub -all "(^|\n)(\[^\n\]*lto-wrapper: warning: using serial compilation of \[0-9\]+ LTRANS jobs\[^\n\]*\n?)+" $text "\\1" text
|
||||
+
|
||||
return $text
|
||||
}
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
Summary: A GNU collection of binary utilities
|
||||
Name: binutils%{?_with_debug:-debug}
|
||||
Version: 2.35.2
|
||||
Release: 46%{?dist}
|
||||
Release: 47%{?dist}
|
||||
License: GPLv3+
|
||||
URL: https://sourceware.org/binutils
|
||||
|
||||
@ -453,6 +453,10 @@ Patch68: binutils-objcopy-pe-section-align.patch
|
||||
# Lifetime: Fixed in 2.37
|
||||
Patch69: binutils-gnu.debuglto_.patch
|
||||
|
||||
# Purpose: Remove messages from gcc lto-wrapper which can confuse testsuite results.
|
||||
# Lifetime: Fixed in 2.37
|
||||
Patch70: binutils-prune-lto-messages.patch
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
Provides: bundled(libiberty)
|
||||
@ -1293,6 +1297,9 @@ exit 0
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
%changelog
|
||||
* Thu Jun 27 2024 Nick Clifton <nickc@redhat.com> - 2.35.2-47
|
||||
- Prune messages from gcc's lto-wrapper which can confure testsuite tests. (RHEL-45264)
|
||||
|
||||
* Thu Jun 20 2024 Nick Clifton <nickc@redhat.com> - 2.35.2-46
|
||||
- Fix handling of .gnu.debuglto_.debug_* sections. (RHEL-43758)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user