Thread (2 messages) 2 messages, 2 authors, 2016-03-24

RE: [acpi:release 3/3] intel_idle.c:undefined reference to `__udivdi3'

From: Zheng, Lv <hidden>
Date: 2016-03-24 06:56:01
Also in: linux-acpi

Hi, Len

This looks like a job that human should do because machines cannot do that for us.
We need to use div64() in the kernel because kernel doesn't link CRT.
While for the indentation issue, it won't hurt anybody.

Thanks
-Lv
From: linux-acpi-owner@vger.kernel.org [mailto:linux-acpi-
Subject: [acpi:release 3/3] intel_idle.c:undefined reference to `__udivdi3'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux.git release
head:   1664c8b16a75e9f73f4f40186c0c843bbf7dbde8
commit: 1664c8b16a75e9f73f4f40186c0c843bbf7dbde8 [3/3] intel_idle: add
BXT support
config: i386-randconfig-n0-03241107 (attached as .config)
reproduce:
        git checkout 1664c8b16a75e9f73f4f40186c0c843bbf7dbde8
        # save the attached .config to linux build tree
        make ARCH=i386

All errors (new ones prefixed by >>):

   drivers/built-in.o: In function `intel_idle_init':
quoted
quoted
intel_idle.c:(.init.text+0x16a3): undefined reference to `__udivdi3'
   intel_idle.c:(.init.text+0x16e4): undefined reference to `__udivdi3'
   intel_idle.c:(.init.text+0x1725): undefined reference to `__udivdi3'
   intel_idle.c:(.init.text+0x1766): undefined reference to `__udivdi3'
   intel_idle.c:(.init.text+0x17ab): undefined reference to `__udivdi3'

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help