Re: PPC440GX (taishan config) compilation errors

From: Paul Bolle
Date: Sat Jun 15 2013 - 05:33:16 EST


On Sat, 2013-06-15 at 15:14 +0800, Peter Teoh wrote:
> Compiling the latest linus-git image for PPC440GX (taishan config) I
> got the following errors:
>
> git describe
> v3.10-rc5-219-ga2648eb
>
> Issuing "make V=1 ARCH=powerpc CROSS_COMPILE=ppc_4xx- oldconfig" where

I don't think CROSS_COMPILE is needed at the "make oldconfig" stage.

> the config file ".config" is from powerpc/configs/44x gives:
>
> make -f scripts/Makefile.build obj=net/wireless
> make -f scripts/Makefile.build obj=lib
> make -f scripts/Makefile.build obj=lib/zlib_inflate
> make ARCH=ppc64 -f scripts/Makefile.build obj=arch/powerpc/boot

Is this found in the output from "make V=1 ARCH=powerpc
CROSS_COMPILE=ppc_4xx- oldconfig"?

> arch/powerpc/boot/uImage
> mkdir -p arch/powerpc/boot/
>[...]
> mkdir -p arch/powerpc/boot/
> ppc_4xx-gcc -m32 -Wp,-MD,arch/powerpc/boot/.treeboot-currituck.o.d
> -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
> -Os -msoft-float -pipe -fomit-frame-pointer -fno-builtin -fPIC
> -nostdinc -isystem
> /opt/eldk-4.2/usr/bin/../lib/gcc/powerpc-linux/4.2.2/include
> -fno-stack-protector -Iarch/powerpc/boot
> -I/media/d4fdcf1c-c7f1-419a-8418-3d0e7b1ad883/linux_latest/arch/powerpc/boot
> -mcpu=405 -c -o arch/powerpc/boot/treeboot-currituck.o
> arch/powerpc/boot/treeboot-currituck.c
> {standard input}: Assembler messages:
> {standard input}:82: Error: Unrecognized opcode: `mfdcrx'
> make[1]: *** [arch/powerpc/boot/treeboot-currituck.o] Error 1
> make: *** [uImage] Error 2
>
> Question:
>
> a. why is the "mkdir -p arch/powerpc/boot/" repeated so many times?
> b. what is the cause of error "mfdcrx"?
>
> Any idea what is the cause of error?


Paul Bolle

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/