From 9709c3e5dd9a4fe6d398f8c1cfbf48b649efd440 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Sun, 8 Sep 2024 23:58:21 -0400 Subject: [PATCH] sci-mathematics/twelf: mark as LTO-unsafe MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Per the contributing guideline: > Twelf, the software, is not under active development, and changes to > the code of Twelf are unlikely to be accepted unless you’re working with > Twelf’s original authors, Frank Pfenning and Carsten Schürmann. Getting this fixed is unlikely to happen, so all that's left is filtering. Closes: https://bugs.gentoo.org/863266 Signed-off-by: Eli Schwartz --- sci-mathematics/twelf/twelf-1.7.1-r2.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sci-mathematics/twelf/twelf-1.7.1-r2.ebuild b/sci-mathematics/twelf/twelf-1.7.1-r2.ebuild index 9e6c45a37143a..1fc16b00baa42 100644 --- a/sci-mathematics/twelf/twelf-1.7.1-r2.ebuild +++ b/sci-mathematics/twelf/twelf-1.7.1-r2.ebuild @@ -3,7 +3,7 @@ EAPI="8" -inherit elisp-common +inherit elisp-common flag-o-matic MY_PN="${PN}-src" MY_P="${MY_PN}-${PV}" @@ -59,6 +59,12 @@ src_prepare() { } src_compile() { + # relocation R_X86_64_32 against hidden symbol `globalCPointer' can not be used when making a PIE object + # https://bugs.gentoo.org/863266 + # + # The software is unmaintained and disables bug reports. + filter-lto + emake mlton CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS} -fno-PIE" if use emacs ; then pushd "${S}/emacs" || die "Could change directory to emacs"