aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite
diff options
context:
space:
mode:
authorMatthias Klose <doko@debian.org>2023-06-29 14:30:55 +0100
committerNick Clifton <nickc@redhat.com>2023-06-29 14:30:55 +0100
commit96127db593a96c4848f76ecaff7f4feb5850c4b2 (patch)
treea01c3b66b6d5dbf97b5430bfd2f40642661a819f /binutils/testsuite
parent3933413e7887045bf1eed302040177bcfee92c2f (diff)
downloadgdb-96127db593a96c4848f76ecaff7f4feb5850c4b2.zip
gdb-96127db593a96c4848f76ecaff7f4feb5850c4b2.tar.gz
gdb-96127db593a96c4848f76ecaff7f4feb5850c4b2.tar.bz2
ignore lto-wrapper warnings for lto builds.
I see these warnings from time to time, when configuring a build with --enable-pgo-build=lto, I haven't yet found out why I see these sometime, and why not. E.g. https://gcc.gnu.org/PR109241. Just ignore these when they appear in test cases. lto-wrapper: warning: using serial compilation of N LTRANS jobs
Diffstat (limited to 'binutils/testsuite')
-rw-r--r--binutils/testsuite/lib/binutils-common.exp3
1 files changed, 3 insertions, 0 deletions
diff --git a/binutils/testsuite/lib/binutils-common.exp b/binutils/testsuite/lib/binutils-common.exp
index 2293895..7e6bf16 100644
--- a/binutils/testsuite/lib/binutils-common.exp
+++ b/binutils/testsuite/lib/binutils-common.exp
@@ -666,6 +666,9 @@ proc prune_warnings_extra { text } {
# -z execstack is used.
regsub -all "(^|\n)(\[^\n\]*: warning: enabling an executable stack because of -z execstack command line option\[^\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
}