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 C16E715806E 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 C9BFDE07F9; Sun, 4 Jun 2023 04:38:21 +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 AC6DAE07F9 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 7DF55340FB2 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 A5AA5A5C 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: <1685853401.b00d86046fa4b65d76e564503de56b97f3e3d23e.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/llvm/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/llvm/llvm-16.0.4.ebuild sys-devel/llvm/llvm-16.0.5.9999.ebuild sys-devel/llvm/llvm-16.0.5.ebuild X-VCS-Directories: sys-devel/llvm/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: b00d86046fa4b65d76e564503de56b97f3e3d23e 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: 62980e52-1da2-4b9b-aab8-a37207acd796 X-Archives-Hash: 36ec6280b0e894bda7705b55838638a2 commit: b00d86046fa4b65d76e564503de56b97f3e3d23e Author: Sam James gentoo org> AuthorDate: Sun Jun 4 04:36:19 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sun Jun 4 04:36:41 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b00d8604 sys-devel/llvm: restore filter-lto for 16.x for now We've reverted it upstream for 16.x, but will be fixed for 17. Thanks to Holger Hoffstätte for pointing this out. Bug: https://bugs.gentoo.org/873670 Signed-off-by: Sam James gentoo.org> sys-devel/llvm/llvm-16.0.4.ebuild | 4 +++- sys-devel/llvm/llvm-16.0.5.9999.ebuild | 4 +++- sys-devel/llvm/llvm-16.0.5.ebuild | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/sys-devel/llvm/llvm-16.0.4.ebuild b/sys-devel/llvm/llvm-16.0.4.ebuild index 2d844e82840c..c72c4d351e80 100644 --- a/sys-devel/llvm/llvm-16.0.4.ebuild +++ b/sys-devel/llvm/llvm-16.0.4.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{9..11} ) -inherit cmake llvm.org multilib-minimal pax-utils python-any-r1 +inherit cmake flag-o-matic llvm.org multilib-minimal pax-utils python-any-r1 inherit toolchain-funcs DESCRIPTION="Low Level Virtual Machine" @@ -325,6 +325,8 @@ get_distribution_components() { } multilib_src_configure() { + tc-is-gcc && filter-lto # GCC miscompiles LLVM, bug #873670 + local ffi_cflags ffi_ldflags if use libffi; then ffi_cflags=$($(tc-getPKG_CONFIG) --cflags-only-I libffi) diff --git a/sys-devel/llvm/llvm-16.0.5.9999.ebuild b/sys-devel/llvm/llvm-16.0.5.9999.ebuild index 840748f0601b..7898a8cd400c 100644 --- a/sys-devel/llvm/llvm-16.0.5.9999.ebuild +++ b/sys-devel/llvm/llvm-16.0.5.9999.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{9..11} ) -inherit cmake llvm.org multilib-minimal pax-utils python-any-r1 +inherit cmake flag-o-matic llvm.org multilib-minimal pax-utils python-any-r1 inherit toolchain-funcs DESCRIPTION="Low Level Virtual Machine" @@ -325,6 +325,8 @@ get_distribution_components() { } multilib_src_configure() { + tc-is-gcc && filter-lto # GCC miscompiles LLVM, bug #873670 + local ffi_cflags ffi_ldflags if use libffi; then ffi_cflags=$($(tc-getPKG_CONFIG) --cflags-only-I libffi) diff --git a/sys-devel/llvm/llvm-16.0.5.ebuild b/sys-devel/llvm/llvm-16.0.5.ebuild index 2d844e82840c..c72c4d351e80 100644 --- a/sys-devel/llvm/llvm-16.0.5.ebuild +++ b/sys-devel/llvm/llvm-16.0.5.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{9..11} ) -inherit cmake llvm.org multilib-minimal pax-utils python-any-r1 +inherit cmake flag-o-matic llvm.org multilib-minimal pax-utils python-any-r1 inherit toolchain-funcs DESCRIPTION="Low Level Virtual Machine" @@ -325,6 +325,8 @@ get_distribution_components() { } multilib_src_configure() { + tc-is-gcc && filter-lto # GCC miscompiles LLVM, bug #873670 + local ffi_cflags ffi_ldflags if use libffi; then ffi_cflags=$($(tc-getPKG_CONFIG) --cflags-only-I libffi)