commit:     9f793037e9cdc6a6ff36b1e5a042bbdf92fb560a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 20 10:41:45 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 20 10:42:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f793037

dev-lang/swi-prolog: filter LTO

ICEs with GCC but it's also filled with UB (see the linked GCC bug).

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

 dev-lang/swi-prolog/swi-prolog-9.1.2-r1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-lang/swi-prolog/swi-prolog-9.1.2-r1.ebuild 
b/dev-lang/swi-prolog/swi-prolog-9.1.2-r1.ebuild
index 7cee8edc9d51..a776f624d4cb 100644
--- a/dev-lang/swi-prolog/swi-prolog-9.1.2-r1.ebuild
+++ b/dev-lang/swi-prolog/swi-prolog-9.1.2-r1.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=8
@@ -106,6 +106,8 @@ src_prepare() {
 }
 
 src_configure() {
+       # Lots of UB, see https://gcc.gnu.org/PR113521
+       filter-lto
        append-flags -fno-strict-aliasing
        use debug && append-flags -DO_DEBUG
 

Reply via email to