Re: [PATCH/RFT] Re: ANNOUNCE: pahole v1.27 (reproducible builds, BTF kfuncs)

From: Arnaldo Carvalho de Melo
Date: Tue Jun 18 2024 - 10:09:41 EST


On Mon, Jun 17, 2024 at 02:08:10PM -0700, Nathan Chancellor wrote:
> On Mon, Jun 17, 2024 at 05:02:12PM -0300, Arnaldo Carvalho de Melo wrote:
> > Can you try with the one liner below? We remove it from the cus list
> > unconditionally, and since we alloc space with zalloc/calloc in
> > cu__new() and missed initializing that list_head (cu->node) we ended up
> > hitting list_del with a zeroed 'struct list_head' :-\
> >
> > I'll try and get this cast_common.ko checked into a test repo for pahole
> > so that this gets regression tested.
> >
> > Please test this patch so that we see if this is the only problem and
> > your kernel build with clang completes successfully.
>
> Thanks, I rebuilt pahole with the following diff and both my build and
> the other configuration I tested for this regression successfully
> complete.
>
> Tested-by: Nathan Chancellor <nathan@xxxxxxxxxx>

Great, I just added this: