Thread (5 messages) 5 messages, 3 authors, 2021-08-17

Re: build failure of mips decstation_r4k_defconfig with binutils-2_37

From: "Maciej W. Rozycki" <macro@orcam.me.uk>
Date: 2021-08-17 13:36:20
Also in: lkml, stable

On Tue, 17 Aug 2021, Sudip Mukherjee wrote:
While I was testing v5.4.142-rc2 I noticed mips build of
decstation_r4k_defconfig fails with binutils-2_37. The error is:

arch/mips/dec/prom/locore.S: Assembler messages:
arch/mips/dec/prom/locore.S:29: Error: opcode not supported on this
processor: r4600 (mips3) `rfe'

I have also reported this at https://sourceware.org/bugzilla/show_bug.cgi?id=28241
 Thanks.  I have known it for a while thanks to an earlier report from 
Jan-Benedict Glaw, but didn't get to fixing it.  I mean to address it 
sometime later this month or early Sep the latest.

 This file shouldn't be built for R4k configurations in the first place 
because they use the REX firmware exclusively, which this source has 
nothing to do with.  A trivial fix would be to override the ISA level 
temporarily across RFE, but that's missing the point as it's dead code 
anyway with R4k.  OTOH a proper fix requires proper verification.

 As a workaround use older binutils for the time being.  Apologies for the 
inconvenience.

  Maciej
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help