Bug 218679
Summary: | linux-6.8.3 fails to build: modpost: "srso_alias_untrain_ret" [arch/x86/kvm/kvm-amd.ko] undefined | ||
---|---|---|---|
Product: | Platform Specific/Hardware | Reporter: | Petr Pisar (petr.pisar) |
Component: | x86-64 | Assignee: | platform_x86_64 (platform_x86_64) |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | bp |
Priority: | P3 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 6.8.3 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Attachments: |
Kernel configuation file
fix |
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 |
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.