Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1220469pxb; Tue, 17 Aug 2021 06:44:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwQtZtBZ3GiCIeM4bDn4Ohxx4/HbSssAb5xmzLrZ//c/t1BNCLTrWHFiNNDAq57IRYYHrdw X-Received: by 2002:a50:ed99:: with SMTP id h25mr4321303edr.327.1629207842942; Tue, 17 Aug 2021 06:44:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629207842; cv=none; d=google.com; s=arc-20160816; b=N7NxqBHHbjAUIp1xM/OrimIVtFn8sj/j3BvF5Bs7fefgMGsWuNebYQNcMoINkVgt2q P5B2schfhQOaDeSSuHuWoJq/KKvRgy0R3ClpPM7rOwP6BspMfykzZqe12se/XONfd8NA okYzWxm3+WZB5VvTdN90nj8IyeCnsC7XgRutajdhVN7eKwOugYOq+ADdVUXT4H5PG9Dx raUXaNXEQOIBH06nSgD1wc8zzrDms/fqKbbVPm8rK/gS28qG+q9n7KDppEvOEvCZsCx5 jgtJ/Vp2Fwz0jF/18OUDm/W4p1MaqWnMoffiGqcwGJNizDaJffYdmn36swJ5/i43hUfc KUMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date; bh=jkrgSxp0sGZHJ02snIjO29ruQsra0nbSmvNZlu0HQT4=; b=KHSW9hns+Np86CGerjtROYWCL2mHoh7anJLXi6F2XmJAO6XaLU8E/+QSQaK5fZuqKk Rd3xNi33O7wH7LiWUVDjge/ibpCfug2Vh7GA7/aXvgtHyWTMSUjlrOa4hEHMpuq8DoTO iK+osG1HzBbbVQ9uJNmLf4pV2oixxC7DlyJLQEYKnLJA1+cLZdjo4UvwOw+TRdpEyIUb n1uSAVUqovsMZyyxtpIgqp2g731BnCyiSbMM4CYSVVd/hPKZZ+BPw9k/ysZOuAp7W+fh aeyO9h5Z5SM3n+oh1Z8Z+jhPLKrIxbIpu+3IiIeM+TEHZkpA15GxJo5cbwkAyUalB+YW X2gg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 10si2242638ejt.595.2021.08.17.06.43.38; Tue, 17 Aug 2021 06:44:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237654AbhHQNgk (ORCPT + 99 others); Tue, 17 Aug 2021 09:36:40 -0400 Received: from angie.orcam.me.uk ([78.133.224.34]:33052 "EHLO angie.orcam.me.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235092AbhHQNgj (ORCPT ); Tue, 17 Aug 2021 09:36:39 -0400 Received: by angie.orcam.me.uk (Postfix, from userid 500) id 33F2A92009D; Tue, 17 Aug 2021 15:36:05 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id 2CC7592009B; Tue, 17 Aug 2021 15:36:05 +0200 (CEST) Date: Tue, 17 Aug 2021 15:36:05 +0200 (CEST) From: "Maciej W. Rozycki" To: Sudip Mukherjee cc: Jan-Benedict Glaw , Ralf Baechle , Paul Burton , James Hogan , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: build failure of mips decstation_r4k_defconfig with binutils-2_37 In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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