<pre style='margin:0'>
Landon Fuller (landonf) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/4678736a2224bbde15a3cd03e07af20c18228a51">https://github.com/macports/macports-ports/commit/4678736a2224bbde15a3cd03e07af20c18228a51</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 4678736a222 gcc11: fix and re-enable JIT build
</span>4678736a222 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 4678736a2224bbde15a3cd03e07af20c18228a51
</span>Author: Landon Fuller <landonf@macports.org>
AuthorDate: Thu Jul 29 15:24:36 2021 -0600
<span style='display:block; white-space:pre;color:#404040;'> gcc11: fix and re-enable JIT build
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> This replaces the previous partial work-around with an explicit override
</span><span style='display:block; white-space:pre;color:#404040;'> of `do-compare`, disabling bootstrap comparison across the build when
</span><span style='display:block; white-space:pre;color:#404040;'> Xcode 12.5 is found.
</span>---
lang/gcc11/Portfile | 31 ++++++++++++++++---------------
1 file changed, 16 insertions(+), 15 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/gcc11/Portfile b/lang/gcc11/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 40d211ab87e..e62c65434e3 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/gcc11/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/gcc11/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -13,7 +13,7 @@ name gcc11
</span>
# Note, ARM builds have their own version below...
version 11.2.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span>
platforms darwin
categories lang
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -115,14 +115,10 @@ platform darwin {
</span> }
set gcc_configure_langs {c c++ objc obj-c++ lto fortran}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${subport} eq ${name}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${subport} eq ${name} && ${build_arch} ne "i386"} {
</span> # jit compiler is not building on i386 systems
# https://trac.macports.org/ticket/61130
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # Update - Failures also seen with 11.2 on Big Sur
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # https://trac.macports.org/ticket/63312
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${build_arch} ne "i386" && ${os.major} < 20 } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- lappend gcc_configure_langs jit
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lappend gcc_configure_langs jit
</span> }
set gcc_as ${prefix}/bin/as
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -162,15 +158,20 @@ configure.args-append \
</span> --disable-tls
if { ${os.platform} eq "darwin" } {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if { [vercmp ${xcodeversion} 12.5] >= 0 || [ vercmp ${cltversion} 12.5 ] >= 0 } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- pre-configure {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_warn "Applying '--without-build-config' workaround to Xcode ${xcodeversion} / CLT ${cltversion}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_warn "If versions > 12.5 please check if it is still required"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # gcc has build issues on macOS 11.3 with the use of Xcode 12.5 clang via cctools for ld
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100340
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://trac.macports.org/ticket/62775
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ([vercmp ${xcodeversion} 12.5] >= 0 && [vercmp ${xcodeversion} 13] < 0) || \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ([vercmp ${cltversion} 12.5] >= 0 && [vercmp ${cltversion} 13] < 0) } \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Skip bootstrap comparison entirely
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace {s|^do-compare =|do-compare = /usr/bin/true|g} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/Makefile.in \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/config/bootstrap-debug.mk \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/config/bootstrap-debug-lean.mk \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/config/bootstrap-debug-lib.mk
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # gcc has build issues on macOS 11.3 with the use of Xcode clang via cctools for ld
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100340
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # https://trac.macports.org/ticket/62775
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --without-build-config
</span> }
}
</pre><pre style='margin:0'>
</pre>