Re: Kernel build error on BTFIDS vmlinux

From: Nick Clifton
Date: Wed Aug 19 2020 - 11:34:48 EST


Hi Mark,

> Adding Nick, the binutils maintainer, so we can make sure
> binutils/elfutils agree on some ELF section compression corner case.

Thanks for doing this.

> But it would obviously be better if that wasn't necessary. So I'll try
> to fix libelf so that if it fixes up the alignment when reading the
> compressed data, it also does that when writing out the data again. But
> that would only help for a new version of elfutils.
>
> So it would be nice if binutils ld could also be fixed to write out
> compressed sections with the correct alignment.

OK, I will look into doing this.

By any chance is there a small test case that you are using to check
this behaviour ? If so, please may I have a copy for myself ?

Cheers
Nick