Opened 6 years ago

Last modified 2 years 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: portgroup Cc: g5pw (Aljaž Srebrnič), raimue (Rainer Müller), Schamschula (Marius Schamschula), jmroot (Joshua Root), cooljeanius (Eric Gallager)
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 (2)

comment:1 Changed 2 years ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

comment:2 Changed 2 years ago by mascguy (Christopher Nielsen)

Keywords: portgroup added

Add keyword portgroup, to pg-related tickets

Note: See TracTickets for help on using tickets.