[MacPorts] #57575: crossgcc: add more compiler blacklistings to the portgroup

MacPorts noreply at macports.org
Sun Nov 11 12:19:03 UTC 2018


#57575: crossgcc: add more compiler blacklistings to the portgroup
-------------------------+-------------------------------------------------
 Reporter:  mojca        |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:
 Keywords:               |       Port:  arm-elf-gcc3, arm-none-eabi-gcc,
                         |  i386-elf-gcc, x86_64-elf-gcc, m68k-elf-gcc,
                         |  msp430-gcc-devel
-------------------------+-------------------------------------------------
 I would like to suggest moving such pieces of code from individual ports
 to the `crossgcc` PortGroup since it affects quite a number of ports:
 {{{
 # 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
 }
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/57575>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list