Re: Kernel build error on BTFIDS vmlinux

From: Jiri Olsa
Date: Tue Aug 18 2020 - 06:56:21 EST


On Tue, Aug 18, 2020 at 11:14:10AM +0200, Jiri Olsa wrote:
> On Tue, Aug 18, 2020 at 10:55:55AM +0200, Jesper Dangaard Brouer wrote:
> >
> > On latest DaveM net-git tree (06a4ec1d9dc652), after linking (LD vmlinux) the
> > "BTFIDS vmlinux" fails. Are anybody else experiencing this? Are there already a
> > fix? (just returned from vacation so not fully up-to-date on ML yet)
> >
> > The tool which is called and error message:
> > ./tools/bpf/resolve_btfids/resolve_btfids vmlinux
> > FAILED elf_update(WRITE): invalid section alignment
>
> hi,
> could you send your .config as well?

reproduced.. checking on fix

thanks,
jirka