Re: tools/objtool: check.c:11:10: fatal error: arch/elf.h: No such file or directory

From: Vitaly Chikunov
Date: Tue Aug 02 2022 - 20:19:15 EST


Josh,

On Tue, Aug 02, 2022 at 05:07:39PM -0700, Josh Poimboeuf wrote:
> On Mon, Aug 01, 2022 at 10:20:16PM +0300, Vitaly Chikunov wrote:
> > Hello,
> >
> > git bisect shows that commit b51277eb9775 ("objtool: Ditch subcommands")
> > included in v5.19 introduces build failure on aarch64 for tools/objtool:
>
> Objtool doesn't yet support arm64, what are you trying to achieve?

IC. It was building successfully for our linux-tools package before (as
it seems it builds for Debian[1]) just as one of the tools. If it should
not be there, thanks for the elucidation, we will stop trying to build
it.

Thanks,

[1] https://debian.pkgs.org/sid/debian-main-arm64/linux-kbuild-5.18_5.18.14-1_arm64.deb.html



>
> --
> Josh