From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1698) id 541023857355; Thu, 14 Apr 2022 05:27:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 541023857355 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Iain D Sandoe To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r11-9875] libstdc++, testsuite: Add a prune expression for external tool bug. X-Act-Checkin: gcc X-Git-Author: Iain Sandoe X-Git-Refname: refs/heads/releases/gcc-11 X-Git-Oldrev: 67d7ab011b87aad67ef5d3040366d78de3253457 X-Git-Newrev: 6cdca92f5a435f5c5dc44487aa4fc03c9ae53e03 Message-Id: <20220414052712.541023857355@sourceware.org> Date: Thu, 14 Apr 2022 05:27:12 +0000 (GMT) X-BeenThere: libstdc++-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2022 05:27:12 -0000 https://gcc.gnu.org/g:6cdca92f5a435f5c5dc44487aa4fc03c9ae53e03 commit r11-9875-g6cdca92f5a435f5c5dc44487aa4fc03c9ae53e03 Author: Iain Sandoe Date: Fri Nov 19 15:52:29 2021 +0000 libstdc++, testsuite: Add a prune expression for external tool bug. Depending on the permutation of CPU, OS version and shared/non- shared library inclusion, we get can get warnings from the external tools (ld64, dsymutil) which are not actually libstdc++ issues but relate to the external tools themselves. This is already pruned in the main testsuite, this adds it to the library. Signed-off-by: Iain Sandoe libstdc++-v3/ChangeLog: * testsuite/lib/prune.exp: Prune dsymutil (ld64) warning. (cherry picked from commit c7b782d847d8682af9d5d91c0614a880cc2436f1) Diff: --- libstdc++-v3/testsuite/lib/prune.exp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libstdc++-v3/testsuite/lib/prune.exp b/libstdc++-v3/testsuite/lib/prune.exp index 45c77d210d7..6c905631f16 100644 --- a/libstdc++-v3/testsuite/lib/prune.exp +++ b/libstdc++-v3/testsuite/lib/prune.exp @@ -63,9 +63,12 @@ proc libstdc++-dg-prune { system text } { regsub -all "(^|\n)\[^\n\]*warning: DWARFDebugInfoEntry::AppendDependants\[^\n\]*AT_\[^\n\]*_bound\[^\n\]*FORM_ref4\[^\n\]*" $text "" text regsub -all "(^|\n)\[^\n\]*warning:\[^\n\]*TAG_variable: AT_location\[^\n\]*didn't have valid function low pc\[^\n\]*" $text "" text - # Ignore harmless warnings from Xcode 4.0. + # Ignore harmless warnings from Xcode 4+. regsub -all "(^|\n)\[^\n\]*ld: warning: could not create compact unwind for\[^\n\]*" $text "" text + # Ignore dsymutil warning (tool bug is actually in the linker) + regsub -all "(^|\n)\[^\n\]*could not find object file symbol for symbol\[^\n\]*" $text "" text + foreach p $additional_prunes { if { [string length $p] > 0 } { # Following regexp matches a complete line containing $p.