From b4216a3b5e26bef906bc170719bcaed45667ea76 Mon Sep 17 00:00:00 2001 From: Gleb Mazovetskiy Date: Mon, 2 Dec 2024 12:41:39 +0000 Subject: [PATCH] gcc14: disable libgccjit on Tiger --- lang/gcc14/Portfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lang/gcc14/Portfile b/lang/gcc14/Portfile index 499cb67e15d0b..77e43216609b9 100644 --- a/lang/gcc14/Portfile +++ b/lang/gcc14/Portfile @@ -99,9 +99,14 @@ platform darwin { } set gcc_configure_langs {c c++ objc obj-c++ lto fortran} -if {${subport} eq ${name} && ${build_arch} ne "i386"} { +if {${subport} eq ${name} && ${build_arch} ne "i386" && ${os.major} > 8} { # jit compiler is not building on i386 systems # https://trac.macports.org/ticket/61130 + + # On ppc Tiger, the build fails when linking libgccjit.0.dylib: + # Undefined symbols: + # "__Unwind_GetIPInfo", referenced from: + # _unwind in libbacktrace.a(backtrace.o) lappend gcc_configure_langs jit }