Kernel KVM virtualization development
 help / color / mirror / Atom feed
* [kvm:queue 182/205] <inline asm>:40:208: error: expected relocatable expression
@ 2022-03-10  1:28 kernel test robot
  2022-03-10 19:44 ` Nathan Chancellor
  0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2022-03-10  1:28 UTC (permalink / raw)
  To: Li RongQing
  Cc: llvm, kbuild-all, kvm, Robert Hu, Farrah Chen, Danmei Wei,
	Paolo Bonzini

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@intel.com/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@intel.com>

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.

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [kvm:queue 182/205] <inline asm>:40:208: error: expected relocatable expression
  2022-03-10  1:28 [kvm:queue 182/205] <inline asm>:40:208: error: expected relocatable expression kernel test robot
@ 2022-03-10 19:44 ` Nathan Chancellor
  2022-03-11  1:12   ` 答复: " Li,Rongqing
  0 siblings, 1 reply; 3+ messages in thread
From: Nathan Chancellor @ 2022-03-10 19:44 UTC (permalink / raw)
  To: kernel test robot
  Cc: Li RongQing, llvm, kbuild-all, kvm, Robert Hu, Farrah Chen,
	Danmei Wei, Paolo Bonzini

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@intel.com/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@intel.com>
> 
> 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@baidu.com/

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* 答复: [kvm:queue 182/205] <inline asm>:40:208: error: expected relocatable expression
  2022-03-10 19:44 ` Nathan Chancellor
@ 2022-03-11  1:12   ` Li,Rongqing
  0 siblings, 0 replies; 3+ messages in thread
From: Li,Rongqing @ 2022-03-11  1:12 UTC (permalink / raw)
  To: Nathan Chancellor, kernel test robot
  Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	kvm@vger.kernel.org, Robert Hu, Farrah Chen, Danmei Wei,
	Paolo Bonzini

> 
> 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@baidu
> .com/
> 
> It happens with GCC / GNU as too.
> 
> /tmp/cc6grhKv.s: Assembler messages:
> /tmp/cc6grhKv.s:52: Error: invalid operands (*UND* and .data sections) for `+'
> 

I am sorry about this, I send a new version, it should be fixed

Thanks

-Lirongqing

> Cheers,
> Nathan

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-03-11  1:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-10  1:28 [kvm:queue 182/205] <inline asm>:40:208: error: expected relocatable expression kernel test robot
2022-03-10 19:44 ` Nathan Chancellor
2022-03-11  1:12   ` 答复: " Li,Rongqing

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox