Re: [PATCH 1/2] kbuild: dummy-tools: Add elfedit.
From: Michal Suchánek
Date: Sun Apr 11 2021 - 16:12:19 EST
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 <msuchanek@xxxxxxx> 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 <msuchanek@xxxxxxx> 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