On Thu, Mar 10, 2022 at 09:28:32AM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/virt/kvm/kvm.git queue > head: 8c1db5a775bc8314d78e99263e0d063a01b692c2 > commit: 4ab22f38c2046f2c949cb43fc0f7515666a2a2fb [182/205] KVM: x86: Support the vCPU preemption check with nopvspin and realtime hint > config: x86_64-randconfig-a012 (https://download.01.org/0day-ci/archive/20220310/202203100905.1o88Cp2l-lkp@xxxxxxxxx/config) > compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 276ca87382b8f16a65bddac700202924228982f6) > reproduce (this is a W=1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # https://git.kernel.org/pub/scm/virt/kvm/kvm.git/commit/?id=4ab22f38c2046f2c949cb43fc0f7515666a2a2fb > git remote add kvm https://git.kernel.org/pub/scm/virt/kvm/kvm.git > git fetch --no-tags kvm queue > git checkout 4ab22f38c2046f2c949cb43fc0f7515666a2a2fb > # save the config file to linux build tree > mkdir build_dir > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot <lkp@xxxxxxxxx> > > All errors (new ones prefixed by >>): > > >> <inline asm>:40:208: error: expected relocatable expression > .pushsection .text;.global __raw_callee_save___kvm_vcpu_is_preempted;.type __raw_callee_save___kvm_vcpu_is_preempted, @function;__raw_callee_save___kvm_vcpu_is_preempted:movq __per_cpu_offset(,%rdi,8), %rax;cmpb $0, KVM_STEAL_TIME_preempted+steal_time(%rax);setne %al;ret;.size __raw_callee_save___kvm_vcpu_is_preempted, .-__raw_callee_save___kvm_vcpu_is_preempted;.popsection > ^ > 1 error generated. It looks like there is a new revision of the patch that should resolve this. https://lore.kernel.org/r/1646891689-53368-1-git-send-email-lirongqing@xxxxxxxxx/ It happens with GCC / GNU as too. /tmp/cc6grhKv.s: Assembler messages: /tmp/cc6grhKv.s:52: Error: invalid operands (*UND* and .data sections) for `+' Cheers, Nathan