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
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.
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
Nothing to fix in Buildroot.