[linux-audio-dev] Cross compiling the kernel

Richard Smith smithbone at gmail.com
Fri Dec 9 00:23:47 UTC 2005


> 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/kernel/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



More information about the Linux-audio-dev mailing list