summaryrefslogtreecommitdiff
path: root/llvm-core
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2025-06-15 03:16:18 +0100
committerSam James <sam@gentoo.org>2025-06-15 03:16:18 +0100
commit4d7ca26805cb6beccb9e94c3f1a8964a966735d2 (patch)
tree17ebb327f5ee261ec9f9fe33048b64cfaa61942d /llvm-core
parent6b00b088dfe35e9f794499603eb5926a06d5cab0 (diff)
downloadgentoo-4d7ca26805cb6beccb9e94c3f1a8964a966735d2.tar.gz
gentoo-4d7ca26805cb6beccb9e94c3f1a8964a966735d2.tar.bz2
gentoo-4d7ca26805cb6beccb9e94c3f1a8964a966735d2.zip
llvm-core/llvm: drop obsolete ppc workaround
The fix has been backported to all applicable GCC branches for some time now. Bug: https://bugs.gentoo.org/880677 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'llvm-core')
-rw-r--r--llvm-core/llvm/llvm-15.0.7-r7.ebuild5
-rw-r--r--llvm-core/llvm/llvm-16.0.6-r5.ebuild5
-rw-r--r--llvm-core/llvm/llvm-17.0.6-r3.ebuild5
-rw-r--r--llvm-core/llvm/llvm-18.1.8-r6.ebuild7
-rw-r--r--llvm-core/llvm/llvm-19.1.7.ebuild5
-rw-r--r--llvm-core/llvm/llvm-20.1.7.ebuild5
-rw-r--r--llvm-core/llvm/llvm-21.0.0.9999.ebuild5
-rw-r--r--llvm-core/llvm/llvm-21.0.0_pre20250607.ebuild5
-rw-r--r--llvm-core/llvm/llvm-21.0.0_pre20250614.ebuild5
9 files changed, 1 insertions, 46 deletions
diff --git a/llvm-core/llvm/llvm-15.0.7-r7.ebuild b/llvm-core/llvm/llvm-15.0.7-r7.ebuild
index 61161d1dc79d..04f64e49be11 100644
--- a/llvm-core/llvm/llvm-15.0.7-r7.ebuild
+++ b/llvm-core/llvm/llvm-15.0.7-r7.ebuild
@@ -327,11 +327,6 @@ get_distribution_components() {
}
multilib_src_configure() {
- if use ppc && tc-is-gcc && [[ $(gcc-major-version) -lt 14 ]]; then
- # Workaround for bug #880677
- append-flags $(test-flags-CXX -fno-ipa-sra -fno-ipa-modref -fno-ipa-icf)
- fi
-
# ODR violations (bug #917536, bug #926529). Just do it for GCC for now
# to avoid people grumbling. GCC is, anecdotally, more likely to miscompile
# LLVM with LTO anyway (which is not necessarily its fault).
diff --git a/llvm-core/llvm/llvm-16.0.6-r5.ebuild b/llvm-core/llvm/llvm-16.0.6-r5.ebuild
index fd12854df95b..de8cee98eb23 100644
--- a/llvm-core/llvm/llvm-16.0.6-r5.ebuild
+++ b/llvm-core/llvm/llvm-16.0.6-r5.ebuild
@@ -324,11 +324,6 @@ get_distribution_components() {
}
multilib_src_configure() {
- if use ppc && tc-is-gcc && [[ $(gcc-major-version) -lt 14 ]]; then
- # Workaround for bug #880677
- append-flags $(test-flags-CXX -fno-ipa-sra -fno-ipa-modref -fno-ipa-icf)
- fi
-
# ODR violations (bug #917536, bug #926529). Just do it for GCC for now
# to avoid people grumbling. GCC is, anecdotally, more likely to miscompile
# LLVM with LTO anyway (which is not necessarily its fault).
diff --git a/llvm-core/llvm/llvm-17.0.6-r3.ebuild b/llvm-core/llvm/llvm-17.0.6-r3.ebuild
index 313ba4b209d4..cb29cb03b59d 100644
--- a/llvm-core/llvm/llvm-17.0.6-r3.ebuild
+++ b/llvm-core/llvm/llvm-17.0.6-r3.ebuild
@@ -338,11 +338,6 @@ get_distribution_components() {
}
multilib_src_configure() {
- if use ppc && tc-is-gcc && [[ $(gcc-major-version) -lt 14 ]]; then
- # Workaround for bug #880677
- append-flags $(test-flags-CXX -fno-ipa-sra -fno-ipa-modref -fno-ipa-icf)
- fi
-
# ODR violations (bug #917536, bug #926529). Just do it for GCC for now
# to avoid people grumbling. GCC is, anecdotally, more likely to miscompile
# LLVM with LTO anyway (which is not necessarily its fault).
diff --git a/llvm-core/llvm/llvm-18.1.8-r6.ebuild b/llvm-core/llvm/llvm-18.1.8-r6.ebuild
index 00ab7c11855d..4cb83c172bd4 100644
--- a/llvm-core/llvm/llvm-18.1.8-r6.ebuild
+++ b/llvm-core/llvm/llvm-18.1.8-r6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -347,11 +347,6 @@ get_distribution_components() {
}
multilib_src_configure() {
- if use ppc && tc-is-gcc && [[ $(gcc-major-version) -lt 14 ]]; then
- # Workaround for bug #880677
- append-flags $(test-flags-CXX -fno-ipa-sra -fno-ipa-modref -fno-ipa-icf)
- fi
-
# ODR violations (bug #917536, bug #926529). Just do it for GCC for now
# to avoid people grumbling. GCC is, anecdotally, more likely to miscompile
# LLVM with LTO anyway (which is not necessarily its fault).
diff --git a/llvm-core/llvm/llvm-19.1.7.ebuild b/llvm-core/llvm/llvm-19.1.7.ebuild
index 5933d876face..9b764d0c9390 100644
--- a/llvm-core/llvm/llvm-19.1.7.ebuild
+++ b/llvm-core/llvm/llvm-19.1.7.ebuild
@@ -351,11 +351,6 @@ get_distribution_components() {
}
multilib_src_configure() {
- if use ppc && tc-is-gcc && [[ $(gcc-major-version) -lt 14 ]]; then
- # Workaround for bug #880677
- append-flags $(test-flags-CXX -fno-ipa-sra -fno-ipa-modref -fno-ipa-icf)
- fi
-
# ODR violations (bug #917536, bug #926529). Just do it for GCC for now
# to avoid people grumbling. GCC is, anecdotally, more likely to miscompile
# LLVM with LTO anyway (which is not necessarily its fault).
diff --git a/llvm-core/llvm/llvm-20.1.7.ebuild b/llvm-core/llvm/llvm-20.1.7.ebuild
index 4f93ed5f371a..0f40732a341c 100644
--- a/llvm-core/llvm/llvm-20.1.7.ebuild
+++ b/llvm-core/llvm/llvm-20.1.7.ebuild
@@ -363,11 +363,6 @@ get_distribution_components() {
}
multilib_src_configure() {
- if use ppc && tc-is-gcc && [[ $(gcc-major-version) -lt 14 ]]; then
- # Workaround for bug #880677
- append-flags $(test-flags-CXX -fno-ipa-sra -fno-ipa-modref -fno-ipa-icf)
- fi
-
# ODR violations (bug #917536, bug #926529). Just do it for GCC for now
# to avoid people grumbling. GCC is, anecdotally, more likely to miscompile
# LLVM with LTO anyway (which is not necessarily its fault).
diff --git a/llvm-core/llvm/llvm-21.0.0.9999.ebuild b/llvm-core/llvm/llvm-21.0.0.9999.ebuild
index 060d87066ea6..1fb82efc6002 100644
--- a/llvm-core/llvm/llvm-21.0.0.9999.ebuild
+++ b/llvm-core/llvm/llvm-21.0.0.9999.ebuild
@@ -370,11 +370,6 @@ get_distribution_components() {
}
multilib_src_configure() {
- if use ppc && tc-is-gcc && [[ $(gcc-major-version) -lt 14 ]]; then
- # Workaround for bug #880677
- append-flags $(test-flags-CXX -fno-ipa-sra -fno-ipa-modref -fno-ipa-icf)
- fi
-
# ODR violations (bug #917536, bug #926529). Just do it for GCC for now
# to avoid people grumbling. GCC is, anecdotally, more likely to miscompile
# LLVM with LTO anyway (which is not necessarily its fault).
diff --git a/llvm-core/llvm/llvm-21.0.0_pre20250607.ebuild b/llvm-core/llvm/llvm-21.0.0_pre20250607.ebuild
index 11027341dece..a9952d187bef 100644
--- a/llvm-core/llvm/llvm-21.0.0_pre20250607.ebuild
+++ b/llvm-core/llvm/llvm-21.0.0_pre20250607.ebuild
@@ -369,11 +369,6 @@ get_distribution_components() {
}
multilib_src_configure() {
- if use ppc && tc-is-gcc && [[ $(gcc-major-version) -lt 14 ]]; then
- # Workaround for bug #880677
- append-flags $(test-flags-CXX -fno-ipa-sra -fno-ipa-modref -fno-ipa-icf)
- fi
-
# ODR violations (bug #917536, bug #926529). Just do it for GCC for now
# to avoid people grumbling. GCC is, anecdotally, more likely to miscompile
# LLVM with LTO anyway (which is not necessarily its fault).
diff --git a/llvm-core/llvm/llvm-21.0.0_pre20250614.ebuild b/llvm-core/llvm/llvm-21.0.0_pre20250614.ebuild
index 060d87066ea6..1fb82efc6002 100644
--- a/llvm-core/llvm/llvm-21.0.0_pre20250614.ebuild
+++ b/llvm-core/llvm/llvm-21.0.0_pre20250614.ebuild
@@ -370,11 +370,6 @@ get_distribution_components() {
}
multilib_src_configure() {
- if use ppc && tc-is-gcc && [[ $(gcc-major-version) -lt 14 ]]; then
- # Workaround for bug #880677
- append-flags $(test-flags-CXX -fno-ipa-sra -fno-ipa-modref -fno-ipa-icf)
- fi
-
# ODR violations (bug #917536, bug #926529). Just do it for GCC for now
# to avoid people grumbling. GCC is, anecdotally, more likely to miscompile
# LLVM with LTO anyway (which is not necessarily its fault).