undefined reference to __udivdi3 (gcc-4.3)



Hi,

while trying to compile current -git or 2.6.25.1 with gcc (Debian 4.3.0-4) 4.3.1 20080501 (prerelease), the following error occurs during linking:

arch/x86/xen/built-in.o: In function `xen_timer_interrupt':
time.c:(.text+0x2992): undefined reference to `__udivdi3'
time.c:(.text+0x2a13): undefined reference to `__udivdi3'
make: *** [.tmp_vmlinux1] Error 1


Searching the archives brought up old issues with gcc-3.4 [0] and not so old posting from 01/2008 [1], but I could not find a solution (or a consense about (not to) include libgcc.a).

Full make.log and .config: http://nerdbynature.de/bits/2.6.25.1/xen/

Hints welcome :)

Thanks,
Christian.

[0] http://gcc.gnu.org/ml/gcc/2004-01/msg01975.html
[1] http://www.nabble.com/gcc-4.3:-Kernel-build-fails-td15135607.html
--
BOFH excuse #328:

Fiber optics caused gas main leak
--
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/



Relevant Pages

  • Re: Peavey Classic 30 Cuts Out
    ... (I did, btw, do some searching around ... in archives and on the web for a solution before posting, ...
    (alt.guitar.amps)
  • Re: Set to Silent, Vibrate or normal possible with .net cf?
    ... Searching the archives before posting is always a good idea. ... would be something like turn spaker on/off but I have no idea where to ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: locked version of microsoft office 2007
    ... Posting the same question three times in 20 minutes will not guarantee you an answer. ... Have you tried searching the archives of this group to see if anyone has ever posted any suggestions? ...
    (microsoft.public.word.docmanagement)
  • Re: symbol resolution on shard library.
    ... by including the module from the archives to the ... the order of searching isn't necessarily "objects then archives"; ... you call calloc(), and in fact long before your mainis called. ... because dynamic linking tries to emulate what ...
    (comp.unix.programmer)
  • Re: undefined reference to __udivdi3 (gcc-4.3)
    ... Searching the archives brought up old issues with gcc-3.4 and not so old posting from 01/2008, but I could not find a solution include libgcc.a). ... I seem to recall in one previous case we added some dummy assembly code to stop gcc from doing this. ...
    (Linux-Kernel)