From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1598454-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 C731A15815E
	for <garchives@archives.gentoo.org>; Thu,  8 Feb 2024 04:36:14 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 176E0E2A19;
	Thu,  8 Feb 2024 04:36:14 +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))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id AACFAE2A19
	for <gentoo-commits@lists.gentoo.org>; Thu,  8 Feb 2024 04:36:13 +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 E7845343168
	for <gentoo-commits@lists.gentoo.org>; Thu,  8 Feb 2024 04:36:12 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 82651118C
	for <gentoo-commits@lists.gentoo.org>; Thu,  8 Feb 2024 04:36:11 +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: <1707366906.5581ce5fa68491c5318b1773e232d443186f078b.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-15.0.7-r3.ebuild sys-devel/llvm/llvm-16.0.6.ebuild sys-devel/llvm/llvm-17.0.6.ebuild sys-devel/llvm/llvm-18.1.0_rc1.ebuild sys-devel/llvm/llvm-18.1.0_rc2.ebuild sys-devel/llvm/llvm-19.0.0.9999.ebuild sys-devel/llvm/llvm-19.0.0_pre20240127.ebuild sys-devel/llvm/llvm-19.0.0_pre20240203.ebuild
X-VCS-Directories: sys-devel/llvm/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 5581ce5fa68491c5318b1773e232d443186f078b
X-VCS-Branch: master
Date: Thu,  8 Feb 2024 04:36:11 +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: 19070b94-d456-437a-ab34-1a4c3899935e
X-Archives-Hash: 0fd0e91ebde6244a676d34c382d0c8b4

commit:     5581ce5fa68491c5318b1773e232d443186f078b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Feb  8 03:35:16 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Feb  8 04:35:06 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5581ce5f

sys-devel/llvm: drop old <gcc-7.4 workaround

Bug: https://bugs.gentoo.org/649880
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-devel/llvm/llvm-15.0.7-r3.ebuild          | 10 ----------
 sys-devel/llvm/llvm-16.0.6.ebuild             | 10 ----------
 sys-devel/llvm/llvm-17.0.6.ebuild             | 10 ----------
 sys-devel/llvm/llvm-18.1.0_rc1.ebuild         | 10 ----------
 sys-devel/llvm/llvm-18.1.0_rc2.ebuild         | 10 ----------
 sys-devel/llvm/llvm-19.0.0.9999.ebuild        | 10 ----------
 sys-devel/llvm/llvm-19.0.0_pre20240127.ebuild | 10 ----------
 sys-devel/llvm/llvm-19.0.0_pre20240203.ebuild | 10 ----------
 8 files changed, 80 deletions(-)

diff --git a/sys-devel/llvm/llvm-15.0.7-r3.ebuild b/sys-devel/llvm/llvm-15.0.7-r3.ebuild
index 160bfbcfd462..438fd4add8ae 100644
--- a/sys-devel/llvm/llvm-15.0.7-r3.ebuild
+++ b/sys-devel/llvm/llvm-15.0.7-r3.ebuild
@@ -426,16 +426,6 @@ multilib_src_configure() {
 		)
 	fi
 
-	# workaround BMI bug in gcc-7 (fixed in 7.4)
-	# https://bugs.gentoo.org/649880
-	# apply only to x86, https://bugs.gentoo.org/650506
-	if tc-is-gcc && [[ ${MULTILIB_ABI_FLAG} == abi_x86* ]] &&
-			[[ $(gcc-major-version) -eq 7 && $(gcc-minor-version) -lt 4 ]]
-	then
-		local CFLAGS="${CFLAGS} -mno-bmi"
-		local CXXFLAGS="${CXXFLAGS} -mno-bmi"
-	fi
-
 	# LLVM can have very high memory consumption while linking,
 	# exhausting the limit on 32-bit linker executable
 	use x86 && local -x LDFLAGS="${LDFLAGS} -Wl,--no-keep-memory"

diff --git a/sys-devel/llvm/llvm-16.0.6.ebuild b/sys-devel/llvm/llvm-16.0.6.ebuild
index b3a0f69644fb..809dbc7f3b8c 100644
--- a/sys-devel/llvm/llvm-16.0.6.ebuild
+++ b/sys-devel/llvm/llvm-16.0.6.ebuild
@@ -431,16 +431,6 @@ multilib_src_configure() {
 		-DTerminfo_LIBRARIES=-lncurses
 	)
 
