From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1517349-garchives=archives.gentoo.org@lists.gentoo.org> 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 95D1B15AD33 for <garchives@archives.gentoo.org>; Thu, 11 May 2023 01:24:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 49A41E0BF3; Thu, 11 May 2023 01:24:51 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2CEB8E0BF2 for <gentoo-commits@lists.gentoo.org>; Thu, 11 May 2023 01:24:51 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D2F92340D0A for <gentoo-commits@lists.gentoo.org>; Thu, 11 May 2023 01:24:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 22411A5F for <gentoo-commits@lists.gentoo.org>; Thu, 11 May 2023 01:24:48 +0000 (UTC) From: "Sam James" <sam@gentoo.org> 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" <sam@gentoo.org> Message-ID: <1683768281.e34b593e10a86ffc61d54f113729b3fb556b46c0.sam@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/install-qa-check.d/ X-VCS-Repository: proj/portage X-VCS-Files: bin/install-qa-check.d/90config-impl-decl X-VCS-Directories: bin/install-qa-check.d/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: e34b593e10a86ffc61d54f113729b3fb556b46c0 X-VCS-Branch: master Date: Thu, 11 May 2023 01:24:48 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 82a3a3be-14c1-419e-97b6-5746c469848b X-Archives-Hash: f63a5e089e1f51ac29d1aa1f1610253a commit: e34b593e10a86ffc61d54f113729b3fb556b46c0 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> AuthorDate: Wed May 10 01:28:12 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu May 11 01:24:41 2023 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=e34b593e install-qa-check.d/90config-impl-decl: Skip compiler built-ins Bug: https://bugs.gentoo.org/879687 Bug: https://bugs.gentoo.org/898232 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> Signed-off-by: Sam James <sam <AT> gentoo.org> bin/install-qa-check.d/90config-impl-decl | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/bin/install-qa-check.d/90config-impl-decl b/bin/install-qa-check.d/90config-impl-decl index 7eb7dcff9..43be4222b 100644 --- a/bin/install-qa-check.d/90config-impl-decl +++ b/bin/install-qa-check.d/90config-impl-decl @@ -31,6 +31,17 @@ is_in() { return 1 } +add_default_skips() { + # Skip built-in functions provided by the compiler + QA_CONFIG_IMPL_DECL_SKIP+=( + "__builtin_*" + # https://gcc.gnu.org/onlinedocs/gcc/_005f_005fsync-Builtins.html + "__sync_*" + # https://gcc.gnu.org/onlinedocs/gcc/_005f_005fatomic-Builtins.html + "__atomic_*" + ) +} + find_log_targets() { local log_targets=( 'config.log' @@ -68,6 +79,8 @@ config_impl_decl_check() { local re_asc local is_utf8 + add_default_skips + # Given the UTF-8 character type, both gcc and clang may enclose the # function name between the LEFT SINGLE QUOTATION MARK and RIGHT SINGLE # QUOTATION MARK codepoints.