From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5DF82C433B4 for ; Sun, 11 Apr 2021 20:03:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1E97961029 for ; Sun, 11 Apr 2021 20:03:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236500AbhDKUD4 (ORCPT ); Sun, 11 Apr 2021 16:03:56 -0400 Received: from mx2.suse.de ([195.135.220.15]:56422 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235486AbhDKUDz (ORCPT ); Sun, 11 Apr 2021 16:03:55 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 38982B036; Sun, 11 Apr 2021 20:03:37 +0000 (UTC) Date: Sun, 11 Apr 2021 22:03:35 +0200 From: Michal =?iso-8859-1?Q?Such=E1nek?= To: Masahiro Yamada Cc: Linux Kbuild mailing list , Michal Marek , Linux Kernel Mailing List Subject: Re: [PATCH 1/2] kbuild: dummy-tools: Add elfedit. Message-ID: <20210411200335.GS6564@kitsune.suse.cz> References: <20210411101829.GR6564@kitsune.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.11.3 (2019-02-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Apr 11, 2021 at 08:37:03PM +0900, Masahiro Yamada wrote: > On Sun, Apr 11, 2021 at 7:18 PM Michal Suchánek wrote: > > > > On Sun, Apr 11, 2021 at 03:12:40AM +0900, Masahiro Yamada wrote: > > > On Fri, Apr 9, 2021 at 6:31 AM Michal Suchanek wrote: > > > > > > > > elfedit is used in Makefile > > > > > > > > Makefile:GCC_TOOLCHAIN_DIR := $(dir $(shell which $(CROSS_COMPILE)elfedit)) > > > > > > > > which causes this error getting printed > > > > > > > > which: no elfedit in (./scripts/dummy-tools) > > > > > > > > > I am OK with this patch, but how did you reproduce it? > > > > make ARCH=arm CROSS_COMPILE=scripts/dummy-tools/ allmodconfig > > > > it possibly depends on the config you already have, too. > > > > Thanks > > > > Michal > > > Maybey, are you working on linux-next? Yes, I do have the rust support. > > > [1] > $ git checkout add74f8473^ > $ make ARCH=arm CROSS_COMPILE=scripts/dummy-tools/ allmodconfig > > [2] > $ git checkout add74f8473 > $ make ARCH=arm CROSS_COMPILE=scripts/dummy-tools/ allmodconfig > > > > If [1] is OK, but [2] is NG, > commit add74f8473 is the root cause. Sounds like it. Before that the elfedit test was conditional on clang. I can try to do the bisect but I think the reason it broke is quite clear. Thanks Michal