New issue
Advanced search Search tips

Issue 892720 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Oct 8
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Kernel-4.19: Failure to build grunt images

Project Member Reported by groeck@chromium.org, Oct 5

Issue description

Building grunt images fails with the following link errors.

/mnt/host/source/src/third_party/kernel/next/arch/x86/kvm/svm.c:6287: undefined reference to `sev_issue_cmd_external_user'
arch/x86/kvm/svm.o: In function `sev_launch_secret':
/mnt/host/source/src/third_party/kernel/next/arch/x86/kvm/svm.c:6863: undefined reference to `psp_copy_user_blob'
/mnt/host/source/src/third_party/kernel/next/arch/x86/kvm/svm.c:6872: undefined reference to `psp_copy_user_blob'
arch/x86/kvm/svm.o: In function `sev_unbind_asid':
/mnt/host/source/src/third_party/kernel/next/arch/x86/kvm/svm.c:1747: undefined reference to `sev_guest_deactivate'
/mnt/host/source/src/third_party/kernel/next/arch/x86/kvm/svm.c:1750: undefined reference to `sev_guest_df_flush'
/mnt/host/source/src/third_party/kernel/next/arch/x86/kvm/svm.c:1759: undefined reference to `sev_guest_decommission'
make[1]: *** [/mnt/host/source/src/third_party/kernel/next/Makefile:1059: vmlinux] Error 1

Analysis suggests missing dependencies in the upstream kernel.
 
 
Status: Fixed (was: Assigned)
Fixed by normalizing default configurations correctly. The auto-generated normalized configuration had KVM_AMD enabled for stoneyridge, which was not the case in chromeos-4.14. Disable it explicitly in chromeos-4.19 as well.
Marking as fixed (part of rebase effort).

Sign in to add a comment