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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 646D415806E for ; Sun, 4 Jun 2023 04:38:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A94ABE07F6; Sun, 4 Jun 2023 04:38:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 90507E07F6 for ; Sun, 4 Jun 2023 04:38:21 +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 71F43340FAC for ; Sun, 4 Jun 2023 04:38:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B9927A6B for ; Sun, 4 Jun 2023 04:38:18 +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: <1685853464.6acf6385d4837b8e52399322b3b789fee9d77274.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/clang/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/clang/clang-16.0.4.ebuild sys-devel/clang/clang-16.0.5.9999.ebuild sys-devel/clang/clang-16.0.5.ebuild X-VCS-Directories: sys-devel/clang/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 6acf6385d4837b8e52399322b3b789fee9d77274 X-VCS-Branch: master Date: Sun, 4 Jun 2023 04:38:18 +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: dc11ca8f-f575-42a6-97a1-f09d2514f3ee X-Archives-Hash: cd730296800f7553c764005f6f3ed460 commit: 6acf6385d4837b8e52399322b3b789fee9d77274 Author: Sam James gentoo org> AuthorDate: Sun Jun 4 04:37:20 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sun Jun 4 04:37:44 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6acf6385 sys-devel/clang: restore filter-lto for 16.x for now We've reverted it upstream for 16.x, but will be fixed for 17. Bug: https://bugs.gentoo.org/873670 Signed-off-by: Sam James gentoo.org> sys-devel/clang/clang-16.0.4.ebuild | 4 +++- sys-devel/clang/clang-16.0.5.9999.ebuild | 4 +++- sys-devel/clang/clang-16.0.5.ebuild | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/sys-devel/clang/clang-16.0.4.ebuild b/sys-devel/clang/clang-16.0.4.ebuild index a6f929936e58..df30d842374c 100644 --- a/sys-devel/clang/clang-16.0.4.ebuild +++ b/sys-devel/clang/clang-16.0.4.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{9..11} ) -inherit cmake llvm llvm.org multilib multilib-minimal +inherit cmake flag-o-matic llvm llvm.org multilib multilib-minimal inherit prefix python-single-r1 toolchain-funcs DESCRIPTION="C language family frontend for LLVM" @@ -255,6 +255,8 @@ get_distribution_components() { } multilib_src_configure() { + tc-is-gcc && filter-lto # GCC miscompiles LLVM, bug #873670 + local mycmakeargs=( -DDEFAULT_SYSROOT=$(usex prefix-guest "" "${EPREFIX}") -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}" diff --git a/sys-devel/clang/clang-16.0.5.9999.ebuild b/sys-devel/clang/clang-16.0.5.9999.ebuild index 76f5d288b711..8a26831b2e61 100644 --- a/sys-devel/clang/clang-16.0.5.9999.ebuild +++ b/sys-devel/clang/clang-16.0.5.9999.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{9..11} ) -inherit cmake llvm llvm.org multilib multilib-minimal +inherit cmake flag-o-matic llvm llvm.org multilib multilib-minimal inherit prefix python-single-r1 toolchain-funcs DESCRIPTION="C language family frontend for LLVM" @@ -255,6 +255,8 @@ get_distribution_components() { } multilib_src_configure() { + tc-is-gcc && filter-lto # GCC miscompiles LLVM, bug #873670 + local mycmakeargs=( -DDEFAULT_SYSROOT=$(usex prefix-guest "" "${EPREFIX}") -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}" diff --git a/sys-devel/clang/clang-16.0.5.ebuild b/sys-devel/clang/clang-16.0.5.ebuild index a6f929936e58..df30d842374c 100644 --- a/sys-devel/clang/clang-16.0.5.ebuild +++ b/sys-devel/clang/clang-16.0.5.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{9..11} ) -inherit cmake llvm llvm.org multilib multilib-minimal +inherit cmake flag-o-matic llvm llvm.org multilib multilib-minimal inherit prefix python-single-r1 toolchain-funcs DESCRIPTION="C language family frontend for LLVM" @@ -255,6 +255,8 @@ get_distribution_components() { } multilib_src_configure() { + tc-is-gcc && filter-lto # GCC miscompiles LLVM, bug #873670 + local mycmakeargs=( -DDEFAULT_SYSROOT=$(usex prefix-guest "" "${EPREFIX}") -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}"