0

为 PPC440GX (taishan config) 编译最新的 linus-git 镜像时出现以下错误:

git describe
v3.10-rc5-219-ga2648eb

Issuing "make V=1 ARCH=powerpc CROSS_COMPILE=ppc_4xx- oldconfig" where
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
arch/powerpc/boot/uImage
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
mkdir -p arch/powerpc/boot/
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

问题:

  1. 为什么“mkdir -p arch/powerpc/boot/”重复了这么多次?
  2. 错误“mfdcrx”的原因是什么?

知道错误的原因是什么吗?

4

1 回答 1

0

抱歉,忘记更新本站,根据本站:

https://lkml.org/lkml/2013/6/15/213

这是一个交叉编译工具链错误。现在我没有使用 ELDK 中的工具链,而是使用了 PPC 工具链:

http://download.ronetix.info/toolchains/powerpc/powerpc-eabi-4.3.3.tar.bz2

一切都很顺利。谢谢。

于 2013-07-16T04:29:29.657 回答