Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp347078pxb; Fri, 15 Jan 2021 14:57:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJxrRO7hkHj+Ot7UiRPFv6ziNJ6M6CDMqiPGGojR7KfxdpTgFnuBMciX+/x3hXA620tj3PxI X-Received: by 2002:a05:6402:31ae:: with SMTP id dj14mr7827580edb.364.1610751458702; Fri, 15 Jan 2021 14:57:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610751458; cv=none; d=google.com; s=arc-20160816; b=FsXOmOiU5FpZ4Gw5EFu3ehH5OCeBzPdi7SwEAUNRutn59/RhPjq90F9fm66Ybf4vv3 UjxTUT+H7vpjFlHmK0ob+Y9L5QuOMcJzwA3ITgkHODrDA7p92p+QkpDzvZK2H+C9uRAP KlsQStzCZJ7gAM9iTC95uZHW9a7H5s6OWe2wK+B5m3Oj4+/sHpyWRszstg48Lxa8tG9A DFMVu/UFt90tIW1KX4uY365y+FxJpNdRuKaNZaEXIaj/4ykwd6LN8QjLphaDKKAexs3x 47toxyVa/HVW2Mb42vKUoerFoE4+JxFc0h0TFNplcfFFz7s0/chwT8KyM5Y1EWB5FBj9 gh1A== 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:dkim-filter; bh=tU3QpgIR7dAMQjFdpq4xZQKOTVpUO9pF8byetNqIuts=; b=VP90cjS+x0w0jX6Mj7zWa1xvcN1EvXBRGb8H7kzNBZHNTV5WUlPyDkQet3Jbt8h53H pfhnbkHsyD8Q69aczoOeN83cfL3YJrfhPE/jkKTBi0YvpYpXgrP7lfeR1La6bHEUBsNT dcxdVTbpMwj+qShpg0UT+aKCFaUegstYuV+m5BHelrxCreXJe23VRM0C6l8dptZL77KO u1VXMywQcvdW+O85L8IDieoqBwB0cMCSmdme+KvovBBdHzsRO4wLBuzkKb/WvzCsMOyU uO4wTpEy8am6GhF8k/UZZlMPlUNzoXtDGCOqj8KQIHRS1rrqtxi1A41A8tW8K018Aak2 OiTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=JJNQUmn1; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r11si3642007edo.565.2021.01.15.14.57.13; Fri, 15 Jan 2021 14:57:38 -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=@nifty.com header.s=dec2015msa header.b=JJNQUmn1; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727068AbhAOW4M (ORCPT + 99 others); Fri, 15 Jan 2021 17:56:12 -0500 Received: from conssluserg-01.nifty.com ([210.131.2.80]:65424 "EHLO conssluserg-01.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726176AbhAOW4L (ORCPT ); Fri, 15 Jan 2021 17:56:11 -0500 Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) (authenticated) by conssluserg-01.nifty.com with ESMTP id 10FMt6dg000864; Sat, 16 Jan 2021 07:55:06 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com 10FMt6dg000864 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1610751306; bh=tU3QpgIR7dAMQjFdpq4xZQKOTVpUO9pF8byetNqIuts=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=JJNQUmn1r33AS0TDNhY+1vkYpsZhQf1jlaggebtUopI8VWmKpwJL9RUQsh7/MK0gL DmIBLcGLRxFSVQ3TSAwvPRc5NCkWmacEJ0K6TZFbHIqzuBkmggktKDsJUXz/fUf1Yy 7ql+2BFCc0d5l6UaqL9xQxzbdUKjm5ZTCLC3qakCplH+06KyRVRZcznl378OEd9+u3 9Ti/eEwOfY+7NKmvce3UC11+uRPG2fpoVFK8x0/Gv1be9a7QWgqLbK2Z1+QlDQZqvd XFAaiy5LcJaAqHjg7s6AWkhhHohyTWKJqBG2OOlccJMrGkNwwB+afdrvyG+sp7438v XyPlcOChjLvaA== X-Nifty-SrcIP: [209.85.215.174] Received: by mail-pg1-f174.google.com with SMTP id v19so6920570pgj.12; Fri, 15 Jan 2021 14:55:06 -0800 (PST) X-Gm-Message-State: AOAM531CMau6cbDmPgPrG3EPkHv+basgmyeF1N3tZ4YPWe3NjbGh6Rtn 1YBrbpDFdBq2pf/Ssj8ah88ublJ84CUG0Pp/8aI= X-Received: by 2002:a63:1f1d:: with SMTP id f29mr14851067pgf.47.1610751305777; Fri, 15 Jan 2021 14:55:05 -0800 (PST) MIME-Version: 1.0 References: <20210114042420.229524-1-masahiroy@kernel.org> In-Reply-To: From: Masahiro Yamada Date: Sat, 16 Jan 2021 07:54:28 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] kbuild: check the minimum compiler version in Kconfig To: Miguel Ojeda 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 Fri, Jan 15, 2021 at 3:15 AM Miguel Ojeda wrote: > > 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! Yes, I plan to merge scripts/ld-version.sh and scripts/lld-version.sh in a similar way, and move the version check as well once the following cleanups land in the upstream: https://patchwork.kernel.org/project/linux-kbuild/patch/20201212165431.150750-1-masahiroy@kernel.org/ https://patchwork.kernel.org/project/linux-kbuild/patch/20201212165431.150750-2-masahiroy@kernel.org/ > > 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. Yes, but that would require higher level acks, and consult x86 and intel folks. Please let this patch land first, then we will discuss whether ICC is still used or not. > Cheers, > Miguel -- Best Regards Masahiro Yamada