Re: Segfault in pahole 1.18 when building kernel 5.9.1 for arm64
From: Arnaldo Carvalho de Melo
Date: Wed Oct 21 2020 - 12:26:52 EST
Em Wed, Oct 21, 2020 at 08:53:16AM -0700, Andrii Nakryiko escreveu:
> On Wed, Oct 21, 2020 at 6:48 AM Arnaldo Carvalho de Melo
> <acme@xxxxxxxxxx> wrote:
> >
> > Em Wed, Oct 21, 2020 at 08:22:40AM +0200, Jiri Slaby escreveu:
> > > On 20. 10. 20, 14:20, Arnaldo Carvalho de Melo wrote:
> > > > > Yeah, I observe the very same. I reported it at:
> > > > > https://bugzilla.suse.com/show_bug.cgi?id=1177921
> >
> > > > Would it be possible to try with
> > > > https://git.kernel.org/pub/scm/devel/pahole/pahole.git/commit/?h=tmp.libbtf_encoder
> > > > ?
> >
> > > Yes, that branch fixes the crashes and the kernel build finishes. The
> > > zero-sized symbol error remains.
> >
> > > So what should distributions do now -- should we switch to a pahole snapshot
> > > for a while?
> >
> > That would do the trick, I just completed my testing and pushed to the
> > master branch on kernel.org and github, tests detailed at:
> >
> > https://git.kernel.org/pub/scm/devel/pahole/pahole.git/commit/?id=040fd7f585c9b9fcf4475d294b3f5ddf78405297
> >
> > There are some minor bug reports I want to address but my ETA right now
> > is the end of this week to release v1.19.
>
> I've just sent a patch that skips zero-sized ELF symbols without a
> warning or error.
Got it, applied, Jiri, please consider testing it and providing a
Tested-by, in addition to the Reported-by that I'm adding now.
Thanks!
- Arnaldo