From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 99F0AC001DC for ; Wed, 26 Jul 2023 19:42:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229957AbjGZTmC (ORCPT ); Wed, 26 Jul 2023 15:42:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230484AbjGZTmC (ORCPT ); Wed, 26 Jul 2023 15:42:02 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 15E2B2122; Wed, 26 Jul 2023 12:42:01 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A632E61CB6; Wed, 26 Jul 2023 19:42:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 99B7AC433CA; Wed, 26 Jul 2023 19:41:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690400520; bh=SM4xFHkPLeUYUDMk/9j+ThiUSf7Itm0vPEQ3iXBVLgo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ElWae17LIL3ZjRjRJXy/dQ7BFoY5mDXR8EYlpt8e5IXLirZDeY3zOTjSVvcfozF0n Pp9g67p+19OOs1WR+914dOcQ2Mu/NYN2K/OrTB7AFk2HF/EmJ4bO+YgHqNyhM7QCqs 6QIYBofrsYqyXRjerY6xOn0bizf1S6k7kKJgkC5H69mm9JrjTP8qAvzcePWPPbnHmC nJIsV4PiqfLu0bt5TO+vnfh73PvpmH8f39K2gUwFthE8hbD6Hy3DT0dDa+XOLyzrM4 0E6pn7fhijboRyJjP8xRwiQisD/w2cRpOPh8FXihFMSqQAoy0RhncUKhrd61Uu3+Lj yn8W2D/iX+GDQ== Date: Wed, 26 Jul 2023 20:41:55 +0100 From: Conor Dooley To: Mingzheng Xing Cc: Paul Walmsley , Palmer Dabbelt , Albert Ou , Nathan Chancellor , Nick Desaulniers , Tom Rix , Bin Meng , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, stable@vger.kernel.org Subject: Re: [PATCH v2] riscv: Handle zicsr/zifencei issue between gcc and binutils Message-ID: <20230726-armchair-evasive-427dd245a9fe@spud> References: <20230726174524.340952-1-xingmingzheng@iscas.ac.cn> <20230726-outclass-parade-2ccea9f6688a@spud> <10231b81-ea42-26d0-4c11-92851229e658@iscas.ac.cn> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="/XgSBHUpeXMHM/69" Content-Disposition: inline In-Reply-To: <10231b81-ea42-26d0-4c11-92851229e658@iscas.ac.cn> Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org --/XgSBHUpeXMHM/69 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 27, 2023 at 03:34:16AM +0800, Mingzheng Xing wrote: > On 7/27/23 02:02, Conor Dooley wrote: > > This is still broken for: > > CONFIG_CLANG_VERSION=3D0 > > CONFIG_AS_IS_GNU=3Dy > > CONFIG_AS_VERSION=3D23500 > > CONFIG_LD_IS_BFD=3Dy > > CONFIG_LD_VERSION=3D23500 >=20 > Do you mean that these CONFIG_* will cause kernel > compilation errors when paired with certain versions of GCC? > Or perhaps I misunderstood your meaning. No, this section is generated by kconfig, although I messed up my trimming of the list & accidentally removed the gcc version, rather than the clang version. Here's the full thing: CONFIG_CC_VERSION_TEXT=3D"riscv64-unknown-linux-gnu-gcc (g2ee5e430018) 12.2= =2E0" CONFIG_CC_IS_GCC=3Dy CONFIG_GCC_VERSION=3D120200 CONFIG_CLANG_VERSION=3D0 CONFIG_AS_IS_GNU=3Dy CONFIG_AS_VERSION=3D23500 CONFIG_LD_IS_BFD=3Dy CONFIG_LD_VERSION=3D23500 CONFIG_LLD_VERSION=3D0 CONFIG_CC_CAN_LINK=3Dy CONFIG_CC_CAN_LINK_STATIC=3Dy CONFIG_CC_HAS_ASM_GOTO_OUTPUT=3Dy CONFIG_CC_HAS_ASM_GOTO_TIED_OUTPUT=3Dy CONFIG_CC_HAS_ASM_INLINE=3Dy CONFIG_CC_HAS_NO_PROFILE_FN_ATTR=3Dy CONFIG_PAHOLE_VERSION=3D0 CONFIG_CONSTRUCTORS=3Dy CONFIG_IRQ_WORK=3Dy CONFIG_BUILDTIME_TABLE_SORT=3Dy --/XgSBHUpeXMHM/69 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZMF3AwAKCRB4tDGHoIJi 0ox+AQD2N9SfZLE1Y7/Z6Yk1dCe3++FevTh0MNY9GYKvQ6Xo9AEAxQ43w781k2ON DCdKUNVCSHPYrmD5riGkYr4LgtXcHgw= =8aCt -----END PGP SIGNATURE----- --/XgSBHUpeXMHM/69--