Skip to content

Commit

Permalink
gcc14: disable libgccjit on Tiger
Browse files Browse the repository at this point in the history
  • Loading branch information
glebm authored and kencu committed Dec 9, 2024
1 parent 4e3a411 commit b4216a3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lang/gcc14/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit b4216a3

Please sign in to comment.