All of lore.kernel.org
 help / color / mirror / Atom feed
* [kvm:queue 104/105] vmx.c:undefined reference to `__udivdi3'
@ 2019-06-17 20:20 kbuild test robot
  2019-06-18 10:56 ` Paolo Bonzini
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2019-06-17 20:20 UTC (permalink / raw)
  To: Sean Christopherson
  Cc: kbuild-all, kvm, Robert Hu, Farrah Chen, Danmei Wei, Paolo Bonzini

[-- Attachment #1: Type: text/plain, Size: 891 bytes --]

tree:   https://git.kernel.org/pub/scm/virt/kvm/kvm.git queue
head:   5253b5b578e40c3a10922579b38d1a53112324bd
commit: ce70de9a05de4510435f554da0cb2fb3321ba0fc [104/105] KVM: VMX: Leave preemption timer running when it's disabled
config: i386-allyesconfig (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        git checkout ce70de9a05de4510435f554da0cb2fb3321ba0fc
        # save the attached .config to linux build tree
        make ARCH=i386 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   ld: arch/x86/kvm/vmx/vmx.o: in function `hardware_setup':
>> vmx.c:(.init.text+0xe90): undefined reference to `__udivdi3'

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 68173 bytes --]

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

* Re: [kvm:queue 104/105] vmx.c:undefined reference to `__udivdi3'
  2019-06-17 20:20 [kvm:queue 104/105] vmx.c:undefined reference to `__udivdi3' kbuild test robot
@ 2019-06-18 10:56 ` Paolo Bonzini
  0 siblings, 0 replies; 2+ messages in thread
From: Paolo Bonzini @ 2019-06-18 10:56 UTC (permalink / raw)
  To: kbuild test robot, Sean Christopherson
  Cc: kbuild-all, kvm, Robert Hu, Farrah Chen, Danmei Wei

On 17/06/19 22:20, kbuild test robot wrote:
> tree:   https://git.kernel.org/pub/scm/virt/kvm/kvm.git queue
> head:   5253b5b578e40c3a10922579b38d1a53112324bd
> commit: ce70de9a05de4510435f554da0cb2fb3321ba0fc [104/105] KVM: VMX: Leave preemption timer running when it's disabled
> config: i386-allyesconfig (attached as .config)
> compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
> reproduce:
>         git checkout ce70de9a05de4510435f554da0cb2fb3321ba0fc
>         # save the attached .config to linux build tree
>         make ARCH=i386 
> 
> If you fix the issue, kindly add following tag
> Reported-by: kbuild test robot <lkp@intel.com>
> 
> All errors (new ones prefixed by >>):
> 
>    ld: arch/x86/kvm/vmx/vmx.o: in function `hardware_setup':
>>> vmx.c:(.init.text+0xe90): undefined reference to `__udivdi3'

Fixed by rewriting

	if ((0xffffffffu / use_timer_freq) < 10)
		enable_preemption_timer = false;

to

	if (use_timer_freq > 0xffffffffu / 10)
		enable_preemption_timer = false;

(finally doing inequations in high school paid off).

Paolo

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

end of thread, other threads:[~2019-06-18 10:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-17 20:20 [kvm:queue 104/105] vmx.c:undefined reference to `__udivdi3' kbuild test robot
2019-06-18 10:56 ` Paolo Bonzini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.