lkml.org 
[lkml]   [2013]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: PPC440GX (taishan config) compilation errors
From
Date
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



\
 
 \ /
  Last update: 2013-06-15 12:01    [W:0.062 / U:0.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site