Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp6633348ybx; Mon, 11 Nov 2019 12:09:02 -0800 (PST) X-Google-Smtp-Source: APXvYqyIokIjAqYGW4f/OeUNl63yapquCAL/tL73pcC9iCSFFPuEuAzvDhgd9BnmnuwuiSCFW8Mx X-Received: by 2002:a17:906:a40e:: with SMTP id l14mr7756495ejz.168.1573502942170; Mon, 11 Nov 2019 12:09:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573502942; cv=none; d=google.com; s=arc-20160816; b=kBGD13cHPrSEiqgVVENufzDdaurSnLjLemEJJG+cv2F0DTvfeugMYm9vECfwdfzWg4 HhtkgIWwzOwVkbGGDaKy58E8iU+OATqGDRHvwIto7HcEvfOW191hfheaR7jtoxsYndPw y02u8bN2IMUl8j2brMv04GIE8qALpHZV6VyDSftYe2WTt1fMzWLwaqmoPQ22Nr4GQiDU pbhYA8T0BIWE3G3yGBFqsT1YS4cZxQ53eviBGGtdV8ToajgcOi8PVLT8aTM6M50IM0a6 F2y2bITjDTiV+bGzhFRA1gmEdF4vKONbCFjH33jq/j5mUgGK/ftGuDOQripzOl2vKpzG dvmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Nwqx7QWQGsC3I4CJNnbzWwRJdYPwJji/UODQxE0sPQU=; b=dHa16HzBBGNXi7R8oEjIlpiW0k/NSrnf0OHtXGwsE9/sYUOvgmiEqrvEJvatuNsHFr es99kh0Zp4SYoawd8dOthcqv5KjnFRrgfnpnrHEiGiRpyyODnOwf6OfueaDS/nzIwOxy 6zxlgfvt7AEJTNrOC85WQj/A/tYc4l7JxyhdgSHaOao7ds4vzwLV2GS8gEuNTHeXjavO YjNiXjVpO2Nb6ah+4WZEjKTIt20GKi+QMfdtKpMydCmZehAPvz2LcFBJJceuKI8xzq6j p8mtQ4RTezldp3ZbVlMvz80TNnjeu7DLCCx3WD6LzC62L5A8XXJ81TcQTmuwufE3NDwW 3VbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tJIYehn2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id u12si14043381eda.319.2019.11.11.12.08.36; Mon, 11 Nov 2019 12:09:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tJIYehn2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727202AbfKKUH7 (ORCPT + 99 others); Mon, 11 Nov 2019 15:07:59 -0500 Received: from mail-oi1-f195.google.com ([209.85.167.195]:35492 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726845AbfKKUH7 (ORCPT ); Mon, 11 Nov 2019 15:07:59 -0500 Received: by mail-oi1-f195.google.com with SMTP id n16so12648207oig.2 for ; Mon, 11 Nov 2019 12:07:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Nwqx7QWQGsC3I4CJNnbzWwRJdYPwJji/UODQxE0sPQU=; b=tJIYehn2kw6unw0OwdiFgOkyUDNrINJx43lzHBVIhcCikfiewRFeH0wz19EHFmCPqi iOq5Xm9cCQrN4riVXpzA2ONUrp4iIIuzmn1qxbj1rlSE9fP4rLhPkw1QXUDgfDlDP822 sS/DhORtaU51kFXKb/e2Bp3iMp3mhdxKiH6RxfXhvTrD9GYS8YVJ/Qf9+cxS1bJM8KNh vM5ZdFjwBhduSApuEABZyV8IPIWZo2mzYp0dOTTjScZzGQ1Y8CasCIIf30c0MURDOl8b 1CEOlCMTgqRP5/L+QKc654nXmPyu5UDlgUOYuJmo4QpkwS8OjPb1rlkarO6Kz/YWW0JG pFdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Nwqx7QWQGsC3I4CJNnbzWwRJdYPwJji/UODQxE0sPQU=; b=sOMxwVHpoqiag+YOtac3LX2FknryQ8aAOmYM5zEkGVrBVTSVgSmnwBfRTMiKvKE/ly 4CDpB9ExM6FGDmrG65/dh3a3G3gon1CeiQnZ4MfqtjRuowJ/OM8dsVnP/IW7xHQaOTCb 5s03Q2bxSviw46ciKaIWJuQf3EZYARXa9fnBCcb/sIeJaD8G+yaZQ2+cTkYWSFzjIGgj o5rzvQ1AcfzibvQq1SS6N2AA0jEinGYBLLkh/t9v6bFtHVhQjNS3RbW8hhUqwxpTl+yE 3NPdDwc1w+q9VJpqGwDabFM7qB8PMzBcnvfW5EfFgH3sIOeAvfRUD8vrm19svMJKPXyj sxcg== X-Gm-Message-State: APjAAAXczWv7RvAWboj0Jqboww+sSG4FDs2i5n917pMkgyVWSDQQLCxj 5Y001DgWtPyz28z2mD/79XY= X-Received: by 2002:aca:5145:: with SMTP id f66mr649745oib.0.1573502877903; Mon, 11 Nov 2019 12:07:57 -0800 (PST) Received: from ubuntu-m2-xlarge-x86 ([2604:1380:4111:8b00::1]) by smtp.gmail.com with ESMTPSA id e193sm5295951oib.53.2019.11.11.12.07.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 11 Nov 2019 12:07:57 -0800 (PST) Date: Mon, 11 Nov 2019 13:07:55 -0700 From: Nathan Chancellor To: Dmitry Golovin Cc: Nick Desaulniers , Matthias Maennich , Russell King , Nicolas Pitre , Ard Biesheuvel , Stefan Agner , Masahiro Yamada , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com Subject: Re: [PATCH] ARM: kbuild: use correct nm executable Message-ID: <20191111200755.GA2881@ubuntu-m2-xlarge-x86> References: <20191110153043.111710-1-dima@golovin.in> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191110153043.111710-1-dima@golovin.in> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Nov 10, 2019 at 05:30:39PM +0200, Dmitry Golovin wrote: > Since $(NM) variable can be easily overridden for the whole build, it's > better to use it instead of $(CROSS_COMPILE)nm. The use of $(CROSS_COMPILE) > prefixed variables where their calculated equivalents can be used is > incorrect. This fixes issues with builds where $(NM) is set to llvm-nm. > > Link: https://github.com/ClangBuiltLinux/linux/issues/766 > Signed-off-by: Dmitry Golovin > Suggested-by: Nick Desaulniers > Cc: Matthias Maennich Reviewed-by: Nathan Chancellor Tested-by: Nathan Chancellor