From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id zrqKDs/CmWpCJCYAWB0awg (envelope-from ) for ; Thu, 03 Sep 2026 14:56:15 -0400 Authentication-Results: simark.ca; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=palves.net header.i=@palves.net header.a=rsa-sha256 header.s=dreamhost header.b=eBqdOfeR; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 206F21E166; Thu, 03 Sep 2026 14:56:15 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_INVALID,DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 940461E033 for ; Thu, 03 Sep 2026 14:56:13 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 0AC3E4BB1C1D for ; Thu, 3 Sep 2026 18:56:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0AC3E4BB1C1D Authentication-Results: sourceware.org; dkim=fail reason="signature verification failed" (2048-bit key, unprotected) header.d=palves.net header.i=@palves.net header.a=rsa-sha256 header.s=dreamhost header.b=eBqdOfeR Received: from insect.birch.relay.mailchannels.net (insect.birch.relay.mailchannels.net [23.83.209.93]) by sourceware.org (Postfix) with ESMTPS id D78A24BB1C14 for ; Thu, 3 Sep 2026 18:55:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D78A24BB1C14 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=palves.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=palves.net ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D78A24BB1C14 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=23.83.209.93 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1788461748; cv=none; b=XOgGmGTFcV9RzARqzDrrxzrXzXA/Pk+tHIUIX9nkGyky7IOhwAmtO9PInHEigvmZChtaZYoJO0fF/TJZOW1Kd+8UEm16/DgqWljzoNDslRhnEED0zML7Fh0KeUMnhWG9nso8tOaP1LaNnNXDOaqmI8zGPVpwMupiIVVZqiw/PV8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1788461748; c=relaxed/simple; bh=IQM0wqbsVff1XWPHC6jcYkaZpvOV1E1pGWm83EUfipY=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=gv5imak5+sSmWjK2KRXCYl4knS5KJflPVboQAoIwlMjAzFn7OUWvDTDT4Uoyt3S02waiL5rEhHUt1vKt7IukFqS8IX0cW+cjXcn/Tt6dzlavCDuqhlhshcILPjpHJ+Ph2vnnpUmMp1BairS/Lej/WpKQwfgsAM/OJtTFJjFc6lA= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=palves.net header.i=@palves.net header.a=rsa-sha256 header.s=dreamhost header.b=eBqdOfeR DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D78A24BB1C14 X-Sender-Id: dreamhost|x-authsender|pedro@palves.net Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id BA0697E2ABC; Thu, 03 Sep 2026 18:55:46 +0000 (UTC) Received: from pdx1-sub0-mail-a240.dreamhost.com (trex-green-4.trex.outbound.svc.cluster.local [100.96.173.13]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 5CA287E2397; Thu, 03 Sep 2026 18:55:42 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|pedro@palves.net X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|pedro@palves.net X-MailChannels-Auth-Id: dreamhost X-Unite-Thoughtful: 52cd61047f5c811b_1788461746577_527027400 X-MC-Loop-Signature: 1788461746577:3098882626 X-MC-Ingress-Time: 1788461746577 Received: from pdx1-sub0-mail-a240.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.96.173.13 (trex/8.0.2); Thu, 03 Sep 2026 18:55:46 +0000 Received: from localhost (bl22-81-37.dsl.telepac.pt [2.83.81.37]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pedro@palves.net) by pdx1-sub0-mail-a240.dreamhost.com (Postfix) with ESMTPSA id 4hbTM16F8rz1055; Thu, 3 Sep 2026 11:55:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=palves.net; s=dreamhost; t=1788461742; bh=sD3LFoxE01Jeg6V//skztjoef0Ug5kmj9DoDZfdL4kI=; h=From:To:Cc:Subject:Date:Content-Transfer-Encoding; b=eBqdOfeR4ynlYPyQocciKfIaD+i1XK3gXubm+ghE1JeoBS80mmK85ZogZ5XULuNQr QyXlXy+SMMRlxGSb9g5dLKZnMre3KS3umYu3aLlUIe7/nZEUx/Tsml9izicGAUcrYO rvH2IGaL2LczXYYnMC26+2S3edKzunWrlOT4xV4oI9P48NiZGtcPpRy32BukjApmnV hHviMQoBnKz71JtP21IVpgaPx0GxQ4C8ieI5S/txUL7nNC7Xmq53/1ReBVJnOj7lD4 +C1iUZbsOkUKjgr5Ydgmv4L7pD1SqH6gU8F1Np0EkiUz0QEPTG9bjNtpLvdoo6bz5b gcVSUgO+gFprg== From: Pedro Alves To: gcc-patches@gcc.gnu.org Cc: gdb-patches@sourceware.org Subject: [PATCH 0/1] dg-extract-results.{sh, py}: Optionally read file list from stdin/file Date: Thu, 3 Sep 2026 19:55:27 +0100 Message-ID: <20260903185528.2542431-1-pedro@palves.net> X-Mailer: git-send-email 2.54.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org This patch is for the benefit of GDB, but as the binutils-gdb repository shares the contrib/ directory with GCC, it must first be applied to GCC and then copied back to binutils-gdb. On Windows, GDB's "make check-parallel" dies when combining the per-test gdb.sum / gdb.log files into the final combined pair: $ find outputs/ -name gdb.sum | wc -l 2657 .../dg-extract-results.sh: line 39: /ucrt64/bin/python3: Argument list too long make: *** [Makefile:274: check-parallel] Error 2 The GDB testsuite Makefile passes the whole file list to contrib/dg-extract-results.sh on the command line, expanded from a find(1) backtick. As GDB's parallel harness writes one gdb.sum (and one gdb.log) per test script, on a full run that command line argument list holds thousands of paths, which overflows the Windows command-line length limit (~32 KB). This patch teaches dg-extract-results to read the file list from stdin (or a file) instead. After this is merged, GDB's Makefile will be changed to pipe the find output straight in, so the length limit no longer applies regardless of the host. The GDB patch making use of this is here, if you're curious: https://inbox.sourceware.org/gdb-patches/20260723175131.266112-5-pedro@palves.net/ Pedro Alves (1): dg-extract-results.{sh,py}: Optionally read file list from stdin/file contrib/dg-extract-results.py | 30 ++++++++++++++++++++++++++---- contrib/dg-extract-results.sh | 17 +++++++++++++++-- 2 files changed, 41 insertions(+), 6 deletions(-) base-commit: b3474d5cddda183dcd8d8a2745fba02578816055 -- 2.54.0