Subject: Re: error compiling ptrace in current mainline git

From: Chris Friesen <[email-masked]>
Date: Fri, 12 Jul 2013 17:44:12 -0600

On 07/12/2013 05:03 PM, Benjamin Herrenschmidt wrote:
> 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)

Here are the two files.  My resuilts with a newer compiler is in my 
other message.

Chris