Am 02.06.22 um 23:32 schrieb Nathan Chancellor:
Am 02.06.22 um 18:42 schrieb Thomas Sattler:
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.
5.17.6 has commit 60d2b0b1018a ("objtool: Fix code relocs vs weak symbols"), which has a known issue that is fixed with commit ead165fa1042 ("objtool: Fix symbol creation"). If you apply ead165fa1042 on 5.17.6 or newer, does that resolve your issue?
I applied ead165fa1042 ontop of 5.17.12, but that did not make my system boot that kernel.
Thomas