Build errors on mainline kernel

Michael Ellerman michael at ellerman.id.au
Mon Aug 12 15:42:03 EST 2013


On Fri, 2013-08-09 at 11:24 -0700, Sukadev Bhattiprolu wrote:
> I am tryng to compile clean mainline kernel with a few different config files
> and running into errors with some configs.
> 
> I am building on RHEL6.3 with following binaries:
> 
> 	gcc (GCC) 4.4.6 20120305 (Red Hat 4.4.6-4)
> 	GNU ld version 2.20.51.0.2-5.34.el6 20100205
> 	binutils-2.20.51.0.2-5.34.el6.ppc64
> 	binutils-devel-2.20.51.0.2-5.34.el6.ppc64
> 
> I am getting the error with several files and configs, but other configs 
> (eg: ppc64_defconfig, pmac32_defconfig) build fine.
> 
> For instance, with latest mainline kernel (commit 6c2580c) and ppc64_defconfig, I get:

Here you say ppc64_defconfig ..

> 	make O=linux-obj mrproper
> 	make O=linux-obj ppc64e_defconfig

But here you say ppc64e_defconfig ?

> 	make O=linux-obj arch/powerpc/platforms/85xx/smp.o
> 	  ...
> 
> 	CC      arch/powerpc/platforms/85xx/smp.o
> 	{standard input}: Assembler messages:
> 	{standard input}:240: 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

So I'm not clear which config you're building.

cheers



More information about the Linuxppc-dev mailing list