[135643] trunk/dports/cross/arm-none-eabi-gcc/Portfile

cal at macports.org cal at macports.org
Tue Apr 28 12:32:26 PDT 2015


Revision: 135643
          https://trac.macports.org/changeset/135643
Author:   cal at macports.org
Date:     2015-04-28 12:32:26 -0700 (Tue, 28 Apr 2015)
Log Message:
-----------
arm-none-eabi-gcc: update to 5.1.0, closes #47588, openmaintainer

Modified Paths:
--------------
    trunk/dports/cross/arm-none-eabi-gcc/Portfile

Modified: trunk/dports/cross/arm-none-eabi-gcc/Portfile
===================================================================
--- trunk/dports/cross/arm-none-eabi-gcc/Portfile	2015-04-28 18:58:11 UTC (rev 135642)
+++ trunk/dports/cross/arm-none-eabi-gcc/Portfile	2015-04-28 19:32:26 UTC (rev 135643)
@@ -4,16 +4,15 @@
 PortGroup       crossgcc 1.0
 PortGroup       compiler_blacklist_versions 1.0
 
-crossgcc.setup      arm-none-eabi 4.7.3
+crossgcc.setup      arm-none-eabi 5.1.0
 crossgcc.setup_libc newlib 1.20.0
 
 revision        1
 maintainers     gmail.com:stuartwesterman openmaintainer
 
 checksums       gcc-${version}.tar.bz2 \
-                md5     86f428a30379bdee0224e353ee2f999e \
-                rmd160  b4ba153b098cad726ecd28195ee445aa542d37ae \
-                sha256  2f7c37eb4fc14422ff2358a9ef59c974a75ab41204ef0e49fc34ab1d8981a9c3 \
+                rmd160  17a9623f384ce10415a603042e0592c9b4956078 \
+                sha256  b7dafdf89cbb0e20333dbf5b5349319ae06e3d1a30bf3515b5488f7e89dca5ad \
                 newlib-${crossgcc.libc_version}.tar.gz \
                 sha1    65e7bdbeda0cbbf99c8160df573fd04d1cbe00d1 \
                 rmd160  e36c5337a74633456b47d09594974c7dd7a9cc3e
@@ -24,3 +23,13 @@
 # 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}
+
+# GCC's arm target code contains bracket nesting exceeding clangs's default
+# bracket limit.  (https://llvm.org/bugs/show_bug.cgi?id=19650)
+if {[string match "*clang*" ${configure.compiler}]} {
+    configure.cflags-append -fbracket-depth=512
+    configure.cxxflags-append -fbracket-depth=512
+}
+
+# -fbracket-depth is supported by clang-3.3 and above
+compiler.blacklist macports-clang-2.9 macports-clang-3.0 macports-clang-3.1 macports-clang-3.2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150428/0960b83d/attachment.html>


More information about the macports-changes mailing list