error compiling ptrace in current mainline git

Benjamin Herrenschmidt benh at kernel.crashing.org
Sat Jul 13 09:03:45 EST 2013


On Fri, 2013-07-12 at 10:27 -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'
> {standard input}:2074: Error: junk at end of line: `1'
> {standard input}:2742: Error: junk at end of line: `1'
> {standard input}:2855: Error: junk at end of line: `1'
> {standard input}:2943: Error: junk at end of line: `1'
> {standard input}:4699: Error: junk at end of line: `1'
> {standard input}:4794: Error: junk at end of line: `1'
> {standard input}:4915: Error: junk at end of line: `1'
> {standard input}:4985: Error: junk at end of line: `1'
> {standard input}:5087: Error: junk at end of line: `1'
> make[2]: *** [arch/powerpc/kernel/ptrace.o] Error 1
> make[1]: *** [arch/powerpc/kernel] Error 2
> make: *** [sub-make] Error 2
> 
> 
> Any ideas on how to deal with this?  Is this a code error or a compiler 
> error?

Can you send the .s and .i files ? Also you can try with newer compilers
(there are some cross compilers on kernel.org)

Cheers,
Ben.




More information about the Linuxppc-dev mailing list