Opened 23 months ago

#57575 new enhancement

crossgcc: add more compiler blacklistings to the portgroup

Reported by: mojca (Mojca Miklavec) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: g5pw (Aljaž Srebrnič), raimue (Rainer Müller), Schamschula (Marius Schamschula), jmroot (Joshua Root)
Port: arm-elf-gcc3, arm-none-eabi-gcc, i386-elf-gcc, x86_64-elf-gcc, m68k-elf-gcc, msp430-gcc-devel

Description

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
}

Change History (0)

Note: See TracTickets for help on using tickets.