Subject: Re: Build errors on mainline kernel

From: Andreas Schwab <[email-masked]>
Date: Sat, 10 Aug 2013 19:47:55 +0200

Sukadev Bhattiprolu <[email-masked]> writes:

> Andreas Schwab [[email-masked]] wrote:
> | Sukadev Bhattiprolu <[email-masked]> writes:
> | 
> | > {standard input}: Assembler messages:
> | > {standard input}:244: Error: junk at end of line: `1'
> | > make[2]: *** [arch/powerpc/platforms/85xx/smp.o] Error 1
> | > make[1]: *** [arch/powerpc/platforms/85xx/smp.o] Error 2
> | > make: *** [sub-make] Error 2
> | 
> | Run "make arch/powerpc/platforms/85xx/smp.s" to create the assembler
> | file.
>
> Ok. Here are few lines around 244, the whole file is below. I can't
> find the junk '1'. There is a '1' at EOL on 240 but that is also
> on several lines in the file.

The offending line is line 307 (due to the added comments at the start):

        mfcr 0,1         # tmp145, tmp146

This is a Power4 insn, but you are compiling for e500.

Andreas.

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."