lkml.org 
[lkml]   [2021]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: build failure of mips decstation_r4k_defconfig with binutils-2_37
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

\
 
 \ /
  Last update: 2021-08-17 15:36    [W:0.073 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site