-	# workaround BMI bug in gcc-7 (fixed in 7.4)
-	# https://bugs.gentoo.org/649880
-	# apply only to x86, https://bugs.gentoo.org/650506
-	if tc-is-gcc && [[ ${MULTILIB_ABI_FLAG} == abi_x86* ]] &&
-			[[ $(gcc-major-version) -eq 7 && $(gcc-minor-version) -lt 4 ]]
-	then
-		local CFLAGS="${CFLAGS} -mno-bmi"
-		local CXXFLAGS="${CXXFLAGS} -mno-bmi"
-	fi
-
 	# LLVM can have very high memory consumption while linking,
 	# exhausting the limit on 32-bit linker executable
 	use x86 && local -x LDFLAGS="${LDFLAGS} -Wl,--no-keep-memory"

diff --git a/sys-devel/llvm/llvm-17.0.6.ebuild b/sys-devel/llvm/llvm-17.0.6.ebuild
index 7adb816d2e32..8a87d9e2e08f 100644
--- a/sys-devel/llvm/llvm-17.0.6.ebuild
+++ b/sys-devel/llvm/llvm-17.0.6.ebuild
@@ -446,16 +446,6 @@ multilib_src_configure() {
 		-DTerminfo_LIBRARIES=-lncurses
 	)
 
-	# workaround BMI bug in gcc-7 (fixed in 7.4)
-	# https://bugs.gentoo.org/649880
-	# apply only to x86, https://bugs.gentoo.org/650506
-	if tc-is-gcc && [[ ${MULTILIB_ABI_FLAG} == abi_x86* ]] &&
-			[[ $(gcc-major-version) -eq 7 && $(gcc-minor-version) -lt 4 ]]
-	then
-		local CFLAGS="${CFLAGS} -mno-bmi"
-		local CXXFLAGS="${CXXFLAGS} -mno-bmi"
-	fi
-
 	# LLVM can have very high memory consumption while linking,
 	# exhausting the limit on 32-bit linker executable
 	use x86 && local -x LDFLAGS="${LDFLAGS} -Wl,--no-keep-memory"

diff --git a/sys-devel/llvm/llvm-18.1.0_rc1.ebuild b/sys-devel/llvm/llvm-18.1.0_rc1.ebuild
index 23646ea90d8a..8ff126c7d4a1 100644
--- a/sys-devel/llvm/llvm-18.1.0_rc1.ebuild
+++ b/sys-devel/llvm/llvm-18.1.0_rc1.ebuild
@@ -446,16 +446,6 @@ multilib_src_configure() {
 		-DTerminfo_LIBRARIES=-lncurses
 	)
 
-	# workaround BMI bug in gcc-7 (fixed in 7.4)
-	# https://bugs.gentoo.org/649880
-	# apply only to x86, https://bugs.gentoo.org/650506
-	if tc-is-gcc && [[ ${MULTILIB_ABI_FLAG} == abi_x86* ]] &&
-			[[ $(gcc-major-version) -eq 7 && $(gcc-minor-version) -lt 4 ]]
-	then
-		local CFLAGS="${CFLAGS} -mno-bmi"
-		local CXXFLAGS="${CXXFLAGS} -mno-bmi"
-	fi
-
 	# LLVM can have very high memory consumption while linking,
 	# exhausting the limit on 32-bit linker executable
 	use x86 && local -x LDFLAGS="${LDFLAGS} -Wl,--no-keep-memory"

diff --git a/sys-devel/llvm/llvm-18.1.0_rc2.ebuild b/sys-devel/llvm/llvm-18.1.0_rc2.ebuild
index 23646ea90d8a..8ff126c7d4a1 100644
--- a/sys-devel/llvm/llvm-18.1.0_rc2.ebuild
+++ b/sys-devel/llvm/llvm-18.1.0_rc2.ebuild
@@ -446,16 +446,6 @@ multilib_src_configure() {
 		-DTerminfo_LIBRARIES=-lncurses
 	)
 
-	# workaround BMI bug in gcc-7 (fixed in 7.4)
-	# https://bugs.gentoo.org/649880
-	# apply only to x86, https://bugs.gentoo.org/650506
-	if tc-is-gcc && [[ ${MULTILIB_ABI_FLAG} == abi_x86* ]] &&
-			[[ $(gcc-major-version) -eq 7 && $(gcc-minor-version) -lt 4 ]]
-	then
-		local CFLAGS="${CFLAGS} -mno-bmi"
-		local CXXFLAGS="${CXXFLAGS} -mno-bmi"
-	fi
-
 	# LLVM can have very high memory consumption while linking,
 	# exhausting the limit on 32-bit linker executable
 	use x86 && local -x LDFLAGS="${LDFLAGS} -Wl,--no-keep-memory"

