Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp6709707pxv; Thu, 29 Jul 2021 23:52:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzejPmC5QN8BN0x5Hx3CZrvS0Ffmn1ROUUR7MADxTgNPAHBDQtHpaRwuIDlRhDWPLfFfLaL X-Received: by 2002:a05:6602:1808:: with SMTP id t8mr1217241ioh.165.1627627931861; Thu, 29 Jul 2021 23:52:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627627931; cv=none; d=google.com; s=arc-20160816; b=cUFIr/zUmxW321RTBOJ1SPsP1PEGZm3GmeZyuULvUzErs8FE5avs9ME7QoGbMwZgfI 2s/D2BPbQMXwMnQhIk3BNiZzQD0QdfaYENDo3E1pJlNxzSj7HmAvJHcSdz9mdOi/H5Cs AALqqu5MCuFRrpVbfm6Xw3wR+xvtB5T6iFMh76ru06EaH9z0Kh5nr21BQ81UHgr+xM3L Pk6+9lUxIvbfvmPXg5k0n2YHpP61dNNnEx1i1K497myoqwNhJ8lwTAluv9VFuaI4TzC3 UHPVzHbrzwrnwJxDvSRCzjWPLyaGzHseAfrATCUeITCMe7y50lnF42JlWjHJr73+QNPe zN5w== 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=t11HKxEEH4asV/wZXTqt9J2Oni9bsKp96UbDJNXP4DE=; b=uZk5gB7j9RMHM0o7FE5c43ouB5C3nfsjQHeqKfy4prAxWJvyPrysktleg6zqmgapIA P8WpLAXyHFIeECajceSPLJMKB65MfdCR7UlYliVl0BfM/s3GDrbAoZa07dxH8lehq9jj 1tyWyrSOBYgvfob2iVdxJos/S/KwJtWlfXBBJ6yd6zNyPuT9+bq/AMfdZJ+gDJLI0MhM gBpXqOTjt7M1Ys2HojqMnyDQgguDIz/D1FtzaGEJJJuh4EU77JpSGKB33fbz96MjhOJa 3XbW278knAMtC99gKccWRCCZDcC6BNvPM/rvshhePCZr+2c3f66/DwYibk1TkFhlXusN Ws7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=aKIp6ToG; 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 q15si974262jat.18.2021.07.29.23.52.00; Thu, 29 Jul 2021 23:52:11 -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=aKIp6ToG; 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 S237680AbhG3GvH (ORCPT + 99 others); Fri, 30 Jul 2021 02:51:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237463AbhG3GvG (ORCPT ); Fri, 30 Jul 2021 02:51:06 -0400 Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9222C061765; Thu, 29 Jul 2021 23:51:02 -0700 (PDT) Received: by mail-io1-xd2c.google.com with SMTP id m13so10189885iol.7; Thu, 29 Jul 2021 23:51:02 -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=t11HKxEEH4asV/wZXTqt9J2Oni9bsKp96UbDJNXP4DE=; b=aKIp6ToGQeADU6hv6MlwcrPSol1BzQUQs9GX42LLESv9E8jJ095bPtgdnQ0Fzf+x+b 1yX6Yw4wR8GVGcufOq4oDpF6tFNaxHFrwXQINBq28/V+VAoQ/lSl/9kbpcskxqN+mP/+ OBSP9OfRfi7fKoGGda7RGbmkUYdDpVEOM/BFPmJ1LIht+22HIdoSjkEeWVfmb9s/UcDA oJUmHRIr0dfYxGaLDKTK7E9pV00xMkD/3RVLo+IVsRn/IHYRexYkfR7qsjg7pG0REDvc OKTabGVA4ktuF5yx1DE+oz8Llp2YZwh0z0NtkvssKuJcC6HYdQgvqHj8DNMJkm973biG IUaA== 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=t11HKxEEH4asV/wZXTqt9J2Oni9bsKp96UbDJNXP4DE=; b=qUgCiYuxNKyR0g/bNNtyK3SEVkDttEgqotBacC8YwvUxAnpRzYf9xi33kHChAB5Nxq NehKljiDR29Co2nYKqMuKYG8lU0QsL8k0MKP3wV53r5wo8ff9KY/IyruHqHTlZ0tPIIj peUjqxdVqgMnDgeI+XAv2SwVCHQQOOAxbRz/1VKYIHjfkk/pMxielTuRGTyoQ4u3JVQ6 jiLTZh/EqxhEQiI7/RqT5JZ35Q2dBzRSyQF0+4zL2nRIPBp/tmPGvzIyHTjUY2uvNyVI /3VvDD4tAIZIQqBdFHTk/7XU1fMC0739rR23KtLqN18JYNBMo073yeidXfBOAJfAVghJ gKNg== X-Gm-Message-State: AOAM533m1dd8zlI+qbr9sRh/Yth1EqoHOUe5ecoxJQeIfDhZHD8NJIQ9 MPywAz0AsbpfwCww4Ot59HO9PbAIgNdRAtJpEet7kiV9 X-Received: by 2002:a02:9508:: with SMTP id y8mr953957jah.28.1627627862194; Thu, 29 Jul 2021 23:51:02 -0700 (PDT) MIME-Version: 1.0 References: <20210729165039.23896-1-ndesaulniers@google.com> <20210729165039.23896-3-ndesaulniers@google.com> <44117d0c-51b7-1f68-f752-ba53de503b14@kernel.org> In-Reply-To: From: Miguel Ojeda Date: Fri, 30 Jul 2021 08:50:51 +0200 Message-ID: Subject: Re: [PATCH v3 2/2] Makefile: infer CROSS_COMPILE from SRCARCH for CC=clang LLVM_IAS=1 To: Nick Desaulniers Cc: Nathan Chancellor , Masahiro Yamada , Miguel Ojeda , Fangrui Song , Michal Marek , Arnd Bergmann , linux-kernel , Linux Kbuild mailing list , clang-built-linux , Geert Uytterhoeven , Christoph Hellwig , Linus Torvalds Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 30, 2021 at 2:19 AM Nick Desaulniers wrote: > > maximally flexible." We don't want folks generally using CC=clang; > preferably they'd use LLVM=1. I need to rewrite our docs to make that > more explicit and straightforward. And if folks would prefer to use > CC=clang for whatever reason, let them explicitly state CROSS_COMPILE > then. Perhaps it would be nice to clarify the "level of support" for `CC=clang` too, in particular long-term when `LLVM=1` works for all architectures. In other words, is `CC=clang` going to remain supported/maintained, or it will be something that will still compile/boot but not expected to be used by anyone in production, or dropped altogether (not the `CC` option itself, of course, I refer to the mix of toolchains)? Thanks, Cheers, Miguel