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/kerne!
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.redha…
--Richard A. Smith
Yup, my binutils changelog stops two months before that bug was fixed.
Thanks!
Lee