commit:     438bbadd0f8ab32907dfd3a3f650f91c35196c76
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 29 10:51:56 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 29 10:52:23 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=438bbadd

dev-lisp/gcl: filter LTO for GCC bug

The code is pretty brittle anyway and we already do strip-flags.

Bug: https://gcc.gnu.org/PR114918
Bug: https://bugs.gentoo.org/931082
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lisp/gcl/gcl-2.6.13_pre99.ebuild | 1 +
 dev-lisp/gcl/gcl-2.6.14.ebuild       | 1 +
 dev-lisp/gcl/gcl-2.6.15_pre3.ebuild  | 1 +
 3 files changed, 3 insertions(+)

diff --git a/dev-lisp/gcl/gcl-2.6.13_pre99.ebuild 
b/dev-lisp/gcl/gcl-2.6.13_pre99.ebuild
index 1673ab7aa83c..d85492310118 100644
--- a/dev-lisp/gcl/gcl-2.6.13_pre99.ebuild
+++ b/dev-lisp/gcl/gcl-2.6.13_pre99.ebuild
@@ -32,6 +32,7 @@ PATCHES=(
 )
 
 src_configure() {
+       filter-lto # bug #931082
        strip-flags
        filter-flags -fstack-protector -fstack-protector-all
        # breaks linking on multiple defined syms

diff --git a/dev-lisp/gcl/gcl-2.6.14.ebuild b/dev-lisp/gcl/gcl-2.6.14.ebuild
index fe5638ac7f2c..441d6dcb3be8 100644
--- a/dev-lisp/gcl/gcl-2.6.14.ebuild
+++ b/dev-lisp/gcl/gcl-2.6.14.ebuild
@@ -27,6 +27,7 @@ DEPEND="${RDEPEND}
        >=dev-build/autoconf-2.52"
 
 src_configure() {
+       filter-lto # bug #931082
        strip-flags
        filter-flags -fstack-protector -fstack-protector-all
        # breaks linking on multiple defined syms

diff --git a/dev-lisp/gcl/gcl-2.6.15_pre3.ebuild 
b/dev-lisp/gcl/gcl-2.6.15_pre3.ebuild
index 6473aba4cc59..9d2222ae4c4e 100644
--- a/dev-lisp/gcl/gcl-2.6.15_pre3.ebuild
+++ b/dev-lisp/gcl/gcl-2.6.15_pre3.ebuild
@@ -35,6 +35,7 @@ PATCHES=(
 S="${WORKDIR}"/${PN}-Version_2_6_15pre3/${PN}
 
 src_configure() {
+       filter-lto # bug #931082
        strip-flags
        filter-flags -fstack-protector -fstack-protector-all
 

Reply via email to