Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 238386

Summary: sys-kernel/gentoo-sources-{2.6.22-r10, 2.6.23-r9}: build failure due to undefined reference to `__umoddi3'
Product: Gentoo Linux Reporter: Peter Volkov (RETIRED) <pva>
Component: Current packagesAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=38332cb98772f5ea757e6486bed7ed0381cb5f98#patch1
Whiteboard:
Package list:
Runtime testing required: ---

Description Peter Volkov (RETIRED) gentoo-dev 2008-09-22 12:55:52 UTC
During build of 2.6.22-r10 I've encountered the following error:
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1

kernel/built-in.o: In function `getnstimeofday':
(.text+0x144a9): undefined reference to `__umoddi3'
kernel/built-in.o: In function `do_gettimeofday':
(.text+0x14561): undefined reference to `__udivdi3'
kernel/built-in.o: In function `do_gettimeofday':
(.text+0x14584): undefined reference to `__umoddi3'
kernel/built-in.o: In function `update_wall_time':
(.text+0x14c4a): undefined reference to `__udivdi3'
kernel/built-in.o: In function `update_wall_time':
(.text+0x14c74): undefined reference to `__umoddi3'
make: *** [.tmp_vmlinux1] Error 1


This bug was fixed later with the following commit:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=38332cb98772f5ea757e6486bed7ed0381cb5f98#patch1

but this patch is not included in 2.6.22-r10, 2.6.23-r9.Please,apply to genkernel patchset.
Comment 1 Mike Pagano gentoo-dev 2008-10-07 19:12:17 UTC
I don't see us doing another 2.6.22 or 2.6.23 gentoo-sources release. If anyone on the kernel team disagrees and wants to do another release then they are free to reopen and address.