gcc-4.3.0-0.4 and building kernel src.rpm
gjohnson5
tonyjohn5 at yahoo.com
Sun Jan 6 03:36:33 UTC 2008
John Summerfield wrote:
>
> 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 at coco.merseine.nu Z1aaaaaaa at 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:-)
>
> --
> fedora-test-list mailing list
> fedora-test-list at redhat.com
> To unsubscribe:
> https://www.redhat.com/mailman/listinfo/fedora-test-list
>
>
1. ok didnt know for sure
2. gcc , and the kernel come from koji... only reason I tried it was
testing , I don't necessarily need to use if you are implying that I should
not use the latest gcc from koji to compile Fedora kernel src.rpm
What documentation is available for compiling kernels for Rawhide? I will
definitely read it
--
View this message in context: http://www.nabble.com/gcc-4.3.0-0.4-and-building-kernel-src.rpm-tp14634047p14643152.html
Sent from the Fedora Test List mailing list archive at Nabble.com.
More information about the fedora-test-list
mailing list