Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1436547pxb; Fri, 1 Apr 2022 13:29:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyzDcfeogxcpC7HEjCJ1o6Bh8PRRgK3zVvuRyifvHeD4EVZbR8g8harhXXPV08RYadeU0Oe X-Received: by 2002:a17:903:11cc:b0:151:71e4:dadc with SMTP id q12-20020a17090311cc00b0015171e4dadcmr11947816plh.78.1648844962607; Fri, 01 Apr 2022 13:29:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648844962; cv=none; d=google.com; s=arc-20160816; b=Xdb33KqDm7IDgAbWLABz+/U2iZWvIwcoKu9sKbB8ipbHrxwPYpJokRgsqBwiolX29U owXWjTx7e7oQ0NWEAFTgZtoRQvTj0Y6AGBvK/a/9a1c7bpoUwDdWmGj3zvEyXIvDGiQO grbpvwe39+UkFWYCxjbcIGn0FoQ5IFbHXBxAIrEqMTkv/9lJAFb7mr2vuzwACd3uExOb njTy3Fb3mAG/iVc+/Q6mOApg0BFbt8TXFmP95QgznK989DQxbvvrTmF40ow7WCxG8VU/ wHN4x9mMXY1k/TCjw+UEP9EjqIzJzd7MxEY5KdyyaT5Skz5qGPneeXpC66pzcCMcwKrs yzHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=yrK6jCBQQsIxIgt2qNU1CkQr3K3d9ZKKOTN7TWBE0+k=; b=LavyFnDy1rCb9QMfekPN7hkfIxcH2ZhrEEsB0IkLFXpUuF0wN7hKxjAbvtROYO8vtu ne7ZzlJe8TMh71gfR7nieBRgNWA8WpYpBZ25mf9+56l6fLo6atUMRHA925qANAxbfky1 RWovSMIiZ2kM8cG19MonK/DO/KtwqFnf4fuueC3eXvBSxpNQ3JUa0O/H25KBXhfGM5FQ xlvJ0ZwHCsL/UVx8Z4T7n2fqdeJZyVHtnfpuKH9VgoD65tzt0WGgq4XjsEmHMyWPKllu wwNHdYlAhJ7OXZciCPW/OJfsmhetyd1CM0bwOxLzdHn0ezgSeiuunIlYGQ6T3qkYW2UB Ztag== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ha2-20020a17090af3c200b001c6ad84f9absi3359791pjb.48.2022.04.01.13.29.06; Fri, 01 Apr 2022 13:29:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245644AbiDAGzO (ORCPT + 99 others); Fri, 1 Apr 2022 02:55:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49134 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235169AbiDAGzN (ORCPT ); Fri, 1 Apr 2022 02:55:13 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33B59389A for ; Thu, 31 Mar 2022 23:53:23 -0700 (PDT) Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] helo=bjornoya.blackshift.org) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1naB9k-00025p-1L; Fri, 01 Apr 2022 08:53:12 +0200 Received: from pengutronix.de (2a03-f580-87bc-d400-a2e4-7752-b370-a958.ip6.dokom21.de [IPv6:2a03:f580:87bc:d400:a2e4:7752:b370:a958]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: mkl-all@blackshift.org) by smtp.blackshift.org (Postfix) with ESMTPSA id 1B3C458411; Fri, 1 Apr 2022 06:53:10 +0000 (UTC) Date: Fri, 1 Apr 2022 08:53:09 +0200 From: Marc Kleine-Budde To: Linus Torvalds Cc: Aurelien Jarno , Linux Kernel Mailing List , stable , Kito Cheng , Paul Walmsley , Palmer Dabbelt , Albert Ou , "open list:RISC-V ARCHITECTURE" , Sparse Mailing-list , ukl@pengutronix.de, Luc Van Oostenryck Subject: Re: [PATCH] riscv: fix build with binutils 2.38 Message-ID: <20220401065309.dizbkleyw44auhbo@pengutronix.de> References: <20220126171442.1338740-1-aurelien@aurel32.net> <20220331103247.y33wvkxk5vfbqohf@pengutronix.de> <20220331103913.2vlneq6clnheuty6@pengutronix.de> <20220331105112.7t3qgtilhortkiq4@pengutronix.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="5jl2rqq57omr4yri" Content-Disposition: inline In-Reply-To: X-SA-Exim-Connect-IP: 2001:67c:670:201:5054:ff:fe8d:eefb X-SA-Exim-Mail-From: mkl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --5jl2rqq57omr4yri Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 31.03.2022 11:16:53, Linus Torvalds wrote: > On Thu, Mar 31, 2022 at 3:51 AM Marc Kleine-Budde wr= ote: > > > > Cc +=3D linux-sparse, Uwe, Luc Van Oostenryck > > > > tl;dr: > > > > A recent change in the kernel regarding the riscv -march handling breaks > > current sparse. >=20 > Gaah. Normally sparse doesn't even look at the -march flag, but for > riscv it does, because it's meaningful for the predefined macros. >=20 > Maybe that 'die()' shouldn't be so fatal. And maybe add a few more > extensions (but ignore them) to the parsing. >=20 > Something ENTIRELY UNTESTED like the attached. Works-for-me: | CHECK /srv/work/frogger/socketcan/linux/drivers/net/can/usb/etas_es58= x/es58x_core.c | WARNING: invalid argument to '-march': 'zicsr_zifencei' Tested-by: Marc Kleine-Budde Regards, Marc --=20 Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | --5jl2rqq57omr4yri Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEBsvAIBsPu6mG7thcrX5LkNig010FAmJGoVIACgkQrX5LkNig 0131+gf+OoP5mBIuthsyF3cauP7RO1sSa7VFXUnlth9PI5r6HwTL7dHAjry4lXfJ x4Dl/7p024mbaQcCTKyUVStHaSIVd6aze/8pCsjmBTARtMe86P9rOyWGaLcES5P7 tp/DjsYxQrYrOt+5Fs7+UrqZP5vnXuPYrKfYz0/VP3fLoA6gFGYTvlTXgiYFj7vL 2xdpRvS1pbZhExvNlkKnJSzKZwE6L841k292RtWWOCzogsPt5YwUlkn/Zb4FbHwR y8BbMJhcGHG6T+DkgQA6amREXr6Y0Z5z4vzPDZMRpTFdVVmAUaYgqO7sncdEoyDL qv7LdfZg11z7bYVLbk/Z7Y5oXcsG8A== =1XuF -----END PGP SIGNATURE----- --5jl2rqq57omr4yri--