From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id CA3791580E0 for ; Wed, 29 Jan 2025 21:25:25 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id AEBFD342FEA for ; Wed, 29 Jan 2025 21:25:25 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 8088F1103B6; Wed, 29 Jan 2025 21:25:24 +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 bobolink.gentoo.org (Postfix) with ESMTPS id 75E501103B6 for ; Wed, 29 Jan 2025 21:25:24 +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 20CC0342FB7 for ; Wed, 29 Jan 2025 21:25:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 778231979 for ; Wed, 29 Jan 2025 21:25:22 +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: <1738185861.34330ce1861e63a03e38f014ecee3bdb82914d80.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-common/ X-VCS-Repository: repo/gentoo X-VCS-Files: llvm-core/clang-common/metadata.xml X-VCS-Directories: llvm-core/clang-common/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 34330ce1861e63a03e38f014ecee3bdb82914d80 X-VCS-Branch: master Date: Wed, 29 Jan 2025 21:25:22 +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: 241425cd-7aa6-41f6-8dfd-e701fca3243c X-Archives-Hash: a1ed1b89c832dee1f48d8f76f66d7b3a commit: 34330ce1861e63a03e38f014ecee3bdb82914d80 Author: Sam James gentoo org> AuthorDate: Wed Jan 29 21:24:08 2025 +0000 Commit: Sam James gentoo org> CommitDate: Wed Jan 29 21:24:21 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34330ce1 llvm-core/clang-common: make USE=default-libcxx description scary Bug: https://bugs.gentoo.org/944478 Signed-off-by: Sam James gentoo.org> llvm-core/clang-common/metadata.xml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/llvm-core/clang-common/metadata.xml b/llvm-core/clang-common/metadata.xml index da45c87b0e27..a4b5da44a19b 100644 --- a/llvm-core/clang-common/metadata.xml +++ b/llvm-core/clang-common/metadata.xml @@ -20,7 +20,13 @@ but provides no benefit either. Use compiler-rt + libunwind instead of libgcc as the default rtlib for clang - Use libc++ instead of libstdc++ as the default stdlib for clang + + Use libc++ instead of libstdc++ as the default stdlib for clang. + + Beware: this breaks ABI, producing binaries incompatible with those + built with GCC or Clang using libstdc++. Do not set unless you know + what you're doing. + Use lld as the default linker for clang Default to stricter behavior known from newer clang versions, turning more warnings into errors