diff options
author | Sam James <sam@gentoo.org> | 2024-03-27 03:58:24 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-03-27 03:58:24 +0000 |
commit | 1e023dabc8bda97e34f405d9877c86e43e62ad94 (patch) | |
tree | 53817c922ce7299e846d788c36a29c22c0a395e8 /sys-libs | |
parent | virtual/rust: backport USE=profiler (diff) | |
download | gentoo-1e023dabc8bda97e34f405d9877c86e43e62ad94.tar.gz gentoo-1e023dabc8bda97e34f405d9877c86e43e62ad94.tar.bz2 gentoo-1e023dabc8bda97e34f405d9877c86e43e62ad94.zip |
sys-libs/binutils-libs: filter LTO
It seems to be racey and sometimes fails with a missing library (sometimes
libbfd*-mt).
Closes: https://bugs.gentoo.org/814326
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-libs')
11 files changed, 39 insertions, 17 deletions
diff --git a/sys-libs/binutils-libs/binutils-libs-2.34-r2.ebuild b/sys-libs/binutils-libs/binutils-libs-2.34-r2.ebuild index 635d56ca3ffb..c3286ec1f61b 100644 --- a/sys-libs/binutils-libs/binutils-libs-2.34-r2.ebuild +++ b/sys-libs/binutils-libs/binutils-libs-2.34-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -6,7 +6,7 @@ EAPI=7 PATCH_VER=6 PATCH_DEV=dilfridge -inherit libtool toolchain-funcs multilib-minimal +inherit flag-o-matic libtool toolchain-funcs multilib-minimal MY_PN="binutils" MY_P="${MY_PN}-${PV}" @@ -54,6 +54,8 @@ pkgversion() { } multilib_src_configure() { + filter-lto + local myconf=( --enable-obsolete --enable-shared diff --git a/sys-libs/binutils-libs/binutils-libs-2.35.2.ebuild b/sys-libs/binutils-libs/binutils-libs-2.35.2.ebuild index 1a104d393c06..f395c82f84ec 100644 --- a/sys-libs/binutils-libs/binutils-libs-2.35.2.ebuild +++ b/sys-libs/binutils-libs/binutils-libs-2.35.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -6,7 +6,7 @@ EAPI=7 PATCH_VER=1 PATCH_DEV=dilfridge -inherit libtool toolchain-funcs multilib-minimal +inherit flag-o-matic libtool toolchain-funcs multilib-minimal MY_PN="binutils" MY_P="${MY_PN}-${PV}" @@ -56,6 +56,8 @@ pkgversion() { } multilib_src_configure() { + filter-lto + local myconf=( --enable-obsolete --enable-shared diff --git a/sys-libs/binutils-libs/binutils-libs-2.36.1-r2.ebuild b/sys-libs/binutils-libs/binutils-libs-2.36.1-r2.ebuild index 11338104c3d8..d6b6b8e25bba 100644 --- a/sys-libs/binutils-libs/binutils-libs-2.36.1-r2.ebuild +++ b/sys-libs/binutils-libs/binutils-libs-2.36.1-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -6,7 +6,7 @@ EAPI=7 PATCH_VER=5 PATCH_DEV=dilfridge -inherit libtool toolchain-funcs multilib-minimal +inherit flag-o-matic libtool toolchain-funcs multilib-minimal MY_PN="binutils" MY_P="${MY_PN}-${PV}" @@ -54,6 +54,8 @@ pkgversion() { } multilib_src_configure() { + filter-lto + local myconf=( --enable-obsolete --enable-shared diff --git a/sys-libs/binutils-libs/binutils-libs-2.37_p1-r2.ebuild b/sys-libs/binutils-libs/binutils-libs-2.37_p1-r2.ebuild index 50498e6349c3..b22a084a83e7 100644 --- a/sys-libs/binutils-libs/binutils-libs-2.37_p1-r2.ebuild +++ b/sys-libs/binutils-libs/binutils-libs-2.37_p1-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -6,7 +6,7 @@ EAPI=7 PATCH_VER=2 PATCH_DEV=dilfridge -inherit libtool toolchain-funcs multilib-minimal +inherit flag-o-matic libtool toolchain-funcs multilib-minimal MY_PN="binutils" MY_P="${MY_PN}-${PV}" @@ -55,6 +55,8 @@ pkgversion() { } multilib_src_configure() { + filter-lto + local myconf=( --enable-obsolete --enable-shared diff --git a/sys-libs/binutils-libs/binutils-libs-2.38-r2.ebuild b/sys-libs/binutils-libs/binutils-libs-2.38-r2.ebuild index c0930868f1d6..0cbb1f3a402b 100644 --- a/sys-libs/binutils-libs/binutils-libs-2.38-r2.ebuild +++ b/sys-libs/binutils-libs/binutils-libs-2.38-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -6,7 +6,7 @@ EAPI=7 PATCH_VER=4 PATCH_DEV=dilfridge -inherit libtool toolchain-funcs multilib-minimal +inherit flag-o-matic libtool toolchain-funcs multilib-minimal MY_PN="binutils" MY_P="${MY_PN}-${PV}" @@ -69,6 +69,8 @@ pkgversion() { } multilib_src_configure() { + filter-lto + local myconf=( --enable-obsolete --enable-shared diff --git a/sys-libs/binutils-libs/binutils-libs-2.39-r5.ebuild b/sys-libs/binutils-libs/binutils-libs-2.39-r5.ebuild index 12358fdda9be..78844f553070 100644 --- a/sys-libs/binutils-libs/binutils-libs-2.39-r5.ebuild +++ b/sys-libs/binutils-libs/binutils-libs-2.39-r5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -6,7 +6,7 @@ EAPI=7 PATCH_VER=6 PATCH_DEV=dilfridge -inherit libtool toolchain-funcs multilib-minimal +inherit flag-o-matic libtool toolchain-funcs multilib-minimal MY_PN="binutils" MY_P="${MY_PN}-${PV}" @@ -69,6 +69,8 @@ pkgversion() { } multilib_src_configure() { + filter-lto + local myconf=( --enable-obsolete --enable-shared diff --git a/sys-libs/binutils-libs/binutils-libs-2.40-r7.ebuild b/sys-libs/binutils-libs/binutils-libs-2.40-r7.ebuild index 92e214f6b382..386c34fc4626 100644 --- a/sys-libs/binutils-libs/binutils-libs-2.40-r7.ebuild +++ b/sys-libs/binutils-libs/binutils-libs-2.40-r7.ebuild @@ -6,7 +6,7 @@ EAPI=7 PATCH_VER=6 PATCH_DEV=dilfridge -inherit libtool toolchain-funcs multilib-minimal +inherit flag-o-matic libtool toolchain-funcs multilib-minimal MY_PN="binutils" MY_P="${MY_PN}-${PV}" @@ -73,6 +73,8 @@ pkgversion() { } multilib_src_configure() { + filter-lto + local myconf=( --enable-obsolete --enable-shared diff --git a/sys-libs/binutils-libs/binutils-libs-2.41-r2.ebuild b/sys-libs/binutils-libs/binutils-libs-2.41-r2.ebuild index 56dd112d51e6..ed71ba8af71b 100644 --- a/sys-libs/binutils-libs/binutils-libs-2.41-r2.ebuild +++ b/sys-libs/binutils-libs/binutils-libs-2.41-r2.ebuild @@ -6,7 +6,7 @@ EAPI=7 PATCH_VER=2 PATCH_DEV=dilfridge -inherit libtool toolchain-funcs multilib-minimal +inherit flag-o-matic libtool toolchain-funcs multilib-minimal MY_PN="binutils" MY_P="${MY_PN}-${PV}" @@ -75,6 +75,8 @@ pkgversion() { } multilib_src_configure() { + filter-lto + local myconf=( # portage's econf() does not detect presence of --d-d-t # because it greps only top-level ./configure. But not diff --git a/sys-libs/binutils-libs/binutils-libs-2.41-r3.ebuild b/sys-libs/binutils-libs/binutils-libs-2.41-r3.ebuild index d69ba7f43dcc..f8bd5c0eac84 100644 --- a/sys-libs/binutils-libs/binutils-libs-2.41-r3.ebuild +++ b/sys-libs/binutils-libs/binutils-libs-2.41-r3.ebuild @@ -6,7 +6,7 @@ EAPI=7 PATCH_VER=4 PATCH_DEV=dilfridge -inherit libtool toolchain-funcs multilib-minimal +inherit flag-o-matic libtool toolchain-funcs multilib-minimal MY_PN="binutils" MY_P="${MY_PN}-${PV}" @@ -75,6 +75,8 @@ pkgversion() { } multilib_src_configure() { + filter-lto + local myconf=( # portage's econf() does not detect presence of --d-d-t # because it greps only top-level ./configure. But not diff --git a/sys-libs/binutils-libs/binutils-libs-2.41-r5.ebuild b/sys-libs/binutils-libs/binutils-libs-2.41-r5.ebuild index 5fd1c46fcdf7..9e0b7178e0ae 100644 --- a/sys-libs/binutils-libs/binutils-libs-2.41-r5.ebuild +++ b/sys-libs/binutils-libs/binutils-libs-2.41-r5.ebuild @@ -6,7 +6,7 @@ EAPI=7 PATCH_VER=5 PATCH_DEV=dilfridge -inherit libtool toolchain-funcs multilib-minimal +inherit flag-o-matic libtool toolchain-funcs multilib-minimal MY_PN="binutils" MY_P="${MY_PN}-${PV}" @@ -75,6 +75,8 @@ pkgversion() { } multilib_src_configure() { + filter-lto + local myconf=( # portage's econf() does not detect presence of --d-d-t # because it greps only top-level ./configure. But not diff --git a/sys-libs/binutils-libs/binutils-libs-2.42-r1.ebuild b/sys-libs/binutils-libs/binutils-libs-2.42-r1.ebuild index bd61ed8f37af..ab160f032db0 100644 --- a/sys-libs/binutils-libs/binutils-libs-2.42-r1.ebuild +++ b/sys-libs/binutils-libs/binutils-libs-2.42-r1.ebuild @@ -6,7 +6,7 @@ EAPI=7 PATCH_VER=3 PATCH_DEV=dilfridge -inherit libtool toolchain-funcs multilib-minimal +inherit flag-o-matic libtool toolchain-funcs multilib-minimal MY_PN="binutils" MY_P="${MY_PN}-${PV}" @@ -75,6 +75,8 @@ pkgversion() { } multilib_src_configure() { + filter-lto + local myconf=( # portage's econf() does not detect presence of --d-d-t # because it greps only top-level ./configure. But not |