Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp474729pxb; Thu, 14 Jan 2021 10:18:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJyiM64pdblS1ibt+n25XgYXlOOooYE4AoCL8iYb0FzclhERbtxdGGIhjsf/HNqXku7U5lzI X-Received: by 2002:a17:907:d25:: with SMTP id gn37mr6015294ejc.381.1610648281000; Thu, 14 Jan 2021 10:18:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610648280; cv=none; d=google.com; s=arc-20160816; b=uarlIpk77pjhZ3gnKcM5SyuVPaJNFJFdUAa8Sl7FcRiMunldxDpqoHGujOY8bGamOz JDBwurjOGkY7hwY8fo74G3uv7vHLeMTjapWeQ7aalHA9cyQT3neeFvc+n7+gZdGKibG3 e22tWuykGNxSx2DfSXDzo4cEpNR21u8KEQYpBWfXNMRGCV+RBsbrpgHWmnZySd+Ztxzl hN6L7+UYKUf7hbRnBi+ee3xiqRtsT2X0tih+ovguKIJ7M6MiHv61UNb9exDhyB3IWGXu 33+xX+mMhNVi2r3rsvG83DxH2ue/IZqeA5LfHiTNlcNXiwJ2wlEW1+oenoU1Q5QltfYp B95g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Yb+qq3jE3dz702Bx7BFxZGv/G0yc9+3LN1cCdlwEu2c=; b=hOjcdA5A1uwUXUPYKENTnUui4ZxrCmpqc8nPUbZnx6GqRiZfKF/3oPoCrUQor5HYz/ 4NY+J1rKINaWYillXjeQo2PYAMe9WPWmpeNMk9ihlE9PGB+W2yXRu/i+JThl46P7FdRj ChvqB8OSadaFLdMquGpOPnhw9kcQHXoPBKvRkbECNc49+hA2UZts0x4wCPXA42YFf9I9 RmGMVacCApQArtS6tFbkKM7uuEugA3Y3OTUN6OyLLuDPVEbbadDomwDMkcol3SEVPimN xGICV9sIvAHgEA42uxFL0FP8nZt8gQ5SgwcvUmVD/nVCW2cWown+TyMmUZ1tpR9zM4oY 0D5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tf6V0LKw; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r26si1554879eju.191.2021.01.14.10.17.35; Thu, 14 Jan 2021 10:18:00 -0800 (PST) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tf6V0LKw; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728783AbhANSPt (ORCPT + 99 others); Thu, 14 Jan 2021 13:15:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726035AbhANSPt (ORCPT ); Thu, 14 Jan 2021 13:15:49 -0500 Received: from mail-yb1-xb30.google.com (mail-yb1-xb30.google.com [IPv6:2607:f8b0:4864:20::b30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08B16C061575; Thu, 14 Jan 2021 10:15:08 -0800 (PST) Received: by mail-yb1-xb30.google.com with SMTP id 18so2665558ybx.2; Thu, 14 Jan 2021 10:15:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Yb+qq3jE3dz702Bx7BFxZGv/G0yc9+3LN1cCdlwEu2c=; b=tf6V0LKwNOcgW88htXLBNwAp036KtO9+g4Enk+cOmblULhG9QNTt+SJFNode6W9R7W aEr0TSj0pNIbvuStefllwW88kh/Z/3DPS87zuAUxsqVbfJtK4Fx6LrXfrxula9bCf8Ye EVm6Dfl1fLBL9/jx4Wh+J+hiVC/JPsV/cYEit4IjRy4tNHvh6ocLGwVTjs5WlK1phE6a A69dpGXIntEoJwA3KYvW4W6N2T6hrMNUEzoohV3UOobp48Q9yBJ3RpLbLwScq8mC4jJa OJjsCPp7p92dxF/Q4C6CXkyOzystuGDksqTGkyI1y+xJENPQnR0rwQ6iwMGrV9tdL/dc WlMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Yb+qq3jE3dz702Bx7BFxZGv/G0yc9+3LN1cCdlwEu2c=; b=X6Qs0Vi1jwtmCMdFOs3k5kQ7oJ4Ku2EMKtt5V1l5mpSVLLnjSiWA/F8bLJJOeFzYYN ZM9l+aBgwfZ/mvhxpRo4Zr4Mnp6DS/XD4FZRmk8iN/PqOqZnilkRveV6WEwJS8o623D6 DFllKGyyj1Zq9D0jpTn0LDl4q81BQbD+o6Wl5qhmwhbZ7NjjWQlgh0rH8/WXl4c2TARL 4Bywrfx1mBkjQ9//ssKFg1PJPZ2sPEKgU51QMsRL7ga7rUopfx9gr+U+zOZuIOXYmd9S 177c64eegElfACs6EG+shvZpha/qw5KkPg9zHSrdsBW+Zuv060yICrPPtfyfG7Lt7Bgl FyEA== X-Gm-Message-State: AOAM532IH5mCfxr7L/9x/0PCifwdTVjX18E1hT9dudjz8tIJkcmmvQxx o1Gd34sy/4CfZF81Ib6HsttLmMOI9LDXutM7y8w= X-Received: by 2002:a25:ac03:: with SMTP id w3mr11967015ybi.135.1610648108210; Thu, 14 Jan 2021 10:15:08 -0800 (PST) MIME-Version: 1.0 References: <20210114042420.229524-1-masahiroy@kernel.org> In-Reply-To: <20210114042420.229524-1-masahiroy@kernel.org> From: Miguel Ojeda Date: Thu, 14 Jan 2021 19:14:56 +0100 Message-ID: Subject: Re: [PATCH v2] kbuild: check the minimum compiler version in Kconfig To: Masahiro Yamada Cc: Linux Kbuild mailing list , Paul Gortmaker , Linus Torvalds , Nathan Chancellor , Nick Desaulniers , Will Deacon , clang-built-linux , linux-kernel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 14, 2021 at 5:25 AM Masahiro Yamada wrote: > > The cc-version.sh also shows the error if the compiler is old: > > $ make defconfig CC=clang-9 > *** Default configuration is based on 'x86_64_defconfig' > *** > *** Compiler is too old. > *** Your Clang version: 9.0.1 > *** Minimum Clang version: 10.0.1 > *** > scripts/Kconfig.include:46: Sorry, this compiler is unsupported. That looks nice. Hopefully we can do the same approach for other tools too! > I put the stub for ICC because I see although > I am not sure if building the kernel with ICC is well-supported. I doubt it, and there seems to be no maintainer listed either. I think it could be considered for removal in an RFC. Cheers, Miguel