Re: build error

Previous thread: Re: MSI interrupts and disable_irq by Manfred Spraul on Tuesday, October 2, 2007 - 3:03 pm. (1 message)

Next thread: Announce: Linux-ready Firmware Dev Kit - Release 3 by Selbak, Rolla N on Tuesday, October 2, 2007 - 5:08 pm. (1 message)
To: <linux-kernel@...>
Subject: build error
Date: Tuesday, October 2, 2007 - 4:12 pm

[please CC: me, my subscribe mail was greylisted]

Morning!

My make run for 2.6.23-rc9 ends like this:

GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
kernel/built-in.o: In function `getnstimeofday':
(.text+0x1e141): undefined reference to `__udivdi3'
kernel/built-in.o: In function `do_gettimeofday':
(.text+0x1e263): undefined reference to `__udivdi3'
kernel/built-in.o: In function `timekeeping_resume':
timekeeping.c:(.text+0x1e427): undefined reference to `__udivdi3'
kernel/built-in.o: In function `update_wall_time':
(.text+0x1e829): undefined reference to `__udivdi3'
kernel/built-in.o: In function `update_wall_time':
(.text+0x1ec4c): undefined reference to `__udivdi3'
make: *** [.tmp_vmlinux1] Error 1

.config attached.

I have already read the diff from -rc8 and found nothing that helped me.

Any ideas? Further questions?

Wilfried

To: <linux-kernel@...>
Date: Tuesday, October 2, 2007 - 8:19 pm

On Tue, 2 Oct 2007 22:12:13 +0200

What Gcc version? and config/architecture?

--
Stephen Hemminger <shemminger@linux-foundation.org>

-

To: Stephen Hemminger <shemminger@...>
Cc: <linux-kernel@...>
Date: Tuesday, October 2, 2007 - 8:28 pm

.config file was attached. It says X86_32.

I can't reproduce it on 2 different systems & toolchains.

---
~Randy
-

To: Randy Dunlap <randy.dunlap@...>
Cc: <linux-kernel@...>
Date: Tuesday, October 2, 2007 - 8:39 pm

On Tue, 2 Oct 2007 17:28:27 -0700

There were earlier reports of gcc 4.3 bogus optimization:
http://lkml.org/lkml/2007/5/18/355
-

To: <linux-kernel@...>
Cc: Stephen Hemminger <shemminger@...>, Randy Dunlap <randy.dunlap@...>
Date: Wednesday, October 10, 2007 - 6:23 am

Indeed, it compiled cleanly with gcc 4.2.

Thanks. This won't happen again.

Wilfried
--
Irgendwas ist ja immer...
-

Previous thread: Re: MSI interrupts and disable_irq by Manfred Spraul on Tuesday, October 2, 2007 - 3:03 pm. (1 message)

Next thread: Announce: Linux-ready Firmware Dev Kit - Release 3 by Selbak, Rolla N on Tuesday, October 2, 2007 - 5:08 pm. (1 message)