Bug 15141

Summary: kernel 5.16.2 (realtime patch 19) fails to build
Product: buildroot Reporter: Dr I J Ormshaw <ian_ormshaw>
Component: OtherAssignee: unassigned
Status: RESOLVED WONTFIX    
Severity: normal CC: buildroot
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:
Attachments: Build log

Description Dr I J Ormshaw 2022-11-23 08:54:07 UTC
Created attachment 9411 [details]
Build log

Using buildroot 20022-11 rc2 kernel 5.16.2 (with realtime patch 19) fails to build.

This is the case for gcc 11 and 12
Comment 1 Maxim Kochetkov 2022-11-23 10:09:41 UTC
It was fixed by:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/tools/objtool/check.c?h=v6.1-rc6&id=82880283d7fcd0a1d20964a56d6d1a5cc0df0713

You can apply patch or use newer kernel. 5.16.8 already has this fix.
Comment 2 Dr I J Ormshaw 2022-11-23 10:42:52 UTC
Thanks,  5.16.8 isn't an option as there's no PREEMPT_RT patch available yet.  I'll look at applying the patch below to 5.16.2
Comment 3 Thomas Petazzoni 2022-11-23 16:39:02 UTC
Nothing to fix in Buildroot.