Created attachment 306083 [details] Kernel configuation file When I try to build linux-6.8.3 on AMD x86_64 for the for same platform with enabled KVM (see an attached .config file), the build fails: # make CALL scripts/checksyscalls.sh DESCEND objtool INSTALL libsubcmd_headers MODPOST Module.symvers ERROR: modpost: "srso_alias_untrain_ret" [arch/x86/kvm/kvm-amd.ko] undefined! make[2]: *** [scripts/Makefile.modpost:145: Module.symvers] Chyba 1 make[1]: *** [/usr/src/linux-6.8.3/Makefile:1873: modpost] Chyba 2 make: *** [Makefile:240: __sub-make] Chyba 2 I have gcc-13.2.1 and binutils-2.41.0. Linux-6.8.2 builds fine.
Created attachment 306084 [details] fix See if this fixes it.
Thanks for the quick patch. I confirm it fixes the problem for me. The kernel builds and runs. Note that the patch does not apply cleanly to 6.8.3.
Thanks for reporting and testing. I'll backport it to stable.
Sadly isn't fixed in 6.8.4. ERROR: modpost: "srso_alias_untrain_ret" [arch/x86/kvm/kvm-amd.ko] undefined! make[2]: *** [scripts/Makefile.modpost:145: Module.symvers] Error 1 make[1]: *** [/tmp/linux-6.8/Makefile:1873: modpost] Error 2 make: *** [Makefile:240: __sub-make] Error 2
It will be in 6.8.5: https://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git/commit/?id=a90a922e0594b338f70f7768bb1dc2a2f4908405