summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-03-07 13:09:29 +0000
committerSam James <sam@gentoo.org>2024-03-07 13:09:29 +0000
commitf900949be85e2b2b21cd68b7f5163208d0429028 (patch)
treeba2fe4219cd93b7256a357ea8b85087af2f1f233 /sys-devel/binutils
parentsys-devel/binutils: pass --disable-gdbserver too (diff)
downloadgentoo-f900949be85e2b2b21cd68b7f5163208d0429028.tar.gz
gentoo-f900949be85e2b2b21cd68b7f5163208d0429028.tar.bz2
gentoo-f900949be85e2b2b21cd68b7f5163208d0429028.zip
sys-devel/binutils: add workaround for libbacktrace tests
They fail with >=app-arch/xz-utils-5.6.0 until libbacktrace is synced upstream, export XZ_OPT & XZ_DEFAULTS with -T1 to workaround that. Bug: https://sourceware.org/PR31327 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-devel/binutils')
-rw-r--r--sys-devel/binutils/binutils-2.32-r2.ebuild4
-rw-r--r--sys-devel/binutils/binutils-2.33.1-r1.ebuild4
-rw-r--r--sys-devel/binutils/binutils-2.34-r2.ebuild4
-rw-r--r--sys-devel/binutils/binutils-2.35.2.ebuild4
-rw-r--r--sys-devel/binutils/binutils-2.36.1-r2.ebuild4
-rw-r--r--sys-devel/binutils/binutils-2.37_p1-r2.ebuild4
-rw-r--r--sys-devel/binutils/binutils-2.38-r2.ebuild4
-rw-r--r--sys-devel/binutils/binutils-2.39-r5.ebuild4
-rw-r--r--sys-devel/binutils/binutils-2.40-r9.ebuild4
-rw-r--r--sys-devel/binutils/binutils-2.41-r2.ebuild4
-rw-r--r--sys-devel/binutils/binutils-2.41-r3.ebuild4
-rw-r--r--sys-devel/binutils/binutils-2.41-r4.ebuild4
-rw-r--r--sys-devel/binutils/binutils-2.41-r5.ebuild4
-rw-r--r--sys-devel/binutils/binutils-2.42-r1.ebuild4
-rw-r--r--sys-devel/binutils/binutils-9999.ebuild4
15 files changed, 60 insertions, 0 deletions
diff --git a/sys-devel/binutils/binutils-2.32-r2.ebuild b/sys-devel/binutils/binutils-2.32-r2.ebuild
index 0fcdb18847bf..1603eecf56a5 100644
--- a/sys-devel/binutils/binutils-2.32-r2.ebuild
+++ b/sys-devel/binutils/binutils-2.32-r2.ebuild
@@ -281,6 +281,10 @@ src_compile() {
src_test() {
cd "${MY_BUILDDIR}"
+ # https://sourceware.org/PR31327
+ local -x XZ_OPT="-T1"
+ local -x XZ_DEFAULTS="-T1"
+
# bug 637066
filter-flags -Wall -Wreturn-type
diff --git a/sys-devel/binutils/binutils-2.33.1-r1.ebuild b/sys-devel/binutils/binutils-2.33.1-r1.ebuild
index 748cab6ef93a..1407f814db9d 100644
--- a/sys-devel/binutils/binutils-2.33.1-r1.ebuild
+++ b/sys-devel/binutils/binutils-2.33.1-r1.ebuild
@@ -274,6 +274,10 @@ src_compile() {
src_test() {
cd "${MY_BUILDDIR}"
+ # https://sourceware.org/PR31327
+ local -x XZ_OPT="-T1"
+ local -x XZ_DEFAULTS="-T1"
+
# bug 637066
filter-flags -Wall -Wreturn-type
diff --git a/sys-devel/binutils/binutils-2.34-r2.ebuild b/sys-devel/binutils/binutils-2.34-r2.ebuild
index 42d6d1910d24..c4bd1379ccef 100644
--- a/sys-devel/binutils/binutils-2.34-r2.ebuild
+++ b/sys-devel/binutils/binutils-2.34-r2.ebuild
@@ -275,6 +275,10 @@ src_compile() {
src_test() {
cd "${MY_BUILDDIR}"
+ # https://sourceware.org/PR31327
+ local -x XZ_OPT="-T1"
+ local -x XZ_DEFAULTS="-T1"
+
# bug 637066
filter-flags -Wall -Wreturn-type
diff --git a/sys-devel/binutils/binutils-2.35.2.ebuild b/sys-devel/binutils/binutils-2.35.2.ebuild
index 2dd287d2dce6..9e076a637ae7 100644
--- a/sys-devel/binutils/binutils-2.35.2.ebuild
+++ b/sys-devel/binutils/binutils-2.35.2.ebuild
@@ -299,6 +299,10 @@ src_compile() {
src_test() {
cd "${MY_BUILDDIR}"
+ # https://sourceware.org/PR31327
+ local -x XZ_OPT="-T1"
+ local -x XZ_DEFAULTS="-T1"
+
# bug 637066
filter-flags -Wall -Wreturn-type
diff --git a/sys-devel/binutils/binutils-2.36.1-r2.ebuild b/sys-devel/binutils/binutils-2.36.1-r2.ebuild
index 2f20daa4bb5c..84cfcde9b0e4 100644
--- a/sys-devel/binutils/binutils-2.36.1-r2.ebuild
+++ b/sys-devel/binutils/binutils-2.36.1-r2.ebuild
@@ -294,6 +294,10 @@ src_compile() {
src_test() {
cd "${MY_BUILDDIR}"
+ # https://sourceware.org/PR31327
+ local -x XZ_OPT="-T1"
+ local -x XZ_DEFAULTS="-T1"
+
# bug 637066
filter-flags -Wall -Wreturn-type
diff --git a/sys-devel/binutils/binutils-2.37_p1-r2.ebuild b/sys-devel/binutils/binutils-2.37_p1-r2.ebuild
index 4d35c922704a..766e5f40ec38 100644
--- a/sys-devel/binutils/binutils-2.37_p1-r2.ebuild
+++ b/sys-devel/binutils/binutils-2.37_p1-r2.ebuild
@@ -313,6 +313,10 @@ src_compile() {
src_test() {
cd "${MY_BUILDDIR}"
+ # https://sourceware.org/PR31327
+ local -x XZ_OPT="-T1"
+ local -x XZ_DEFAULTS="-T1"
+
# bug 637066
filter-flags -Wall -Wreturn-type
diff --git a/sys-devel/binutils/binutils-2.38-r2.ebuild b/sys-devel/binutils/binutils-2.38-r2.ebuild
index a9791fe4dfa9..18e577f9b7d8 100644
--- a/sys-devel/binutils/binutils-2.38-r2.ebuild
+++ b/sys-devel/binutils/binutils-2.38-r2.ebuild
@@ -321,6 +321,10 @@ src_compile() {
src_test() {
cd "${MY_BUILDDIR}"
+ # https://sourceware.org/PR31327
+ local -x XZ_OPT="-T1"
+ local -x XZ_DEFAULTS="-T1"
+
# bug 637066
filter-flags -Wall -Wreturn-type
diff --git a/sys-devel/binutils/binutils-2.39-r5.ebuild b/sys-devel/binutils/binutils-2.39-r5.ebuild
index c9f86dbbc0be..859d8ca96be5 100644
--- a/sys-devel/binutils/binutils-2.39-r5.ebuild
+++ b/sys-devel/binutils/binutils-2.39-r5.ebuild
@@ -336,6 +336,10 @@ src_compile() {
src_test() {
cd "${MY_BUILDDIR}" || die
+ # https://sourceware.org/PR31327
+ local -x XZ_OPT="-T1"
+ local -x XZ_DEFAULTS="-T1"
+
# bug #637066
filter-flags -Wall -Wreturn-type
diff --git a/sys-devel/binutils/binutils-2.40-r9.ebuild b/sys-devel/binutils/binutils-2.40-r9.ebuild
index 8c60fad3923a..c3903df24f64 100644
--- a/sys-devel/binutils/binutils-2.40-r9.ebuild
+++ b/sys-devel/binutils/binutils-2.40-r9.ebuild
@@ -348,6 +348,10 @@ src_compile() {
src_test() {
cd "${MY_BUILDDIR}" || die
+ # https://sourceware.org/PR31327
+ local -x XZ_OPT="-T1"
+ local -x XZ_DEFAULTS="-T1"
+
# bug #637066
filter-flags -Wall -Wreturn-type
diff --git a/sys-devel/binutils/binutils-2.41-r2.ebuild b/sys-devel/binutils/binutils-2.41-r2.ebuild
index b00ec7113c92..151aae2e4c90 100644
--- a/sys-devel/binutils/binutils-2.41-r2.ebuild
+++ b/sys-devel/binutils/binutils-2.41-r2.ebuild
@@ -366,6 +366,10 @@ src_compile() {
src_test() {
cd "${MY_BUILDDIR}" || die
+ # https://sourceware.org/PR31327
+ local -x XZ_OPT="-T1"
+ local -x XZ_DEFAULTS="-T1"
+
# bug #637066
filter-flags -Wall -Wreturn-type
diff --git a/sys-devel/binutils/binutils-2.41-r3.ebuild b/sys-devel/binutils/binutils-2.41-r3.ebuild
index e391c34b9529..49a29308d08d 100644
--- a/sys-devel/binutils/binutils-2.41-r3.ebuild
+++ b/sys-devel/binutils/binutils-2.41-r3.ebuild
@@ -366,6 +366,10 @@ src_compile() {
src_test() {
cd "${MY_BUILDDIR}" || die
+ # https://sourceware.org/PR31327
+ local -x XZ_OPT="-T1"
+ local -x XZ_DEFAULTS="-T1"
+
# bug #637066
filter-flags -Wall -Wreturn-type
diff --git a/sys-devel/binutils/binutils-2.41-r4.ebuild b/sys-devel/binutils/binutils-2.41-r4.ebuild
index 44554f947d87..20b6637387ed 100644
--- a/sys-devel/binutils/binutils-2.41-r4.ebuild
+++ b/sys-devel/binutils/binutils-2.41-r4.ebuild
@@ -371,6 +371,10 @@ src_compile() {
src_test() {
cd "${MY_BUILDDIR}" || die
+ # https://sourceware.org/PR31327
+ local -x XZ_OPT="-T1"
+ local -x XZ_DEFAULTS="-T1"
+
# bug #637066
filter-flags -Wall -Wreturn-type
diff --git a/sys-devel/binutils/binutils-2.41-r5.ebuild b/sys-devel/binutils/binutils-2.41-r5.ebuild
index 2ca7809134a7..2ee6985bd3a9 100644
--- a/sys-devel/binutils/binutils-2.41-r5.ebuild
+++ b/sys-devel/binutils/binutils-2.41-r5.ebuild
@@ -371,6 +371,10 @@ src_compile() {
src_test() {
cd "${MY_BUILDDIR}" || die
+ # https://sourceware.org/PR31327
+ local -x XZ_OPT="-T1"
+ local -x XZ_DEFAULTS="-T1"
+
# bug #637066
filter-flags -Wall -Wreturn-type
diff --git a/sys-devel/binutils/binutils-2.42-r1.ebuild b/sys-devel/binutils/binutils-2.42-r1.ebuild
index 05cfa7ed8b77..8fbb3379b787 100644
--- a/sys-devel/binutils/binutils-2.42-r1.ebuild
+++ b/sys-devel/binutils/binutils-2.42-r1.ebuild
@@ -374,6 +374,10 @@ src_compile() {
src_test() {
cd "${MY_BUILDDIR}" || die
+ # https://sourceware.org/PR31327
+ local -x XZ_OPT="-T1"
+ local -x XZ_DEFAULTS="-T1"
+
# bug #637066
filter-flags -Wall -Wreturn-type
diff --git a/sys-devel/binutils/binutils-9999.ebuild b/sys-devel/binutils/binutils-9999.ebuild
index cdb4688fad1b..968aa94a7d9a 100644
--- a/sys-devel/binutils/binutils-9999.ebuild
+++ b/sys-devel/binutils/binutils-9999.ebuild
@@ -374,6 +374,10 @@ src_compile() {
src_test() {
cd "${MY_BUILDDIR}" || die
+ # https://sourceware.org/PR31327
+ local -x XZ_OPT="-T1"
+ local -x XZ_DEFAULTS="-T1"
+
# bug #637066
filter-flags -Wall -Wreturn-type