Ticket #47588: arm-none-eabi-gcc-gcc-5.1.0.patch
File arm-none-eabi-gcc-gcc-5.1.0.patch, 1.6 KB (added by IvoClarysse (Ivo Clarysse), 10 years ago) |
---|
-
(a) Portfile-orig vs. (b) Portfile
a b 4 4 PortGroup crossgcc 1.0 5 5 PortGroup compiler_blacklist_versions 1.0 6 6 7 crossgcc.setup arm-none-eabi 4.7.37 crossgcc.setup arm-none-eabi 5.1.0 8 8 crossgcc.setup_libc newlib 1.20.0 9 9 10 10 revision 1 11 11 maintainers gmail.com:stuartwesterman openmaintainer 12 12 13 13 checksums gcc-${version}.tar.bz2 \ 14 md5 86f428a30379bdee0224e353ee2f999e \ 15 rmd160 b4ba153b098cad726ecd28195ee445aa542d37ae \ 16 sha256 2f7c37eb4fc14422ff2358a9ef59c974a75ab41204ef0e49fc34ab1d8981a9c3 \ 14 rmd160 17a9623f384ce10415a603042e0592c9b4956078 \ 15 sha256 b7dafdf89cbb0e20333dbf5b5349319ae06e3d1a30bf3515b5488f7e89dca5ad \ 17 16 newlib-${crossgcc.libc_version}.tar.gz \ 18 17 sha1 65e7bdbeda0cbbf99c8160df573fd04d1cbe00d1 \ 19 18 rmd160 e36c5337a74633456b47d09594974c7dd7a9cc3e … … 24 23 # Failed to build with clang from Xcode 4.5 25 24 # fatal error: error in backend: ran out of registers during register allocation 26 25 compiler.blacklist {clang >= 421 < 422} 26 27 # GCCs arm target code contains bracket nesting exceeding the clang default 28 # bracket limit. (https://llvm.org/bugs/show_bug.cgi?id=19650) 29 if {[string match "*clang*" ${configure.compiler}]} { 30 configure.cflags-append -fbracket-depth=512 31 configure.cxxflags-append -fbracket-depth=512 32 } 33 34 # -fbracket-depth is supported by clang-3.3 and above 35 compiler.blacklist macports-clang-2.9 macports-clang-3.0 macports-clang-3.1 macports-clang-3.2