Re: [linux-audio-dev] Cross compiling the kernel

From: Lee Revell <rlrevell@email-addr-hidden-job.com>
Date: Fri Dec 09 2005 - 02:39:15 EET

On Thu, 2005-12-08 at 18:23 -0600, Richard Smith wrote:
> > ld: warning: i386 architecture of input file `usr/initramfs_data.o' is incompatible with i386:x86-64 output>> This one is worrisome, maybe I also need to pass LDFLAGS?>> CC arch/x86_64/kernel/process.o> CC arch/x86_64/kernel/signal.o> AS arch/x86_64/kernel/entry.o> arch/x86_64/kernel/entry.S: Assembler messages:> arch/x86_64/kernel/entry.S:204: Error: cannot represent relocation type BFD_RELOC_X86_64_32S> arch/x86_64/kernel/entry.S:275: Error: cannot represent relocation type BFD_RELOC_X86_64_32S> arch/x86_64/kernel/entry.S:762: Error: cannot represent relocation type BFD_RELOC_X86_64_32S> arch/x86_64/kernel/entry.S:815: Error: cannot represent relocation type BFD_RELOC_X86_64_32S> arch/x86_64/kernel/entry.S:536: Error: cannot represent relocation type BFD_RELOC_64> arch/x86_64/kernel/entry.S:536: Error: cannot represent relocation type BFD_RELOC_64> arch/x86_64/kernel/entry.S:785: Error: cannot represent relocation type BFD_RELOC_64> arch/x86_64/ker!
ne!
> l/entry.S:785: Error: cannot represent relocation type BFD_RELOC_64> make[1]: *** [arch/x86_64/kernel/entry.o] Error 1> make: *** [arch/x86_64/kernel] Error 2>> Assembler problem?>> So it looks like my GCC is OK but the assembler and linker still are not> happy. Any ideas?
> Mmmmm... ick. you may need some patches...
> http://sourceware.org/ml/binutils/2005-03/msg00850.htmlhttp://sources.redhat.com/ml/binutils/2005-06/msg00451.html
> --Richard A. Smith
>

Yup, my binutils changelog stops two months before that bug was fixed.

Thanks!

Lee
Received on Fri Dec 9 08:15:13 2005

This archive was generated by hypermail 2.1.8 : Fri Dec 09 2005 - 08:15:13 EET