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 BF4EB159C9B for ; Wed, 7 Aug 2024 09:21:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BBF372BC043; Wed, 7 Aug 2024 09:21:29 +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 A19172BC03E for ; Wed, 7 Aug 2024 09:21:29 +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 B242434307E for ; Wed, 7 Aug 2024 09:21:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 21EE9E6F for ; Wed, 7 Aug 2024 09:21:27 +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: <1723022424.7eab20a224f411ef2660f4fecae22e28cad711e7.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: 7eab20a224f411ef2660f4fecae22e28cad711e7 X-VCS-Branch: master Date: Wed, 7 Aug 2024 09:21:27 +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: de14c1fc-2f42-4ee2-8ca9-6db2c3058e84 X-Archives-Hash: b1c1b3a21744a4048e9801a1ae359e58 commit: 7eab20a224f411ef2660f4fecae22e28cad711e7 Author: Sam James gentoo org> AuthorDate: Wed Aug 7 09:19:29 2024 +0000 Commit: Sam James gentoo org> CommitDate: Wed Aug 7 09:20:24 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7eab20a2 toolchain.eclass: try harder to suppress -Wformat and friends * Followup to f66787897a590b8c949d257e3a9107f8995f62ae * See https://inbox.sourceware.org/gcc-patches/87v80cn24t.fsf gentoo.org/ Still not quite right though per link above. Signed-off-by: Sam James gentoo.org> eclass/toolchain.eclass | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 9304800f09f7..591ca98d7467 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1947,8 +1947,11 @@ toolchain_src_test() { # Go doesn't support this and causes noisy warnings filter-flags -Wbuiltin-declaration-mismatch + local suppress_warn="/-Wno-format/-Wno-format-security/-Wno-trampolines" + RUNTESTFLAGS+=" --target_board=unix\{${suppress_warn}" # TODO: Does this handle s390 (-m31) correctly? - is_multilib && GCC_TESTS_RUNTESTFLAGS+=" --target_board=unix\{,-m32\}" + is_multilib && GCC_TESTS_RUNTESTFLAGS+=" ,-m32/${suppress_warn}" + RUNTESTFLAGS+="\}" # nonfatal here as we die if the comparison below fails. Also, note that # the exit code of targets other than 'check' may be unreliable.