[binutils-gdb] lto-wrapper warning note

Alan Modra amodra@sourceware.org
Tue Dec 9 00:35:37 GMT 2025


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=bf85c50303457cb2d50779456ba291011fd60577

commit bf85c50303457cb2d50779456ba291011fd60577
Author: Alan Modra <amodra@gmail.com>
Date:   Tue Dec 9 10:56:03 2025 +1030

    lto-wrapper warning note
    
    Current gcc adds a note to the LTO "using serial compilation" warning.
    
            * lib/binutils-common.exp (prune_warnings_extra): Remove
            lto-wrapper note.

Diff:
---
 binutils/testsuite/lib/binutils-common.exp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/binutils/testsuite/lib/binutils-common.exp b/binutils/testsuite/lib/binutils-common.exp
index edde241024a..3a43c9e21a2 100644
--- a/binutils/testsuite/lib/binutils-common.exp
+++ b/binutils/testsuite/lib/binutils-common.exp
@@ -755,6 +755,7 @@ proc prune_warnings_extra { 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
+    regsub -all "(^|\n)(\[^\n\]*lto-wrapper: note: \[^\n\]*\n?)+" $text "\\1" text
 
     return $text
 }


More information about the Binutils-cvs mailing list