Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp417611pxa; Wed, 26 Aug 2020 14:21:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwoFyPzAdTWUekaa1RRroYcuiBizCLMFVNobzwF2Fk9nUkvxetiywjfNXJCiVLt7DCh3zmT X-Received: by 2002:a17:906:a053:: with SMTP id bg19mr18210946ejb.444.1598476909216; Wed, 26 Aug 2020 14:21:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598476909; cv=none; d=google.com; s=arc-20160816; b=dboSwuE9ZkKqrNB+SKQ4R94g3Gw8UUCNwlPYdHhXGelk2AHXEa/ans03Ch09xLWuBm lhVwUEtON+WC07Ai8jPWfWp44PAh4g45OBcj/NnF0ADSg34uQO2KEiFLctTGjh39jnll CTN+S9iYAbjID2eg4YD/5N91Ii/4SwMmxdhfIpvKniP3auBXLFgGBy3iVfQa2DeZXt60 iJgZ/5fey3I0DgVyjFBQH6COZZRvpxUf2gNB1ywDWxjV+1bEYYWwsYSyQQT52jV9zchB gh1JfEI/QBtU78znG8RPJczwQWKI4b/He3mfanplgKNvO8dYxVFx2RWQKrTHIpfdzGCe zXag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=a5CKUQlNHEbAiL+wb+a/1xleYsdvxRkErdEiQo/31Rc=; b=Ged4tJI/gdObdeoTroEuCkl2P7lBfU00J9KfXjJFGmn1QtkZEZwXHKW3NKnxTrXpjY R3HR2G7vlr0qe7X0AMBXCMgkjYR+mTg5NJrXZnG6YLkNov5MEtxo+SI5gqhuA7X4rgRi JH8TTRnIg7gM4cZC0ukF0UGPolORZV+GRKlj6W+ULYMoyAoiizK6R+oLYfh1x0KuSVw6 +vewvQnTB+6dn//5J2DOqlaloh60Vy8iKloXBq+DbCltlrg7PtX8/L+Lop8nyE3LqCZL lA9MZFaIGhtLvNM9DvUbtas9pZ/b7e+ocpEc9vdarm5zQDOEsVAL8PNMPqG8g1KyfYv5 el+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IIv78Dpy; 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 b15si173515edz.305.2020.08.26.14.21.26; Wed, 26 Aug 2020 14:21:49 -0700 (PDT) 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=IIv78Dpy; 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 S1726809AbgHZVRr (ORCPT + 99 others); Wed, 26 Aug 2020 17:17:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726753AbgHZVRr (ORCPT ); Wed, 26 Aug 2020 17:17:47 -0400 Received: from mail-lj1-x242.google.com (mail-lj1-x242.google.com [IPv6:2a00:1450:4864:20::242]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B7CECC061574 for ; Wed, 26 Aug 2020 14:17:46 -0700 (PDT) Received: by mail-lj1-x242.google.com with SMTP id v9so4020918ljk.6 for ; Wed, 26 Aug 2020 14:17:46 -0700 (PDT) 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=a5CKUQlNHEbAiL+wb+a/1xleYsdvxRkErdEiQo/31Rc=; b=IIv78DpyHuknZxUDHIKLeWSoqevrFQKqYnX8M7pQr7QCTNMnAw1vcvQkupXWYALL6N NUce49qJVvhZ/k1Xx8ZEzeDH3K7xuHWqIRiv/64JzbqkWtWTzUtEmkhuPKs/IXVL9hmy IWBFDLgMI0NgodtRg4oeMiq97+Ehv6Zr5cyKDu7b2iMDrsVKvVBxdRm3tX6qOFwlQcjr YpHlx2IH38gpEXVk6mgBh5GWljGemx+USdYBqIWz2TtUvcZ5wko7KLzsCAWz4nhW7oF6 dhLgsfMIlxdGeNJFnhtvfcEdnbD6e7eXDMoUid8HjG4eyx/9wBihXKY9iR9SQahx5J8d D0TQ== 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=a5CKUQlNHEbAiL+wb+a/1xleYsdvxRkErdEiQo/31Rc=; b=EY++nkmGJeWppNTzJL9s63zv92/ooTswKQ5zxQ6D0lONy7pR+vQB9SlD2fuJ5SP9uu /AqoPoU8T38yDcCa+u2HZxiqWPS932p6XDowsAyYDoZpGILqMqLSVdmMMz6lW2agdxSk ANdq9DMjbQ4MPgQ2LmBoY6hgB6L5wm+3EVqu9YIShCT04yYn2AmBkGA/IABQyrWwZkvv kzYuwjoPivKtb4183zawY6fxixQREBB+hVgsftU3xYy2RfYuYAhxpUq+q2fTIiQfVOkK pyILWu1JD47bff/Vzast3pEmU1PUlJ/DvGFMKK2vlvoxpr2QFIj8cAyfhkxIk5HzXi/i OLPw== X-Gm-Message-State: AOAM532Ma5R9LlzfrVgKjbgwq9xHFlN1XWJqnNLCF0lFu5UcXHDTCSxD lUC8lEbsCVT4XDLnqomlog/1cMIbsjJIE9aCSX4= X-Received: by 2002:a2e:b0da:: with SMTP id g26mr8617987ljl.264.1598476664853; Wed, 26 Aug 2020 14:17:44 -0700 (PDT) MIME-Version: 1.0 References: <20200826201420.3414123-1-ndesaulniers@google.com> In-Reply-To: <20200826201420.3414123-1-ndesaulniers@google.com> From: Miguel Ojeda Date: Wed, 26 Aug 2020 23:17:34 +0200 Message-ID: Subject: Re: [PATCH] compiler-clang: add build check for clang 10.0.1 To: Nick Desaulniers Cc: Andrew Morton , Sedat Dilek , Nathan Chancellor , Kees Cook , Marco Elver , "Paul E. McKenney" , "Peter Zijlstra (Intel)" , Randy Dunlap , Ingo Molnar , Sami Tolvanen , linux-kernel , clang-built-linux Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 26, 2020 at 10:14 PM Nick Desaulniers wrote: > > During Plumbers 2020, we voted to just support the latest release of > Clang for now. Add a compile time check for this. Since this effectively enforces a minimum version for Clang, I'd also update `Documentation/process/changes.rst` and `Documentation/admin-guide/README.rst` to mention this, and perhaps use that as a commit title ("implement minimum version for Clang") since that is the important change, not the implementation so much! [Actually, I'd remove the particular GCC version from the `admin-guide/README.rst` to avoid having the version in 2 places (that doc already links to the other one), but that should be another patch.] Reviewed-by: Miguel Ojeda Cheers, Miguel