Re: build error

From: Stephen Hemminger
Date: Tue Oct 02 2007 - 20:39:37 EST


On Tue, 2 Oct 2007 17:28:27 -0700
Randy Dunlap <randy.dunlap@xxxxxxxxxx> wrote:

> On Tue, 2 Oct 2007 17:19:42 -0700 Stephen Hemminger wrote:
>
> > On Tue, 2 Oct 2007 22:12:13 +0200
> > linux-kernel@xxxxxxxxxxxxxxxxxxxxxxxxxx wrote:
> >
> > > [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
> > >
> >
> > What Gcc version? and config/architecture?
>
> .config file was attached. It says X86_32.
>
> I can't reproduce it on 2 different systems & toolchains.

There were earlier reports of gcc 4.3 bogus optimization:
http://lkml.org/lkml/2007/5/18/355
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/