Subject: Re: linux-next: next-20230918: x86 build fails

From: "Aithal, Srikanth" <[email-masked]>
Date: Tue, 19 Sep 2023 18:44:56 +0530

On 9/19/2023 2:17 PM, Kumar Kartikeya Dwivedi wrote:
> On Tue, 19 Sept 2023 at 05:55, Aithal, Srikanth <[email-masked]> 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
> 
This fixes the issue. Thank you.
Tested-by: Srikanth Aithal <[email-masked]>
>> Thanks,
>> Srikanth Aithal