Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1005233pxb; Thu, 4 Mar 2021 00:14:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJza13jb4xxRKKQh47AiLr93TSioJqSJO5pGB2dLO2zMtvK3Ea6aFBQNYIndVqPXXY/iRmzH X-Received: by 2002:a17:906:24c7:: with SMTP id f7mr2859357ejb.473.1614845687680; Thu, 04 Mar 2021 00:14:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614845687; cv=none; d=google.com; s=arc-20160816; b=GCddXtFVl/b6A7BRyT3gXlt70b6fBAhDsH6IUdXung+XxZ1ZIoohVeGOVyh9IAgXJs Fl8Y7gPeR0gNXciNOC28+NMvfcAPgCPkQm62Rqqa+B7V9b8FzadljFGDbtEJv9fxbQXq 6ToBCFATPrs3YrnSN8Xqqkpmnnc9z9nOvAfTJjko8Uz5zvcJX710oDA4NRXK3MT24HYY /UpXySNMtTrW24Ga5DhJOB2r9H2socTwtNiTTvcUgGTh6HzCYzia5t0jAm7tSfNP+RSJ 8wZrI95UKHHukqaLKWkJWIOlk4A3L50hAQ4Uim7KyAGaxKIbhokHIJVoG7CJ7zOOl83r ORew== 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:reply-to :in-reply-to:references:mime-version:dkim-signature; bh=MBQIh7nbzwXZfvcx1OJ6qsninMO70G/gAKxbffF9+cs=; b=LlHptkBjnziLLEJXKxI/ICjXAq5yTsLCa4KlzPobFrp1eK3sFH79bPVeMtkLoPAf9v bcH59FfQZG3mu5+CiSs0K6PrRfo+DFuapdTt4R8arIk3qGZ44wWs43oYhRReJh9GD6pR NkriW6iI1bm3rRjtopmCv7oJgE2is3w1dE3FU3Ntzb1GflNmxJceZcAiEAUaGdPHBs1g DVX9OFJWdbYJKyIwm1O+VqdTW0AuKJeK4Cej9tvrd+t9jdM2Uq/QNRwsU8ZmwLHL0upt pXYE5rQrgP2PuQ0rn9vxvmJ/f260MJvoO+b6b54a2GYDmWrez6/fdN+WwqZyefFw7f2W I4rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GdqfAoy8; 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 l13si19973470edj.219.2021.03.04.00.14.25; Thu, 04 Mar 2021 00:14:47 -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=GdqfAoy8; 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 S1357976AbhCCLhc (ORCPT + 99 others); Wed, 3 Mar 2021 06:37:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233925AbhCCD1Y (ORCPT ); Tue, 2 Mar 2021 22:27:24 -0500 Received: from mail-il1-x136.google.com (mail-il1-x136.google.com [IPv6:2607:f8b0:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67D2FC061756; Tue, 2 Mar 2021 19:26:24 -0800 (PST) Received: by mail-il1-x136.google.com with SMTP id i18so20037117ilq.13; Tue, 02 Mar 2021 19:26:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=MBQIh7nbzwXZfvcx1OJ6qsninMO70G/gAKxbffF9+cs=; b=GdqfAoy8c9cJ4nFwxF4sCWIuWuINy4Ro4diYigvC63NvkfK4+mQcXYXVqlMN2WJinB 8zxC12P5KEvrf102AL+VZ5ml8S5+YIFedT8uEd0d8/74pABUu2omFFO9rZEoVQ/Qc4Ge gX4xdPW0gqoq0ak3gPz9iA/UNLeMS67zTdclgdOKTLzpO6h6Z+r25Den4YLTUcTWrOev ztyRspPmrFa8A5AW5LToH5F5lWQb0W6WxSpO+kwwv8rTJYS614PBdEER+IFeWPa1k8no GhuUIAp9f427YVQnAmJWGVxdZww8KVDhRCZhw1JfEFnM2U2qTPwgUMiNlEsMJyse9Kpx nkLg== 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:reply-to :from:date:message-id:subject:to:cc; bh=MBQIh7nbzwXZfvcx1OJ6qsninMO70G/gAKxbffF9+cs=; b=qendrCo3En68jtU2NMWPvaKSQFdJEslJFra1rYbIja5fO8RN3a2wlJCqtlS896e/90 9OLFYB0XWi6xzXdQMsMuqHEoDDKogVnnJS9njEQmqxXMgmjn3D4u5NWrTyWqZFl0qAx+ SedbPF/WwYLcb+DLoBuoRu13HrOD6ZrUjZdQhXcURjaf4PZ/PBx4iNnyB8lDAD2XUese 0g2L1hKWw+QKVzXKEFsdCHtfaQce8O/v1MxPYa7ThJOJRqrYAYcl8AqO0GDzmL6USUUO OTaYp2EKDgplQT93Eoi8KZKl7q5yiaHLvqKU8/e+9pdcEc6CZ+LuDLGPvHOhyXcoE0C8 q+tA== X-Gm-Message-State: AOAM533UeBzapr0Aif4U/b2y0URDdnJTIPgYAIpglMXDvTYPJzgl5sd4 0DsTlg/H/ssytpecHVLlDWRaOX5ok+ESkm4xpQU= X-Received: by 2002:a92:ce84:: with SMTP id r4mr2959615ilo.112.1614741983852; Tue, 02 Mar 2021 19:26:23 -0800 (PST) MIME-Version: 1.0 References: <20210302210646.3044738-1-nathan@kernel.org> In-Reply-To: <20210302210646.3044738-1-nathan@kernel.org> Reply-To: sedat.dilek@gmail.com From: Sedat Dilek Date: Wed, 3 Mar 2021 04:25:47 +0100 Message-ID: Subject: Re: [PATCH 1/2] Makefile: Remove '--gcc-toolchain' flag To: Nathan Chancellor Cc: Masahiro Yamada , Michal Marek , Nick Desaulniers , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Clang-Built-Linux ML , Behan Webster Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 2, 2021 at 10:07 PM Nathan Chancellor wrote: > > This is not necessary anymore now that we specify '--prefix=', which > tells clang exactly where to find the GNU cross tools. This has been > verified with self compiled LLVM 10.0.1 and LLVM 13.0.0 as well as a > distribution version of LLVM 11.1.0 without binutils in the LLVM > toolchain locations. > > Signed-off-by: Nathan Chancellor [ CC Behan ] Hahaha, that is a change of a very early commit in times of the LLVM/Clang Linux-kernel development. So-to-say a historical change :-). I will try this patchset later with latest Linux -v5.12-rc1+ and my custom patchset. Thanks. - Sedat - > --- > Makefile | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/Makefile b/Makefile > index f9b54da2fca0..c20f0ad8be73 100644 > --- a/Makefile > +++ b/Makefile > @@ -568,10 +568,6 @@ ifneq ($(CROSS_COMPILE),) > CLANG_FLAGS += --target=$(notdir $(CROSS_COMPILE:%-=%)) > GCC_TOOLCHAIN_DIR := $(dir $(shell which $(CROSS_COMPILE)elfedit)) > CLANG_FLAGS += --prefix=$(GCC_TOOLCHAIN_DIR)$(notdir $(CROSS_COMPILE)) > -GCC_TOOLCHAIN := $(realpath $(GCC_TOOLCHAIN_DIR)/..) > -endif > -ifneq ($(GCC_TOOLCHAIN),) > -CLANG_FLAGS += --gcc-toolchain=$(GCC_TOOLCHAIN) > endif > ifneq ($(LLVM_IAS),1) > CLANG_FLAGS += -no-integrated-as > > base-commit: 7a7fd0de4a9804299793e564a555a49c1fc924cb > -- > 2.31.0.rc0.75.gec125d1bc1 > > -- > You received this message because you are subscribed to the Google Groups "Clang Built Linux" group. > To unsubscribe from this group and stop receiving emails from it, send an email to clang-built-linux+unsubscribe@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/clang-built-linux/20210302210646.3044738-1-nathan%40kernel.org.