Re: Build errors on mainline kernel
From: Andreas Schwab <hidden>
Date: 2013-08-10 07:15:24
3 messages, 2 authors, 2013-08-10 · open the first message on its own page
From: Andreas Schwab <hidden>
Date: 2013-08-10 07:15:24
Sukadev Bhattiprolu [off-list ref] 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 2Run "make arch/powerpc/platforms/85xx/smp.s" to create the assembler file. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."
From: Sukadev Bhattiprolu <hidden>
Date: 2013-08-10 16:45:58
Andreas Schwab [schwab@linux-m68k.org] wrote:
| Sukadev Bhattiprolu [off-list ref] 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.
239 #APP
240 # 161 "/root/tmp/linux.git/arch/powerpc/include/asm/io.h" 1
241 sync;lwz 0,112(9);twi 0,0,0;isync #, tmp171
242 # 0 "" 2
243 #NO_APP
244 cmpdi 7,31,0 #, tmp172, flags
245 beq 7,.L23 #
246 bl .trace_hardirqs_on #
247 nop
248 mr 3,31 #, flags
249 bl .arch_local_irq_restore #
250 nop
---
.file "smp.c"
# rs6000/powerpc options: -mcpu=power4 -mtune=power7 -msdata=none
.section ".toc","aw"
.section ".text"
# GNU C (GCC) version 4.4.6 20120305 (Red Hat 4.4.6-4) (ppc64-redhat-linux)
# compiled by GNU C version 4.4.6 20120305 (Red Hat 4.4.6-4), GMP version 4.3.1, MPFR version 2.4.1.
# GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
# options passed: -nostdinc -I/root/tmp/linux.git/arch/powerpc/include
# -Iarch/powerpc/include/generated -I/root/tmp/linux.git/include -Iinclude
From: Andreas Schwab <hidden>
Date: 2013-08-10 17:48:08
Sukadev Bhattiprolu [off-list ref] writes:
Andreas Schwab [schwab@linux-m68k.org] wrote:
| Sukadev Bhattiprolu [off-list ref] 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, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."