Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1737519rdb; Mon, 8 Jan 2024 08:38:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IEDUoJgIzJf5vuKDBecod0yLTlCKPX8G6qvCAPLS9XAWtYLSVZjpNrzzUuasbLmqAdlxIsS X-Received: by 2002:ac2:5501:0:b0:50e:69d6:c7b with SMTP id j1-20020ac25501000000b0050e69d60c7bmr1475707lfk.120.1704731930439; Mon, 08 Jan 2024 08:38:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704731930; cv=none; d=google.com; s=arc-20160816; b=uL1oZ4p6cynRzsdUk/9+MEFWi3XKBFgWMSJTvi4+PivSYA4AKoOD1JVSs+PlfCcIN1 PWqRyzPMVidE/d7a+xsFeSadfXEhknr32yzaOGwZwzZiaQdt7ePvQcY85Rf5UQ18x0Lj D52MDicgbXhPxPBsVcWVz/3hBxyDk3LqdItOCSM7LtbS/wC6IPMqRJghLtq6pe/4lBS9 JLwl/aAlgfr1tbVznDlZQmBTbwkGsykq9HZX2xOmnuPf/Vbl7Y+o4tMycXjtZug0XaBO yFclO2HVZY1yN7PNG7DB1ZdTkVjTrjWaZ3izrcrPcdJ8TUYcH+AYrrmKn5vv/iU53JKQ wG7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=H3y7DK8kfoHKai3OEkBc3Zz/eVD8FK7/ciNma2XwVKQ=; fh=oUcVldwTeyPMLfgGXQwOqcxgVgV4utoxGeksPmTonTo=; b=Dh/I6/vjDuU1DX/IcK8Ccxx0lv3XJ39uBbhSGuUTJAj+I3Trhn26xC16brUuxETUqQ kePcAse5TFvcBm3kRFYWphjg/iOOu6VQdXrJCteqNPOpodg/Kcb9sJVXfzc0lbgPdCJp kkHcfHQnEJrIolIsrqgkWgkHN7i2GIXbGfFf0CvpSDqogV0QAqQiN9PS1fDtMWz6+Uoz 0vkEJMNDrFbD2fOHztl+tAOIICIlUBttPe1gj93HscYMWBTmtFsNowDvbune5NLFWp+i yHYmFyE3UU+E6SOFgWvej9e8bmRk56aleFE1VnxoNjtugZ8L5PiGgAsU7qWZTG3xxN/6 wR+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TMWfUJNK; spf=pass (google.com: domain of linux-kernel+bounces-19855-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19855-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id r18-20020a1709062cd200b00a2333846e72si40963ejr.739.2024.01.08.08.38.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 08:38:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19855-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TMWfUJNK; spf=pass (google.com: domain of linux-kernel+bounces-19855-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19855-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 32E931F23954 for ; Mon, 8 Jan 2024 16:38:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C133953E0E; Mon, 8 Jan 2024 16:38:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="TMWfUJNK" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E259354BDF; Mon, 8 Jan 2024 16:38:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DFB7BC433C8; Mon, 8 Jan 2024 16:38:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704731881; bh=WygZITSSEujfD54so4MqFGyTBa68OD3Lin5aOy2bgbA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TMWfUJNKayP/cEqk1VqEnlahZkPCOBuIOKsFnhZBmJuDPBYlHHpjpYm2oYiTvcFg4 1MZe2FSRVs0PaNFlgtK6y40PBO3dqyUTfQfoYozb25H4dGjp4ATEItBo/3cw7tKXcA XPpJ2wPjiMoIRu6K+Pm25+NgFj66dWBWYrr1hFY9lzfWkx6UrCOD+afhABBJSVroZ5 EDscvzpn3c8fX8FAYtSqqW45mOE07HtpbMbram2pDlzRCvD1Fg28TyGRYOSNqTdYCj fHitOw6rZolcZJOl/HHG39R5MsiApw4rdJSAPgh43x6i/2D1biFTJ5EVJAF1a7fT/b Djb9jHHkk3GIg== Date: Mon, 8 Jan 2024 09:37:59 -0700 From: Nathan Chancellor To: WANG Rui Cc: Huacai Chen , WANG Xuerui , llvm@lists.linux.dev, linux-kernel@vger.kernel.org, loongarch@lists.linux.dev, loongson-kernel@lists.loongnix.cn, Tiezhu Yang Subject: Re: [PATCH] scripts/min-tool-version.sh: Raise min clang version to 18.0.0 for loongarch Message-ID: <20240108163759.GA2899468@dev-arch.thelio-3990X> References: <20240108033138.217032-1-wangrui@loongson.cn> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240108033138.217032-1-wangrui@loongson.cn> On Mon, Jan 08, 2024 at 11:31:38AM +0800, WANG Rui wrote: > The existing mainline clang development version encounters diffculties > compiling the LoongArch kernel module. It is anticipated that this issue > will be resolved in the upcoming 18.0.0 release. To prevent user > confusion arising from broken builds, it is advisable to raise the > minimum required clang version for LoongArch to 18.0.0. > > Suggested-by: Nathan Chancellor > Signed-off-by: Tiezhu Yang > Signed-off-by: WANG Rui Reviewed-by: Nathan Chancellor Thanks a lot for all the work driving getting everything to work properly with LLVM! > --- > scripts/min-tool-version.sh | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/scripts/min-tool-version.sh b/scripts/min-tool-version.sh > index c62066825f53..9faa4d3d91e3 100755 > --- a/scripts/min-tool-version.sh > +++ b/scripts/min-tool-version.sh > @@ -26,6 +26,8 @@ gcc) > llvm) > if [ "$SRCARCH" = s390 ]; then > echo 15.0.0 > + elif [ "$SRCARCH" = loongarch ]; then > + echo 18.0.0 > else > echo 11.0.0 > fi > -- > 2.43.0 > >