Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1924697ybl; Thu, 5 Dec 2019 09:07:06 -0800 (PST) X-Google-Smtp-Source: APXvYqytvLmIWTt3DhYEWUqwICqDCWRYWsvMa3Jze4sEbnGB+feea05pu+d4SzqkEywBinouVfwt X-Received: by 2002:a9d:784b:: with SMTP id c11mr6983279otm.246.1575565625932; Thu, 05 Dec 2019 09:07:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575565625; cv=none; d=google.com; s=arc-20160816; b=iTx+l6TA4zd2TDY09eGaTnQ0LLt+HHzlTUWBkLWB35YXw+Ht4Ojk5g+VqxlTZwCBHo auZmxe/k6kbWX4XFFhB0WZFonQPN+tsiUdFewCiLtMTjz+nygfmuCa4wVUymvWcuz8wz jCH7s11TCLGNIqlTRTCzhvD4rF9Xt5Z86LTSZWAkROyXhTRcbQtR+JWIA78oMZuPw8wN 8wz39aBMJHhJlJ9nPh6NLMwHunORi26WlyB3Zd52uvj81hY8jHXvddcJwZg7we5A5/dC G/aNNEw+n2L+uBVjF0xpaQobmbHFkzR8plk1UwWFA3Dj9Y2kkUdaKavwZz6xBAwFtBwj 7gKA== 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=h7wk4CqairQhNFXqEdRCw6JNGivGRG705siCYwDLW6U=; b=uq+CEMcLWA9VEzpxV7bH4WObmvVBljHKI6m52r3UOKFQK0fI51uz8euN7r3tR+eGBy GuqoIAOsm6mCrdIje1I1XAoLQQDORXTsSqhqe4CamAk70OEF7TJbqPmgPBXuar22f4ap ETVpuYiCcoq6KMyZyZQ03BFHgc7+uoTuJXlRRJjdpRQ2a1O8Jw9w4kS8X0t14HMEGc4n RYCG+VHBTEUkxGc2DCXkNTDyY4xlSIy1FobVPbl3Aj+Ub0iWgA8EZz7jLfopiZI4H439 ljnYeO4cX/GAlpZFjulmoaqdieEsf4y7xIBJsT/Fl8W/aAo3PodPnmk6yGx4hDHvSlRm QwtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=XIr5Vi59; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h8si5616168otk.183.2019.12.05.09.06.52; Thu, 05 Dec 2019 09:07:05 -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=@google.com header.s=20161025 header.b=XIr5Vi59; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730100AbfLERGC (ORCPT + 99 others); Thu, 5 Dec 2019 12:06:02 -0500 Received: from mail-pj1-f66.google.com ([209.85.216.66]:41118 "EHLO mail-pj1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730086AbfLERGB (ORCPT ); Thu, 5 Dec 2019 12:06:01 -0500 Received: by mail-pj1-f66.google.com with SMTP id ca19so1530664pjb.8 for ; Thu, 05 Dec 2019 09:06:01 -0800 (PST) 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=h7wk4CqairQhNFXqEdRCw6JNGivGRG705siCYwDLW6U=; b=XIr5Vi59PCL7mDF7S31zINQtxrdEVNjQdXdAonLx36evfssZeaDVGKHHE4utT4P6kQ YJjD/mr8ywm4LRsdRGSXAe64c45GEfDZHqGY+RmI9x14jcbS0RIRvXAoxmQ73Avet921 HxTHP/+ML2jdUhilAA7012/4V0SVYZAWcDMKRoSk1Bv+E6bMaVwk86WrcK++vtQVkpIZ K4P0kvboIcy/rrvAXxDeswdv7Ia+jsvQS/A07Rh7Lp9ua6hD9DZvA5Q9VWAbxBKDQF36 gPYRaqbRxvlPJUsRp2JIL7Oa4zQPYY+qxIOeGIsqoH6DX0UJsqx1i3Wrfk0hST7R6KL+ bePQ== 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=h7wk4CqairQhNFXqEdRCw6JNGivGRG705siCYwDLW6U=; b=Ot7lxROYZFg50/3vBJhckx5hClJ4uN/w5x7ZLoMMHsO/MJG6Sba0wNgEbnnJVTPk8O rhXTry2PML5jJjJvofeIQMKf0Uk03VZYhLeveOBKP2DgLbuqf8w86OCND/sgibrYpz16 0JTBgZH0sxQW8pMeBiOa6rqUqGAbM8Dp61oLk14wY+p8zJJctjLKDv8+bLBk+alz4G8h xqDWzGJEKfFqcydfYla/q/v8fqFWFE9pc1XG4J4alAM0afd06jDTs4SaLFVlRlltvTJI +JxUCv8isz8i9oWw3PPLn6Q1J4DYaoGZDzMuHn8sNUshEEaDMhnXCbj4L9cpiNGn6moK LyeQ== X-Gm-Message-State: APjAAAV1t7cxwVCQRi20IWvyuvp0zt9yeLZ8AbkGwal/3kEhrO7af0zq UN34W/DZYlDc63wPTt0EbhgE6XhfyIB70ABl59/ZgA== X-Received: by 2002:a17:902:8ec8:: with SMTP id x8mr9539020plo.119.1575565560673; Thu, 05 Dec 2019 09:06:00 -0800 (PST) MIME-Version: 1.0 References: <20191204225446.202981-1-dima@golovin.in> <23883331575506134@vla1-3991b5027d7d.qloud-c.yandex.net> In-Reply-To: From: Nick Desaulniers Date: Thu, 5 Dec 2019 09:05:49 -0800 Message-ID: Subject: Re: [PATCH] x86/boot: kbuild: allow readelf executable to be specified To: Masahiro Yamada Cc: Dmitry Golovin , Michal Marek , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , Bruce Ashfield , Ross Philipson , Ross Burton , Chao Fan , Daniel Kiper , Linux Kbuild mailing list , LKML , clang-built-linux , "tony.luck@intel.com" , "fenghua.yu@intel.com" , "linux-ia64@vger.kernel.org" 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 Thu, Dec 5, 2019 at 8:25 AM Masahiro Yamada wrote: > > > > On Thu, Dec 5, 2019 at 9:41 AM Dmitry Golovin wrote: >> >> 05.12.2019, 01:18, "'Nick Desaulniers' via Clang Built Linux" : >> > >> > Grepping the kernel sources for `READELF`, it looks like >> > arch/ia64/Makefile makes the same mistake. Would you mind fixing both >> > cases in the same patch (v2)? I'm also curious about it's use in >> > arch/ia64/scripts/unwcheck.py, and scripts/faddr2line. +ia64 >> > maintainers and list. >> > >> > I think if you simply remove the assignment on line 17 of >> > arch/ia64/Makefile you should be fine. >> >> Perhaps something should be done to NM on line 16 of this file as well. Also >> found similar invocation of `objcopy` in arch/riscv/kernel/vdso/Makefile. >> I think IA64 and RISC-V changes should be made as separate commits. >> >> -- Dmitry > > > > I am fine with either way. > I can take this patch, and also a one for IA64. Whichever, as long as we don't have to wait for the base patch to land via kbuild tree, then submit arch specific ones to their respective trees months later. Reviewed-by: Nick Desaulniers > > > > You can send a patch for arch/riscv/kernel/vdso/Makefile > to the riscv maintainer since it has no patch dependency. > > > -- > Best Regards > Masahiro Yamada -- Thanks, ~Nick Desaulniers