On Wed, May 13, 2020 at 01:21:43PM +0200, Martijn van Duren wrote: > Hello, > > Trying to build ninja on alpha fails with the current COMPILER-line. > Apparently gcc-8 has a regression for its alpha backend resulting in a > compiler crash with the following error (transcribed): > ./src/deps_log.cc:306:1: error: unrecognizable insn: > } > > (insn 483 482 484 36 (set (reg:DI 262) > (plus:DI (reg/f:DI 65 virtual-stack-vars) > (const_int -524292 [0xfffffffffff7fffc])))) "./src/deps_log.cc":228 -1 > (nil)) > during RTL pass: vregs > ./src/deps_log.cc:386:1: internal compiler error: in extract_insn, at > recog.c:2304 > > Is there an easy way to prioritize base-gcc over ports-gcc on alpha, > because I don't think we want to change the line to: > COMPILER = base-clang base-gcc ports-gcc
.if ${MACHINE_ARCH} != "alpha" COMPILER = base-clang ports-gcc base-gcc .endif If alpha is using ports-gcc by default, then add an else to the conditional. -- Juan Francisco Cantero Hurtado http://juanfra.info