Bug 15141 - kernel 5.16.2 (realtime patch 19) fails to build
Summary: kernel 5.16.2 (realtime patch 19) fails to build
Status: RESOLVED WONTFIX
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-23 08:54 UTC by Dr I J Ormshaw
Modified: 2022-11-23 16:39 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
Build log (6.35 KB, text/plain)
2022-11-23 08:54 UTC, Dr I J Ormshaw
Details

Note You need to log in before you can comment on or make changes to this bug.
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.