Bug#465417: gcc: compiling 2.6.24.2 kernel fails in kernel/time/timekeeping.c
Package: gcc
Severity: important
Hello,
while trying to compile said kernel, I got the following error messages:
kernel/built-in.o: In function `update_wall_time':
(.text+0x16350): undefined reference to `__umoddi3'
kernel/built-in.o: In function `update_wall_time':
(.text+0x163ea): undefined reference to `__udivdi3'
kernel/built-in.o: In function `update_wall_time':
(.text+0x16414): undefined reference to `__umoddi3'
(This also applies to other fonctions calling update_wall_time)
The implementation is in kernel/time/timekeeping.c, it was compiled as
gcc -m32 -Wp,-MD,kernel/time/.timekeeping.o.d -nostdinc -isystem /usr/lib/gcc
/i486-linux-gnu/4.3.0/include -D__KERNEL__ -Iinclude -include include/linux/aut
oconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -f
no-common -Werror-implicit-function-declaration -Os -pipe -msoft-float -mregparm
=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=athlon
-mtune=generic -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1
-DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-x86/mach-default -fomit-frame-pointer
-fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign
-D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(timekeeping)"
-D"KBUILD_MODNAME=KBUILD_STR(timekeeping)" -c -o kernel/time/.tmp_timekeeping.o kernel/time/timekeeping.c
Could you check ?
Pascal Dupuis
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.24
Locale: LANG=fr_BE, LC_CTYPE=fr_BE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Reply to: