Re: linux-next: next-20230918: x86 build fails
From: Kumar Kartikeya Dwivedi
Date: Tue Sep 19 2023 - 04:48:00 EST
On Tue, 19 Sept 2023 at 05:55, Aithal, Srikanth <sraithal@xxxxxxx> wrote:
>
> Hi all,
>
> linux-next: next-20230918: x86 build fails with below error:
>
> arch/x86/net/bpf_jit_comp.c: In function ‘arch_bpf_stack_walk’:
> arch/x86/net/bpf_jit_comp.c:3022:72: error: ‘struct unwind_state’ has no
> member named ‘sp’; did you mean ‘bp’?
> 3022 | if (!addr || !consume_fn(cookie, (u64)addr,
> (u64)state.sp, (u64)state.bp))
> | ^~
> | bp
> make[4]: *** [scripts/Makefile.build:243: arch/x86/net/bpf_jit_comp.o]
> Error 1
> make[3]: *** [scripts/Makefile.build:480: arch/x86/net] Error 2
>
Hi,
Thanks for the report. This has been fixed in bpf-next and the fix
should find its way into linux-next soon.
You can locally apply the fix for now to be unstuck.
https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git/commit/?id=43c6e890472edf3f667579b0a671f4b3d9b2fa3d
>
>
> Thanks,
> Srikanth Aithal