[MacPorts] #50280: arm-none-eabi-gcc @5.1.0_1 does not build on OS X Lion using clang

MacPorts noreply at macports.org
Sun Jan 10 09:02:25 PST 2016


#50280: arm-none-eabi-gcc @5.1.0_1 does not build on OS X Lion using clang
----------------------+--------------------------------
 Reporter:  daniel@…  |      Owner:  macports-tickets@…
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.3.4
 Keywords:            |       Port:  arm-none-eabi-gcc
----------------------+--------------------------------
 On OS X Lion (10.7.5, Darwin 11.4.2), the default compiler (Clang as
 `Apple LLVM version 4.2 (clang-425.0.28)`) bails out with an error during
 build:

 {{{
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_cross_arm-none-eabi-gcc/arm-none-eabi-
 gcc/work/gcc-5.1.0/gcc/config/arm/neon.md:3463:10917: fatal error: parser
 recursion limit reached, program too complex
 }}}

 Solution is to blacklist all clang versions in the Portfile by being more
 inclusive:

 {{{
 compiler.blacklist {clang < 500}
 }}}

 This forces the compiler chosen to be `Xcode LLVM-GCC 4.2`, which results
 in a succesful build, although it complains during staging:

 {{{
 --->  Building arm-none-eabi-gcc
 --->  Staging arm-none-eabi-gcc into destroot
 Warning: arm-none-eabi-gcc installs files outside the common directory
 structure.
 --->  Installing arm-none-eabi-gcc @5.1.0_1
 --->  Cleaning arm-none-eabi-gcc
 --->  Computing dependencies for arm-none-eabi-gcc
 --->  Deactivating arm-none-eabi-gcc @4.7.2_0
 --->  Cleaning arm-none-eabi-gcc
 --->  Activating arm-none-eabi-gcc @5.1.0_1
 --->  Cleaning arm-none-eabi-gcc
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/50280>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list