On 07/12/2013 04:31 PM, Tony Breeds wrote:
On Fri, Jul 12, 2013 at 10:27:41AM -0600, Chris Friesen wrote:
Hi all,
I'm trying to build current mainline git with gcc version 4.4.1 as a
cross compiler and I'm getting the following:
CC arch/powerpc/kernel/ptrace.o
{standard input}: Assembler messages:
{standard input}:1619: Error: junk at end of line: `1'
<snip>
Any ideas on how to deal with this? Is this a code error or a
compiler error?
It could be either can you:
a) try the 4.6.3 cross compiler from:
https://www.kernel.org/pub/tools/crosstool/
b) Try a ppc64_defconfig build.
If the newer compiler with your .config fixes it it's a compiler issue.
If chaning the config with you 4.4.1 compiler fixes it please post you
.config to see if we can work out what's going on.
I used the 4.6.3 cross compiler for x86_64 from the above location. It
seems to be able to build arch/powerpc/kernel/ptrace.c, but then it
gives a different error:
CC arch/powerpc/kernel/epapr_paravirt.o
AS arch/powerpc/kernel/epapr_hcalls.o
CC arch/powerpc/kernel/prom_init.o
AS arch/powerpc/kernel/head_64.o
/tmp/ccnAw2ZB.s: Assembler messages:
/tmp/ccnAw2ZB.s: Internal error, aborting at
/home/tony/buildall/src/binutils/gas/config/tc-ppc.c line 6351 in
md_apply_fix
Please report this bug.
make[2]: *** [arch/powerpc/kernel/head_64.o] Error 1
Also when you say "current mainline git" I assume you mean the HEAD of
linus's tree not Ben's right?
Yes, that's correct.
Chris
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev