Re: 2.6.32-rc3: floating-point build failure (undefined referenceto `__udivdi3' in menu governor)
From: Arjan van de Ven
Date: Wed Oct 07 2009 - 10:25:03 EST
Andreas Mohr wrote:
Hi,
didn't find any report about this, so...
LD .tmp_vmlinux1
drivers/built-in.o(.text+0xd85a1): In function `menu_select':
drivers/cpuidle/governors/menu.c:212: undefined reference to `__udivdi3'
make: *** [.tmp_vmlinux1] Error 1
# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-49)
seems you're the only user of this left.
it's not floating point but a 64 bit division.
The only one I can imagine is the one on line 213
looking at it, can you try sticking (u32) at the end of line 212; that multiply is not very likely to exceed 32 bits
--
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/