On Sat, Jan 05, 2008 at 07:10:29AM -0800, gjohnson5 wrote:
I am using gcc-4.3.0-0.4 with glibc-2.7.90-3 (not sure if that matters) with
rawhide and I am getting this building kernel-2.6.23.12-101.fc8
drivers/video/cfbimgblt.c:129:12: warning: cast adds address space to
expression (<asn:2>)
CHK include/linux/compile.h
UPD include/linux/compile.h
init/version.c:19:5: warning: symbol 'Version_132631' was not declared.
Should it be static?
kernel/built-in.o: In function `getnstimeofday':
(.text+0x1d525): undefined reference to `__umoddi3'
kernel/built-in.o: In function `do_gettimeofday':
(.text+0x1d5ef): undefined reference to `__udivdi3'
...
See http://gcc.gnu.org/PR32044
__udivdi3/__umoddi3 are in libgcc.a and gcc relies on it libgcc being
available, but the kernel chooses to link without libgcc - for some routines
it has its own counterparts, for some it chooses not to implement them at
all and just assumes they won't be needed.