From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 89E01159C9B for ; Thu, 8 Aug 2024 10:49:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B6D17E2BF4; Thu, 8 Aug 2024 10:49:33 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 96B38E2BF4 for ; Thu, 8 Aug 2024 10:49:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A8B48343088 for ; Thu, 8 Aug 2024 10:49:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B82B61DCA for ; Thu, 8 Aug 2024 10:49:30 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1723114080.7200aecb3db3b2dd91129e1530bcb75ce096af91.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/toolchain.eclass X-VCS-Directories: eclass/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 7200aecb3db3b2dd91129e1530bcb75ce096af91 X-VCS-Branch: master Date: Thu, 8 Aug 2024 10:49:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ff34c836-563b-440b-9d32-3854c6680681 X-Archives-Hash: a2a443e84a201863821147e398b117cc commit: 7200aecb3db3b2dd91129e1530bcb75ce096af91 Author: Sam James gentoo org> AuthorDate: Thu Aug 8 10:48:00 2024 +0000 Commit: Sam James gentoo org> CommitDate: Thu Aug 8 10:48:00 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7200aecb toolchain.eclass: add -g for tests I haven't looked closely yet but I think this is the same as the binutils issue from before. Bug: https://bugs.gentoo.org/934149 Signed-off-by: Sam James gentoo.org> eclass/toolchain.eclass | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 9bbe0cb7e0af..491eea823af2 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1956,6 +1956,10 @@ toolchain_src_test() { # Go doesn't support this and causes noisy warnings filter-flags -Wbuiltin-declaration-mismatch + # configure defaults to '-O2 -g' and some tests expect it + # accordingly. + append-flags -g + # TODO: Does this handle s390 (-m31) correctly? is_multilib && GCC_TESTS_RUNTESTFLAGS+=" --target_board=unix{,-m32}"