<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/002d49a77ded2cfddc7d0a5cdb69f976a71bed00">https://github.com/macports/macports-ports/commit/002d49a77ded2cfddc7d0a5cdb69f976a71bed00</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 002d49a77ded2cfddc7d0a5cdb69f976a71bed00
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Fri Jan 4 14:40:30 2019 -0700

<span style='display:block; white-space:pre;color:#404040;'>    cross/*-gcc: move common code to crossgcc PG
</span>---
 _resources/port1.0/group/crossgcc-1.0.tcl | 3 +++
 cross/arm-none-eabi-gcc/Portfile          | 4 ----
 cross/avr-gcc/Portfile                    | 3 ---
 cross/i386-elf-gcc/Portfile               | 4 ----
 cross/i686-w64-mingw32-gcc/Portfile       | 6 +-----
 cross/msp430-gcc-devel/Portfile           | 5 +++++
 cross/msp430-gcc/Portfile                 | 6 ++++++
 cross/x86_64-elf-gcc/Portfile             | 4 ----
 cross/x86_64-w64-mingw32-gcc/Portfile     | 6 +-----
 9 files changed, 16 insertions(+), 25 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/crossgcc-1.0.tcl b/_resources/port1.0/group/crossgcc-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 81a30f8..c2e692d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/crossgcc-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/crossgcc-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -193,6 +193,9 @@ proc crossgcc.setup {target version} {
</span>                         --enable-stage1-checking \
                         --enable-multilib
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+        # https://trac.macports.org/ticket/57153
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        configure.args-append --disable-libcc1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span>         # The Portfile may modify crossgcc.languages, thus, evaluate the option
         # late in this pre-configure phase
         pre-configure {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/cross/arm-none-eabi-gcc/Portfile b/cross/arm-none-eabi-gcc/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 3f14395..88d944e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/cross/arm-none-eabi-gcc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/cross/arm-none-eabi-gcc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,10 +18,6 @@ configure.args-append \
</span>                     --disable-newlib-supplied-syscalls \
                     --with-multilib-list=armv6-m,armv7-m,armv7e-m,cortex-m7,armv7-r
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# https://trac.macports.org/ticket/57153
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    --disable-libcc1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> # Failed to build with clang from Xcode 4.5
 # fatal error: error in backend: ran out of registers during register allocation
 compiler.blacklist  {clang >= 421 < 422}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/cross/avr-gcc/Portfile b/cross/avr-gcc/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 78c392f..dc04cb7 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/cross/avr-gcc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/cross/avr-gcc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -13,9 +13,6 @@ license                 {GPL-3+ Permissive}
</span> # see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86724
 patchfiles-append       patch-isl.diff
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# https://trac.macports.org/ticket/57153
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args-append   --disable-libcc1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> default_variants        +lto
 
 variant lto description {enables link time optimization} {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/cross/i386-elf-gcc/Portfile b/cross/i386-elf-gcc/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c729eec..9f5346b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/cross/i386-elf-gcc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/cross/i386-elf-gcc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -12,10 +12,6 @@ maintainers         nomaintainer
</span> # see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86724
 patchfiles-append   patch-isl.diff
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# https://trac.macports.org/ticket/57153
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    --disable-libcc1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> # Failed to build with clang from Xcode 4.5
 # fatal error: error in backend: ran out of registers during register allocation
 compiler.blacklist  {clang >= 421 < 422}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/cross/i686-w64-mingw32-gcc/Portfile b/cross/i686-w64-mingw32-gcc/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 05f5916..f869e2b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/cross/i686-w64-mingw32-gcc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/cross/i686-w64-mingw32-gcc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -34,12 +34,8 @@ configure.args-append \
</span>                     --with-dwarf \
                     --enable-fully-dynamic-string \
                     --enable-libssp \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                    --enable-lto \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    --disable-libcc1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    --enable-lto
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# without --disable-libcc1 the following files conflict:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#   ${prefix}/lib/x86_64/libcc1.(la|so|0.so)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#
</span> # not sure if useful:
 #   --with-cloog=${prefix}
 #   --with-ppl=${prefix}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/cross/msp430-gcc-devel/Portfile b/cross/msp430-gcc-devel/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 6ec60a4..f8981cf 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/cross/msp430-gcc-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/cross/msp430-gcc-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -49,4 +49,9 @@ patch.pre_args          -p1
</span> # TODO: Why? Ticket URL?
 compiler.blacklist      *clang*
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# see https://trac.macports.org/ticket/57153
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# see https://github.com/macports/macports-ports/pull/3329
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# TODO: Needed?
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-delete   --disable-libcc1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> livecheck.type          none
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/cross/msp430-gcc/Portfile b/cross/msp430-gcc/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 8f29df4..3894f01 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/cross/msp430-gcc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/cross/msp430-gcc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -42,4 +42,10 @@ depends_run         port:msp430mcu
</span> 
 patch.pre_args      -p1
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# see https://trac.macports.org/ticket/57153
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# see https://github.com/macports/macports-ports/pull/3329
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# TODO: Needed?
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-delete \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    --disable-libcc1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> livecheck.type      none
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/cross/x86_64-elf-gcc/Portfile b/cross/x86_64-elf-gcc/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 8444bf7..7ec2896 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/cross/x86_64-elf-gcc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/cross/x86_64-elf-gcc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -12,10 +12,6 @@ maintainers         nomaintainer
</span> # see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86724
 patchfiles-append   patch-isl.diff
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# https://trac.macports.org/ticket/57153
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    --disable-libcc1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> # Failed to build with clang from Xcode 4.5
 # fatal error: error in backend: ran out of registers during register allocation
 compiler.blacklist  {clang >= 421 < 422}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/cross/x86_64-w64-mingw32-gcc/Portfile b/cross/x86_64-w64-mingw32-gcc/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 58ab82b..5977eed 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/cross/x86_64-w64-mingw32-gcc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/cross/x86_64-w64-mingw32-gcc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -34,12 +34,8 @@ configure.args-append \
</span>                     --with-dwarf \
                     --enable-fully-dynamic-string \
                     --enable-libssp \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                    --enable-lto \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    --disable-libcc1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    --enable-lto
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# without --disable-libcc1 the following files conflict:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#   ${prefix}/lib/x86_64/libcc1.(la|so|0.so)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#
</span> # not sure if useful:
 #   --with-cloog=${prefix}
 #   --with-ppl=${prefix}
</pre><pre style='margin:0'>

</pre>