Re: Segfault in pahole 1.18 when building kernel 5.9.1 for arm64

2020-10-21 Thread Arnaldo Carvalho de Melo
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 > 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

Re: Segfault in pahole 1.18 when building kernel 5.9.1 for arm64

2020-10-21 Thread Andrii Nakryiko
On Wed, Oct 21, 2020 at 6:48 AM Arnaldo Carvalho de Melo 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: > > > >

Re: Segfault in pahole 1.18 when building kernel 5.9.1 for arm64

2020-10-21 Thread Arnaldo Carvalho de Melo
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 > >

Re: Segfault in pahole 1.18 when building kernel 5.9.1 for arm64

2020-10-21 Thread Jiri Slaby
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

Re: Segfault in pahole 1.18 when building kernel 5.9.1 for arm64

2020-10-20 Thread Jiri Slaby
On 20. 10. 20, 19:15, Andrii Nakryiko wrote: On Tue, Oct 20, 2020 at 3:51 AM Jiri Slaby wrote: Hi, On 19. 10. 20, 1:18, Érico Rolim wrote: I'm trying to build kernel 5.9.1 for arm64, and my dotconfig has `CONFIG_DEBUG_INFO_BTF=y`, which requires pahole for building. However, pahole version

Re: Segfault in pahole 1.18 when building kernel 5.9.1 for arm64

2020-10-20 Thread Arnaldo Carvalho de Melo
Em Tue, Oct 20, 2020 at 03:14:59PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Tue, Oct 20, 2020 at 10:10:19AM -0700, Andrii Nakryiko escreveu: > > On Tue, Oct 20, 2020 at 10:05 AM Hao Luo wrote: > > > Thanks for reporting this and cc'ing me. I forgot to update the error > > > messages when

Re: Segfault in pahole 1.18 when building kernel 5.9.1 for arm64

2020-10-20 Thread Arnaldo Carvalho de Melo
Em Tue, Oct 20, 2020 at 10:10:19AM -0700, Andrii Nakryiko escreveu: > On Tue, Oct 20, 2020 at 10:05 AM Hao Luo wrote: > > Thanks for reporting this and cc'ing me. I forgot to update the error > > messages when renaming the flags. I will send a patch to fix the error > > message. > > The commit

Re: Segfault in pahole 1.18 when building kernel 5.9.1 for arm64

2020-10-20 Thread Hao Luo
On Tue, Oct 20, 2020 at 10:10 AM Andrii Nakryiko wrote: > > On Tue, Oct 20, 2020 at 10:05 AM Hao Luo wrote: > > > > Thanks for reporting this and cc'ing me. I forgot to update the error > > messages when renaming the flags. I will send a patch to fix the error > > message. > > > > The commit > >

Re: Segfault in pahole 1.18 when building kernel 5.9.1 for arm64

2020-10-20 Thread Andrii Nakryiko
On Tue, Oct 20, 2020 at 3:51 AM Jiri Slaby wrote: > > Hi, > > On 19. 10. 20, 1:18, Érico Rolim wrote: > > I'm trying to build kernel 5.9.1 for arm64, and my dotconfig has > > `CONFIG_DEBUG_INFO_BTF=y`, which requires pahole for building. However, > > pahole > > version 1.18 segfaults during the

Re: Segfault in pahole 1.18 when building kernel 5.9.1 for arm64

2020-10-20 Thread Andrii Nakryiko
On Tue, Oct 20, 2020 at 10:05 AM Hao Luo wrote: > > Thanks for reporting this and cc'ing me. I forgot to update the error > messages when renaming the flags. I will send a patch to fix the error > message. > > The commit > > commit f3d9054ba8ff1df0fc44e507e3a01c0964cabd42 > Author: Hao Luo >

Re: Segfault in pahole 1.18 when building kernel 5.9.1 for arm64

2020-10-20 Thread Hao Luo
Thanks for reporting this and cc'ing me. I forgot to update the error messages when renaming the flags. I will send a patch to fix the error message. The commit commit f3d9054ba8ff1df0fc44e507e3a01c0964cabd42 Author: Hao Luo AuthorDate: Wed Jul 8 13:44:10 2020 -0700 btf_encoder: Teach

Re: Segfault in pahole 1.18 when building kernel 5.9.1 for arm64

2020-10-20 Thread Arnaldo Carvalho de Melo
Em Tue, Oct 20, 2020 at 11:01:39AM +0200, Jiri Slaby escreveu: > Hi, > > On 19. 10. 20, 1:18, Érico Rolim wrote: > > I'm trying to build kernel 5.9.1 for arm64, and my dotconfig has > > `CONFIG_DEBUG_INFO_BTF=y`, which requires pahole for building. However, > > pahole > > version 1.18 segfaults

Re: Segfault in pahole 1.18 when building kernel 5.9.1 for arm64

2020-10-20 Thread Jiri Slaby
Hi, On 19. 10. 20, 1:18, Érico Rolim wrote: I'm trying to build kernel 5.9.1 for arm64, and my dotconfig has `CONFIG_DEBUG_INFO_BTF=y`, which requires pahole for building. However, pahole version 1.18 segfaults during the build, as can be seen below: PAHOLE: Error: Found symbol of zero size

Segfault in pahole 1.18 when building kernel 5.9.1 for arm64

2020-10-18 Thread Érico Rolim
Hi! I'm trying to build kernel 5.9.1 for arm64, and my dotconfig has `CONFIG_DEBUG_INFO_BTF=y`, which requires pahole for building. However, pahole version 1.18 segfaults during the build, as can be seen below: PAHOLE: Error: Found symbol of zero size when encoding btf (sym: