* Cross-Compiling mn10300: Assembler messages: junk at end of line: 0
@ 2008-02-14 19:04 Jan Dittmer
2008-02-15 13:25 ` [Linux-am33-list] " David Howells
0 siblings, 1 reply; 2+ messages in thread
From: Jan Dittmer @ 2008-02-14 19:04 UTC (permalink / raw)
To: linux-am33-list; +Cc: Linux Kernel Mailing List
Hi,
defconfig build:
+ make ARCH=mn10300 HOSTCC=gcc-4.0 CROSS_COMPILE=mn10300-elf-
CROSS32_COMPILE= O=../2.6.25-rc1-mn10300/
Using /usr/src/xtest/linux-2.6 as source for kernel
GEN /usr/src/xtest/2.6.25-rc1-mn10300/Makefile
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CALL /usr/src/xtest/linux-2.6/scripts/checksyscalls.sh
CHK include/linux/compile.h
AS arch/mn10300/kernel/kernel_execve.o
/usr/src/xtest/linux-2.6/arch/mn10300/kernel/kernel_execve.S: Assembler
messages:
/usr/src/xtest/linux-2.6/arch/mn10300/kernel/kernel_execve.S:33: Error:
junk at end of line: `0'
/usr/src/xtest/linux-2.6/arch/mn10300/kernel/kernel_execve.S:34: Error:
junk at end of line, first unrecognized character is `m'
make[2]: *** [arch/mn10300/kernel/kernel_execve.o] Error 1
make[1]: *** [arch/mn10300/kernel] Error 2
make: *** [sub-make] Error 2
Expected? Toolchain problem? Tools from ftp.redhat.com,
Version 3.4-am33-04r2-5. Host is x86.
Thanks,
Jan Dittmer
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Linux-am33-list] Cross-Compiling mn10300: Assembler messages: junk at end of line: 0
2008-02-14 19:04 Cross-Compiling mn10300: Assembler messages: junk at end of line: 0 Jan Dittmer
@ 2008-02-15 13:25 ` David Howells
0 siblings, 0 replies; 2+ messages in thread
From: David Howells @ 2008-02-15 13:25 UTC (permalink / raw)
To: Jan Dittmer; +Cc: dhowells, linux-am33-list, Linux Kernel Mailing List
Jan Dittmer <jan.dittmer@gmail.com> wrote:
> + make ARCH=mn10300 HOSTCC=gcc-4.0 CROSS_COMPILE=mn10300-elf-
> CROSS32_COMPILE= O=../2.6.25-rc1-mn10300/
Hmmm... There seems to be some confusion somewhere, probably because the
documentation there doesn't say which compiler you should use for what. Can
you try this toolchain instead:
i686-pc-linux-gnulibc2.3-x-am33_2.0-linux-gnu.tar.bz2
rather than the:
i686-pc-linux-gnulibc2.3-x-mn10300-elf.tar.bz2
in the location:
ftp://ftp.redhat.com/pub/redhat/gnupro/AM33/am33-04r2-5/tools/
Note that the MN10300 arch needs some patches to get it to compile due to some
changes that Linus merged that weren't in the -mm tree.
David
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-02-15 13:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-14 19:04 Cross-Compiling mn10300: Assembler messages: junk at end of line: 0 Jan Dittmer
2008-02-15 13:25 ` [Linux-am33-list] " David Howells
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).