[128719] trunk/dports/lang
larryv at macports.org
larryv at macports.org
Thu Nov 27 00:51:08 PST 2014
Revision: 128719
https://trac.macports.org/changeset/128719
Author: larryv at macports.org
Date: 2014-11-27 00:51:08 -0800 (Thu, 27 Nov 2014)
Log Message:
-----------
gcc49, gcc5, libgcc*: Fix PowerPC build regression (#45954)
Applying upstream fix (GCC PR bootstrap/63703,
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63703>).
Modified Paths:
--------------
trunk/dports/lang/gcc49/Portfile
trunk/dports/lang/gcc5/Portfile
Added Paths:
-----------
trunk/dports/lang/gcc49/files/spe-high-registers.patch
trunk/dports/lang/gcc5/files/spe-high-registers.patch
Modified: trunk/dports/lang/gcc49/Portfile
===================================================================
--- trunk/dports/lang/gcc49/Portfile 2014-11-27 08:50:41 UTC (rev 128718)
+++ trunk/dports/lang/gcc49/Portfile 2014-11-27 08:51:08 UTC (rev 128719)
@@ -49,6 +49,10 @@
# <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63810>).
patchfiles macosx-version-min.patch
+# Fix bootstrap regression on PowerPC (GCC PR bootstrap/63703
+# <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63703>).
+patchfiles-append spe-high-registers.patch
+
# Don't link with "-flat_namespace -undefined suppress" on Yosemite and
# later (#45483).
patchfiles-append yosemite-libtool.patch
Added: trunk/dports/lang/gcc49/files/spe-high-registers.patch
===================================================================
--- trunk/dports/lang/gcc49/files/spe-high-registers.patch (rev 0)
+++ trunk/dports/lang/gcc49/files/spe-high-registers.patch 2014-11-27 08:51:08 UTC (rev 128719)
@@ -0,0 +1,17 @@
+Index: gcc/config/rs6000/darwin.h
+===================================================================
+--- gcc/config/rs6000/darwin.h.orig
++++ gcc/config/rs6000/darwin.h
+@@ -206,7 +206,11 @@ extern int darwin_emit_branch_islands;
+ "vrsave", "vscr", \
+ "spe_acc", "spefscr", \
+ "sfp", \
+- "tfhar", "tfiar", "texasr" \
++ "tfhar", "tfiar", "texasr", \
++ "rh0", "rh1", "rh2", "rh3", "rh4", "rh5", "rh6", "rh7", \
++ "rh8", "rh9", "rh10", "rh11", "rh12", "rh13", "rh14", "rh15", \
++ "rh16", "rh17", "rh18", "rh19", "rh20", "rh21", "rh22", "rh23", \
++ "rh24", "rh25", "rh26", "rh27", "rh28", "rh29", "rh30", "rh31" \
+ }
+
+ /* This outputs NAME to FILE. */
Modified: trunk/dports/lang/gcc5/Portfile
===================================================================
--- trunk/dports/lang/gcc5/Portfile 2014-11-27 08:50:41 UTC (rev 128718)
+++ trunk/dports/lang/gcc5/Portfile 2014-11-27 08:51:08 UTC (rev 128719)
@@ -53,6 +53,10 @@
patchfiles-append patch-isl-0.13.diff
+# Fix bootstrap regression on PowerPC (GCC PR bootstrap/63703
+# <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63703>).
+patchfiles-append spe-high-registers.patch
+
set major [lindex [split ${version} .-] 0]
platform darwin {
Added: trunk/dports/lang/gcc5/files/spe-high-registers.patch
===================================================================
--- trunk/dports/lang/gcc5/files/spe-high-registers.patch (rev 0)
+++ trunk/dports/lang/gcc5/files/spe-high-registers.patch 2014-11-27 08:51:08 UTC (rev 128719)
@@ -0,0 +1,17 @@
+Index: gcc/config/rs6000/darwin.h
+===================================================================
+--- gcc/config/rs6000/darwin.h.orig
++++ gcc/config/rs6000/darwin.h
+@@ -206,7 +206,11 @@ extern int darwin_emit_branch_islands;
+ "vrsave", "vscr", \
+ "spe_acc", "spefscr", \
+ "sfp", \
+- "tfhar", "tfiar", "texasr" \
++ "tfhar", "tfiar", "texasr", \
++ "rh0", "rh1", "rh2", "rh3", "rh4", "rh5", "rh6", "rh7", \
++ "rh8", "rh9", "rh10", "rh11", "rh12", "rh13", "rh14", "rh15", \
++ "rh16", "rh17", "rh18", "rh19", "rh20", "rh21", "rh22", "rh23", \
++ "rh24", "rh25", "rh26", "rh27", "rh28", "rh29", "rh30", "rh31" \
+ }
+
+ /* This outputs NAME to FILE. */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141127/d8b9ee62/attachment.html>
More information about the macports-changes
mailing list