some more information: $ cat /proc/versionLinux version 5.17.5 (root@dragon) (x86_64-pc-linux-gnu-gcc (Gentoo 11.2.1_p20220115 p4) 11.2.1 20220115, GNU ld (Gentoo 2.37_p1 p2) 2.37) #130 SMP PREEMPT Thu Apr 28 10:50:24 CEST 2022
$ uname -mi x86_64 GenuineIntel I tried to compile 5.17.6 without the three mentioned diffs which modify the following files: tools/objtool/check.c and tools/objtool/elf.c and tools/objtool/include/objtool/elf.h and was then able to successfully boot 5.17.6.