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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux