commit: ff36734275bc5264ea066b3e112f06acb879ca16 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Tue Mar 5 06:57:18 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Mar 5 06:57:18 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff367342
dev-util/crash: filter LTO It's based on an old version of gdb currently which isn't LTO-safe. Bug: https://bugs.gentoo.org/853898 Closes: https://bugs.gentoo.org/858344 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-util/crash/crash-8.0.3-r1.ebuild | 11 +++++++++-- dev-util/crash/crash-8.0.4.ebuild | 11 +++++++++-- dev-util/crash/crash-9999.ebuild | 11 +++++++++-- 3 files changed, 27 insertions(+), 6 deletions(-) diff --git a/dev-util/crash/crash-8.0.3-r1.ebuild b/dev-util/crash/crash-8.0.3-r1.ebuild index e2c69feeeb4e..a7ffd58cb9a5 100644 --- a/dev-util/crash/crash-8.0.3-r1.ebuild +++ b/dev-util/crash/crash-8.0.3-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit toolchain-funcs +inherit flag-o-matic toolchain-funcs GDB_VERSION=10.2 UPSTREAM_VER= @@ -59,6 +59,13 @@ src_prepare() { ln -s "${DISTDIR}"/gdb-10.2.tar.gz . || die } +src_configure() { + # bug #858344 + filter-lto + + default +} + src_compile() { emake \ CC="$(tc-getCC)" \ diff --git a/dev-util/crash/crash-8.0.4.ebuild b/dev-util/crash/crash-8.0.4.ebuild index 3e9f60e22613..2e850186dedf 100644 --- a/dev-util/crash/crash-8.0.4.ebuild +++ b/dev-util/crash/crash-8.0.4.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit toolchain-funcs +inherit flag-o-matic toolchain-funcs GDB_VERSION=10.2 UPSTREAM_VER= @@ -54,6 +54,13 @@ src_prepare() { ln -s "${DISTDIR}"/gdb-10.2.tar.gz . || die } +src_configure() { + # bug #858344 + filter-lto + + default +} + src_compile() { emake \ CC="$(tc-getCC)" \ diff --git a/dev-util/crash/crash-9999.ebuild b/dev-util/crash/crash-9999.ebuild index e5ef7a7ea356..34c8d94dfb93 100644 --- a/dev-util/crash/crash-9999.ebuild +++ b/dev-util/crash/crash-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit toolchain-funcs +inherit flag-o-matic toolchain-funcs GDB_VERSION=10.2 if [[ ${PV} == "9999" ]] ; then @@ -33,6 +33,13 @@ src_prepare() { ln -s "${DISTDIR}"/gdb-10.2.tar.gz . || die } +src_configure() { + # bug #858344 + filter-lto + + default +} + src_compile() { emake \ CC="$(tc-getCC)" \