[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: gcc-4.3.0-0.4 and building kernel src.rpm



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'
kernel/built-in.o: In function `do_gettimeofday':
(.text+0x1d612): undefined reference to `__umoddi3'
kernel/built-in.o: In function `timekeeping_resume':
timekeeping.c:(.text+0x1d7dd): undefined reference to `__udivdi3'
timekeeping.c:(.text+0x1d800): undefined reference to `__umoddi3'
kernel/built-in.o: In function `update_wall_time':
(.text+0x1de63): undefined reference to `__udivdi3'
kernel/built-in.o: In function `update_wall_time':
(.text+0x1de86): undefined reference to `__umoddi3'
kernel/built-in.o: In function `update_wall_time':
(.text+0x1df24): undefined reference to `__udivdi3'
kernel/built-in.o: In function `update_wall_time':
(.text+0x1df4e): undefined reference to `__umoddi3'
make: *** [.tmp_vmlinux1] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.80567 (%build)


I was under the impression that those math functions were provided by libgcc
so I was assuming it was the compiler with the issue.  So , I'm just
wondering what is broken

1. the kernel does not use any libraries external to itself; those external libraries include userland->kernel interfaces, and those are not what the kernel requires. 2. Did you read your kernel's documentation to see what tools you might use? Using an unsupported compiler is problematic.



--

Cheers
John

-- spambait
1aaaaaaa coco merseine nu  Z1aaaaaaa coco merseine nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]