Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp1728610pxv; Fri, 2 Jul 2021 10:39:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz1OQBDU+lgeTvoHvEdd00ZTbgZNZ6qnhsam9IPKZMXEZyWOjCx/48bEokmHgupyyd8HlHd X-Received: by 2002:a05:6402:1696:: with SMTP id a22mr859333edv.184.1625247583792; Fri, 02 Jul 2021 10:39:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625247583; cv=none; d=google.com; s=arc-20160816; b=wO9tpdNJ8Jb+5qsQ5PV1RUWv/9gyGBJoV0ZARxDZoaAcY7UbCf9f4A8MXw1WWYoiHW EmP/wqqfySx6PBEOd03blzP1Z+z0LsT7d9vWfi2DLFj79vU0MytJpNakjlBxMJ1zdTY8 3wl9yVfIwyxLtHq6TSiVA/rxU1wWajjS2uHwXW6D35oSygKs/aKopc1SOaUQx0whYKtf vQw3RHUszAyT4JrsWksALbFwNyxUCQrWag9HWnxmYUrjAbWjel8s9RMfur2pG/b9YjGB VyztgRk1H7exlPBZhrAk1h71c1VQuDsPOAZhjZSMl71NOFJKmjTni4kTMYHJuM2Z5Xt4 D0tA== 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=WpdDBxDMBs/WCCCImI7VyqZUSL1kP05tbh9WXy7wNK0=; b=vyTSAfjRpnbqYha4ZmsI3MAt99I5DGYRo4PcjxLG3PYM1uomYsx8Ifpkfb2NPNjcGj GJgs7lKvln1HwZcNTgQMdfhalvcqReqB+05tp3+Ej2ddKE6XAMr723BeZYZNgvhFtZbo kpYxyzZEWZHzeqqLHqJpvXT3BqOLgqeWzRJX4m+kNOT+Mz9LyKFRGyQQ9I2Weh3a6YMp 22hpjcSAtBAmuJcwQLexsQyeEKkaNOXXs9D8l20PSyV0SUw/+JRrufUwb9hcKvhanh0y citwBhrE/NECaRA9480sZLyS94rVH1rhi16WOaOVM3WeR2FiO7izCokW9bbcRdmiuN8G eOiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=PpN2fsja; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f16si2551039edy.166.2021.07.02.10.39.19; Fri, 02 Jul 2021 10:39:43 -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=@google.com header.s=20161025 header.b=PpN2fsja; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229809AbhGBRkk (ORCPT + 99 others); Fri, 2 Jul 2021 13:40:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229455AbhGBRkj (ORCPT ); Fri, 2 Jul 2021 13:40:39 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E865C061762 for ; Fri, 2 Jul 2021 10:38:06 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id bu19so19422986lfb.9 for ; Fri, 02 Jul 2021 10:38:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WpdDBxDMBs/WCCCImI7VyqZUSL1kP05tbh9WXy7wNK0=; b=PpN2fsja1OJcME+2CirfdTO3iN2F/OVfNiWaWcbQOA/BpqctwIEedC7XYlHF6Bbglt lS8T9rburjedu9IwMv6RiWbYNPL407MvWVlQCo5xFxNNyf1kt+n9mXxCYqdmkysIY2YN nhs6MyyL/2y2ThZSjH7PQMgUEGonR/J03oQezLUUThRE0DUuS1C5jvHs3vUMUigCXpz/ gpbuy+Op0xs9RXpTUEPUY23WQK2FcfoWMGxSfrr0n4axG9KobqfGw3MJGlbg47qgQAgx Ixj1PZbhf4nANquUIk6Qch9NXwuoLWCizxiDlT1W3v4hFIxJ8VgGqazToF2w2GPfZQY2 kJCA== 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=WpdDBxDMBs/WCCCImI7VyqZUSL1kP05tbh9WXy7wNK0=; b=m2DBWlLjKDmSS5XLApcAlNZlTHNGPzAvYFzEEolFRxM7I9wMnjsCQVhoZTVuip/Trv 3b6ND5usTkUAwlCQcMdqzYPPr9ynM/2VS6WpStIOEQN032jMyYGx+Xhb+SaZlDk2wCUY zaTOmkKIVFBlk5749r4kqdxq8blG3nL1a8L/GrnjEeTbHfSqxmI77BOFEk0S85Xr5Ni2 Yd17VWL60PGGsyC5kj6lbC3drnd0rc4VYBLZxgzHYsUoSah5nvkoW1We9GHpVpFcJcOD Hs9h4jOMYYH5/00JlNtlWhIsIOqrWoQztae4roaQ/3kdxp5GfaIW7ZNjDv5TPLDRhKXg HaLA== X-Gm-Message-State: AOAM533LIxS4BhdjeICwIJMpirOGq+WgiqYffbgDS+KH18D9+11q2K8D 26WAG+q9UVEsZdhe6Kk+PU8OcE2eZZUpzxZwjIFQVA== X-Received: by 2002:a05:6512:ad2:: with SMTP id n18mr531247lfu.543.1625247484188; Fri, 02 Jul 2021 10:38:04 -0700 (PDT) MIME-Version: 1.0 References: <20210701235505.1792711-1-ndesaulniers@google.com> In-Reply-To: From: Nick Desaulniers Date: Fri, 2 Jul 2021 10:37:53 -0700 Message-ID: Subject: Re: [PATCH] arm64: drop CROSS_COMPILE for LLVM=1 LLVM_IAS=1 To: Tom Stellard Cc: Catalin Marinas , Will Deacon , Masahiro Yamada , Arnd Bergmann , Fangrui Song , Nathan Chancellor , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 1, 2021 at 6:05 PM Tom Stellard wrote: > > On 7/1/21 4:55 PM, 'Nick Desaulniers' via Clang Built Linux wrote: > > We get constant feedback that the command line invocation of make is too > > long. CROSS_COMPILE is helpful when a toolchain has a prefix of the > > target triple, or is an absolute path outside of $PATH, but it's mostly > > redundant for a given ARCH. > > > > If CROSS_COMPILE is not set, simply set --target=aarch64-linux for > > CLANG_FLAGS, KBUILD_CFLAGS, and KBUILD_AFLAGS. > > Are there plans to do this for other architectures? Yep, just starting small to collect feedback on the idea before blasting maintainers with more patches. The goal is to handle this in a per arch/ manner, rather than the top level Makefile. -- Thanks, ~Nick Desaulniers