Re: [FIXED] Re: 5:11: in-kernel BTF is malformed

From: Chris Murphy
Date: Thu Feb 04 2021 - 22:12:20 EST


On Thu, Feb 4, 2021 at 9:33 AM Arnaldo Carvalho de Melo <acme@xxxxxxxxxx> wrote:
>
> So I think that for the problems related to building the kernel with gcc
> 11 in Fedora Rawhide using the default that is now DWARF5, pahole 1.20
> is good to go and I'll tag it now.

dwarves-1.20-1.fc34.x86_64
libdwarves1-1.20-1.fc34.x86_64

Fixes both "failed to validate module [?????] BTF: -22" type errors,
and 'in-kernel BTF is malformed" with qemu-kvm and libvirt.

Is that expected? Or maybe the second issue was fixed by
gcc-11.0.0-0.18.fc34.x86_64 [(GCC) 11.0.0 20210130]? This is what I
get for changing more than one thing at once.

--
Chris Murphy