On 2020/05/13 13:21, 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
>
> martijn@
>
Add "MODGCC4_ARCHS= ${GCC49_ARCHS:Nalpha}"