Greeting, FYI, we noticed the following commit (built with gcc-9): commit: 3ca8c91756c3db8101879274075fc0a76b127a52 ("[PATCH v2 4/4] selftests: kvm: Test MSR exiting to userspace") url: https://github.com/0day-ci/linux/commits/Aaron-Lewis/Test-MSR-exits-to-userspace/20201009-194717 base: https://git.kernel.org/cgit/virt/kvm/kvm.git linux-next in testcase: kernel-selftests version: kernel-selftests-x86_64-e8e8f16e-1_20200807 with following parameters: group: kselftests-kvm ucode: 0xdc test-description: The kernel contains a set of "self tests" under the tools/testing/selftests/ directory. These are intended to be small unit tests to exercise individual code paths in the kernel. test-url: https://www.kernel.org/doc/Documentation/kselftest.txt on test machine: 8 threads Intel(R) Core(TM) i7-6770HQ CPU @ 2.60GHz with 32G memory caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace): If you fix the issue, kindly add following tag Reported-by: kernel test robot KERNEL SELFTESTS: linux_headers_dir is /usr/src/linux-headers-x86_64-rhel-7.6-kselftests-3ca8c91756c3db8101879274075fc0a76b127a52 2020-10-13 13:46:59 ln -sf /usr/bin/clang 2020-10-13 13:46:59 ln -sf /usr/bin/llc 2020-10-13 13:46:59 sed -i s/default_timeout=45/default_timeout=300/ kselftest/runner.sh 2020-10-13 13:46:59 make run_tests -C kvm make: Entering directory '/usr/src/perf_selftests-x86_64-rhel-7.6-kselftests-3ca8c91756c3db8101879274075fc0a76b127a52/tools/testing/selftests/kvm' make --no-builtin-rules ARCH=x86 -C ../../../.. headers_install make[1]: Entering directory '/usr/src/perf_selftests-x86_64-rhel-7.6-kselftests-3ca8c91756c3db8101879274075fc0a76b127a52' ... HDRINST usr/include/asm/bpf_perf_event.h INSTALL ./usr/include make[1]: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-7.6-kselftests-3ca8c91756c3db8101879274075fc0a76b127a52' gcc -Wall -Wstrict-prototypes -Wuninitialized -O2 -g -std=gnu99 -fno-stack-protector -fno-PIE -I../../../../tools/include -I../../../../tools/arch/x86/include -I../../../../usr/include/ -Iinclude -Ilib -Iinclude/x86_64 -I.. -c lib/assert.c -o /usr/src/perf_selftests-x86_64-rhel-7.6-kselftests-3ca8c91756c3db8101879274075fc0a76b127a52/tools/testing/selftests/kvm/lib/assert.o gcc -Wall -Wstrict-prototypes -Wuninitialized -O2 -g -std=gnu99 -fno-stack-protector -fno-PIE -I../../../../tools/include -I../../../../tools/arch/x86/include -I../../../../usr/include/ -Iinclude -Ilib -Iinclude/x86_64 -I.. -c lib/elf.c -o /usr/src/perf_selftests-x86_64-rhel-7.6-kselftests-3ca8c91756c3db8101879274075fc0a76b127a52/tools/testing/selftests/kvm/lib/elf.o gcc -Wall -Wstrict-prototypes -Wuninitialized -O2 -g -std=gnu99 -fno-stack-protector -fno-PIE -I../../../../tools/include -I../../../../tools/arch/x86/include -I../../../../usr/include/ -Iinclude -Ilib -Iinclude/x86_64 -I.. -c lib/io.c -o /usr/src/perf_selftests-x86_64-rhel-7.6-kselftests-3ca8c91756c3db8101879274075fc0a76b127a52/tools/testing/selftests/kvm/lib/io.o gcc -Wall -Wstrict-prototypes -Wuninitialized -O2 -g -std=gnu99 -fno-stack-protector -fno-PIE -I../../../../tools/include -I../../../../tools/arch/x86/include -I../../../../usr/include/ -Iinclude -Ilib -Iinclude/x86_64 -I.. -c lib/kvm_util.c -o /usr/src/perf_selftests-x86_64-rhel-7.6-kselftests-3ca8c91756c3db8101879274075fc0a76b127a52/tools/testing/selftests/kvm/lib/kvm_util.o lib/kvm_util.c:1598:3: error: ‘KVM_EXIT_X86_RDMSR’ undeclared here (not in a function); did you mean ‘KVM_EXIT_ARM_NISV’? {KVM_EXIT_X86_RDMSR, "RDMSR"}, ^~~~~~~~~~~~~~~~~~ KVM_EXIT_ARM_NISV lib/kvm_util.c:1599:3: error: ‘KVM_EXIT_X86_WRMSR’ undeclared here (not in a function); did you mean ‘KVM_EXIT_ARM_NISV’? {KVM_EXIT_X86_WRMSR, "WRMSR"}, ^~~~~~~~~~~~~~~~~~ KVM_EXIT_ARM_NISV make: *** [Makefile:120: /usr/src/perf_selftests-x86_64-rhel-7.6-kselftests-3ca8c91756c3db8101879274075fc0a76b127a52/tools/testing/selftests/kvm/lib/kvm_util.o] Error 1 make: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-7.6-kselftests-3ca8c91756c3db8101879274075fc0a76b127a52/tools/testing/selftests/kvm' To reproduce: git clone https://github.com/intel/lkp-tests.git cd lkp-tests bin/lkp install job.yaml # job file is attached in this email bin/lkp run job.yaml Thanks, Rong Chen