diff --git a/sys-devel/llvm/llvm-19.0.0.9999.ebuild b/sys-devel/llvm/llvm-19.0.0.9999.ebuild
index 23646ea90d8a..8ff126c7d4a1 100644
--- a/sys-devel/llvm/llvm-19.0.0.9999.ebuild
+++ b/sys-devel/llvm/llvm-19.0.0.9999.ebuild
@@ -446,16 +446,6 @@ multilib_src_configure() {
 		-DTerminfo_LIBRARIES=-lncurses
 	)
 
-	# workaround BMI bug in gcc-7 (fixed in 7.4)
-	# https://bugs.gentoo.org/649880
-	# apply only to x86, https://bugs.gentoo.org/650506
-	if tc-is-gcc && [[ ${MULTILIB_ABI_FLAG} == abi_x86* ]] &&
-			[[ $(gcc-major-version) -eq 7 && $(gcc-minor-version) -lt 4 ]]
-	then
-		local CFLAGS="${CFLAGS} -mno-bmi"
-		local CXXFLAGS="${CXXFLAGS} -mno-bmi"
-	fi
-
 	# LLVM can have very high memory consumption while linking,
 	# exhausting the limit on 32-bit linker executable
 	use x86 && local -x LDFLAGS="${LDFLAGS} -Wl,--no-keep-memory"

diff --git a/sys-devel/llvm/llvm-19.0.0_pre20240127.ebuild b/sys-devel/llvm/llvm-19.0.0_pre20240127.ebuild
index a0c0d6fa41d6..9eac831f058b 100644
--- a/sys-devel/llvm/llvm-19.0.0_pre20240127.ebuild
+++ b/sys-devel/llvm/llvm-19.0.0_pre20240127.ebuild
@@ -447,16 +447,6 @@ multilib_src_configure() {
 		-DTerminfo_LIBRARIES=-lncurses
 	)
 
-	# workaround BMI bug in gcc-7 (fixed in 7.4)
-	# https://bugs.gentoo.org/649880
-	# apply only to x86, https://bugs.gentoo.org/650506
-	if tc-is-gcc && [[ ${MULTILIB_ABI_FLAG} == abi_x86* ]] &&
-			[[ $(gcc-major-version) -eq 7 && $(gcc-minor-version) -lt 4 ]]
-	then
-		local CFLAGS="${CFLAGS} -mno-bmi"
-		local CXXFLAGS="${CXXFLAGS} -mno-bmi"
-	fi
-
 	# LLVM can have very high memory consumption while linking,
 	# exhausting the limit on 32-bit linker executable
 	use x86 && local -x LDFLAGS="${LDFLAGS} -Wl,--no-keep-memory"

diff --git a/sys-devel/llvm/llvm-19.0.0_pre20240203.ebuild b/sys-devel/llvm/llvm-19.0.0_pre20240203.ebuild
index 23646ea90d8a..8ff126c7d4a1 100644
--- a/sys-devel/llvm/llvm-19.0.0_pre20240203.ebuild
+++ b/sys-devel/llvm/llvm-19.0.0_pre20240203.ebuild
@@ -446,16 +446,6 @@ multilib_src_configure() {
 		-DTerminfo_LIBRARIES=-lncurses
 	)
 
-	# workaround BMI bug in gcc-7 (fixed in 7.4)
-	# https://bugs.gentoo.org/649880
-	# apply only to x86, https://bugs.gentoo.org/650506
-	if tc-is-gcc && [[ ${MULTILIB_ABI_FLAG} == abi_x86* ]] &&
-			[[ $(gcc-major-version) -eq 7 && $(gcc-minor-version) -lt 4 ]]
-	then
-		local CFLAGS="${CFLAGS} -mno-bmi"
-		local CXXFLAGS="${CXXFLAGS} -mno-bmi"
-	fi
-
 	# LLVM can have very high memory consumption while linking,
 	# exhausting the limit on 32-bit linker executable
 	use x86 && local -x LDFLAGS="${LDFLAGS} -Wl,--no-keep-memory"