Kernel 4.4.0-108.131 also failed with corresponding config, and was fixed by setting CONFIG_KVM_GUEST=y (which set CONFIG_KVM_DEBUG_FS=y) although I cannot trace the error:
arch/x86/built-in.o: In function `map_vdso': /space/buildbot_live/dev/products/zxtm/os/appliance/debian/packages/kernel/apritchard-04_Package/linux-4.4.0/arch/x86/entry/vdso/vma.c:174: undefined reference to `pvclock_pvti_cpu0_va' /space/buildbot_live/dev/products/zxtm/os/appliance/debian/packages/kernel/apritchard-04_Package/linux-4.4.0/Makefile:964: recipe for target 'vmlinux' failed back to CONFIG_PARAVIRT_CLOCK (but a config with neither CONFIG_PARAVIRT_CLOCK nor CONFIG_KVM_GUEST built successfully. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1742472 Title: 3.13.0-139.188 build fails with CONFIG_PARAVIRT_CLOCK but not CONFIG_KVM_GUEST Status in linux package in Ubuntu: Confirmed Bug description: Attempting to build the 3.13.0-139.188 kernel with CONFIG_PARAVIRT_CLOCK=y but with CONFIG_KVM_GUEST unset fails. arch/x86/built-in.o: In function `kaiser_init': (.init.text+0x14a84): undefined reference to `kvm_clock' This appears to be because kvmclock.o is included based on CONFIG_KVM_GUEST, but the code in arch/x86/mm/kaiser.c referencing kvm_clock is included based only on CONFIG_PARAVIRT_CLOCK: #ifdef CONFIG_PARAVIRT_CLOCK for (idx = 0; kvm_clock.archdata.vclock_mode == VCLOCK_PVCLOCK && idx <= (PVCLOCK_FIXMAP_END-PVCLOCK_FIXMAP_BEGIN); idx++) { kaiser_add_user_map_early((void *)__fix_to_virt(PVCLOCK_FIXMAP_BEGIN + idx), PAGE_SIZE, __PAGE_KERNEL_VVAR | _PAGE_GLOBAL); } #endif I found this cross-compiling, so the output of ubuntu-bug, cat version_signature and lspci are not correct for the target system. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1742472/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp