Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp58001rdd; Mon, 8 Jan 2024 17:40:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IEy+jxLY+dTEgK042NosIBwpbSEF20lzqaPTIKDyKDDItA9r+bPnmXVp1bZLoBIpc+x1d/U X-Received: by 2002:a50:aace:0:b0:555:9b82:3b31 with SMTP id r14-20020a50aace000000b005559b823b31mr8140edc.34.1704764428603; Mon, 08 Jan 2024 17:40:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704764428; cv=none; d=google.com; s=arc-20160816; b=CPbF/Iw2aCWAC0qjtSfhftIufXHgAbrhs4ceVHaCymC2Mb0o5+191Dc3x1wmPE88XF asoKnq28gQ9eSJSltOsotApfhzA2Tt3XhaFVZNbQmuCdT6Fe8tL1S1+bxlSEtYgw7bZ5 GnF0pzceNtnf0nDH3+3d7X7sWUbF5+52xBHnQIDiVjCz6CvqTMMekmwfdXvt6DedZW5Z C0m2xdiZkKuR2DhZk6k+vBvJCa8N1kCHA8zBkbbfuXImed0jRWfh8E1az3LbISLxt+Ck R5caezSezLbz/YSv+Ee7aO/cfJQP8xH71qjC7i4it8qO46QSns+vPmEf3AC68TwSkJTb v19A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=f6tOXSDdbjbSjlbEm6CApuRfeR7kxFV07+e1riE+zw0=; fh=9CtOQw/DtRChv4fxfOwW6lf0FKzSRJAO0DipdOYkuuc=; b=N1QFMmUZDGI6vKnAhq5qKaQcKnpKfVQ8/LrQROyrHDZcZcAbjA6kNjrL67mcBmsIne PG1jMlaArSymwe+dzSFHmXHFWDAW4dZ7iGL5lqncfrp0pnyuyCKF1VoDfJ0SUXYTiU3F 9n3OQzTWnPFFVp4K+rgrvo3uZaY9WANnpxAG3VEmCuHEhUVLzOOXm2a4vQmguwROii2M grFZAsVHFbBMkV996ZYaGrLjcD+kwaIba4NwsDD9p0nyGkew2mM8UQh6Pf3LXTDaEnNY NovXF2J0x5s0Wm9QY2HO6S7Czjsfx2v7eV9+IXYUe8xbT08Ll0havQjuaoR4Yb/TN9R7 Y0Lw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UoYIohds; spf=pass (google.com: domain of linux-kernel+bounces-20263-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20263-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. [147.75.80.249]) by mx.google.com with ESMTPS id v22-20020a50a456000000b0055411d3d790si365086edb.168.2024.01.08.17.40.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 17:40:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-20263-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UoYIohds; spf=pass (google.com: domain of linux-kernel+bounces-20263-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20263-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 40B401F23A4F for ; Tue, 9 Jan 2024 01:40:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 94BE020F2; Tue, 9 Jan 2024 01:40:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="UoYIohds" 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 C2A6415AE for ; Tue, 9 Jan 2024 01:40:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 61852C43390 for ; Tue, 9 Jan 2024 01:40:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704764420; bh=2x9g0HMaQU0iX9WQFIBG+M+vpIbfAwCaBiU+2zAJbBA=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=UoYIohdsLoCPJIdqIbXoPxXzpEL6lSppRCE5IjTooKUKIRVZWV5OotocomA60S8x7 eFjQ+7kp06Wd9EPpmofHQUocTeU7tk4N7S9liGRTHksaw0ntDZ2DKH8yP/VJwfKdLH YTTUziIVV+hJUaNdIiappf1LO9KE+QWaoqxZ9IxDGv+EPC3kaicSuJsSGum4bIeugL zAHi0WBkLYs7AeM/nTqpW996EvAWBpqzGk41puPSPAV3/Vgb8EIEhYlsDbpfnnTE0F qLt9SpgNC6Ueo39lBEmTAb4yfzz2+jSaXuVOPwKpfC+0J7l7OGWcHP9Ry7Bf6uggvJ AQ78Zl0X5BxrA== Received: by mail-ej1-f53.google.com with SMTP id a640c23a62f3a-a28bf46ea11so428968966b.1 for ; Mon, 08 Jan 2024 17:40:20 -0800 (PST) X-Gm-Message-State: AOJu0Yxaai20rrTajNSXqOZXyhJg/H/hbvrhZIK4TqWDh5gvHeK87zay ps8+0O++z5LFTu043Rb9v1z7YfESLXKB+mAKJtQ= X-Received: by 2002:a17:906:3c50:b0:a28:f6a2:ca7c with SMTP id i16-20020a1709063c5000b00a28f6a2ca7cmr10082ejg.17.1704764418845; Mon, 08 Jan 2024 17:40:18 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240108033138.217032-1-wangrui@loongson.cn> <20240108163759.GA2899468@dev-arch.thelio-3990X> In-Reply-To: <20240108163759.GA2899468@dev-arch.thelio-3990X> From: Huacai Chen Date: Tue, 9 Jan 2024 09:40:06 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] scripts/min-tool-version.sh: Raise min clang version to 18.0.0 for loongarch To: Nathan Chancellor Cc: WANG Rui , WANG Xuerui , llvm@lists.linux.dev, linux-kernel@vger.kernel.org, loongarch@lists.linux.dev, loongson-kernel@lists.loongnix.cn, Tiezhu Yang Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Applied with R-b/A-b tags and fix typo together, thanks. Huacai On Tue, Jan 9, 2024 at 12:38=E2=80=AFAM Nathan Chancellor wrote: > > 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 issu= e > > 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" =3D s390 ]; then > > echo 15.0.0 > > + elif [ "$SRCARCH" =3D loongarch ]; then > > + echo 18.0.0 > > else > > echo 11.0.0 > > fi > > -- > > 2.43.0 > > > > >