vmx.c:undefined reference to `boot_cpu_physical_apicid'

From: kbuild test robot
Date: Thu Oct 05 2017 - 12:19:04 EST

Hi Paolo,

It's probably a bug fix that unveils the link errors.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 42b76d0e6b1fe0fcb90e0ff6b4d053d50597b031
commit: c0a1666bcb2a33e84187a15eabdcd54056be9a97 KVM: VMX: use cmpxchg64
date: 7 days ago
config: i386-randconfig-c0-10052314 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
git checkout c0a1666bcb2a33e84187a15eabdcd54056be9a97
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

arch/x86/kvm/vmx.o: In function `__pi_post_block':
>> vmx.c:(.text+0x174a): undefined reference to `boot_cpu_physical_apicid'
arch/x86/kvm/vmx.o: In function `vmx_vcpu_load':
vmx.c:(.text+0xb5fd): undefined reference to `boot_cpu_physical_apicid'
vmx.c:(.text+0xb66d): undefined reference to `boot_cpu_physical_apicid'

0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip