U-boot编译器错误

时间:2017-09-09 00:43:41

标签: linux compiler-errors u-boot

我是u-boot的新手。当我编译u-boot时,我收到以下错误:

root@tl-virtual-machine:/home/tl/Desktop/uboot# make CROSS_COMPILE=arm-fsl-
linux-gnueabi- -j4
CHK     include/config/uboot.release
CHK     include/generated/timestamp_autogenerated.h
UPD     include/generated/timestamp_autogenerated.h
CHK     include/generated/version_autogenerated.h
UPD     include/generated/version_autogenerated.h
HOSTCC  tools/dumpimage.o
HOSTCC  tools/image-host.o
HOSTCC  tools/mkenvimage.o
HOSTCC  tools/mkimage.o
HOSTLD  tools/mkenvimage
HOSTLD  tools/dumpimage
HOSTLD  tools/mkimage
CC      arch/arm/cpu/armv7/am33xx/clock_am43xx.o
AS      arch/arm/cpu/armv7/start.o
arch/arm/cpu/armv7/am33xx/clock_am43xx.c: In function 
'rtc_only_enable_basic_clocks':
arch/arm/cpu/armv7/am33xx/clock_am43xx.c:142:13: internal compiler error: in 
decode_addr_const, at varasm.c:2632
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [arch/arm/cpu/armv7/am33xx/clock_am43xx.o] Error 1
make: *** [arch/arm/cpu/armv7/am33xx] Error 2
make: *** Waiting for unfinished jobs....
CC      common/main.o
CC      common/board_f.o
CC      common/cmd_version.o
LD      common/built-in.o
root@tl-virtual-machine:/home/tl/Desktop/uboot# 

如何在u-boot中指定编译器。我在Makefile中配置了CROSS_COMPILE变量,如下所示:

CROSS_COMPILE =/home/tl/Desktop/opt/Embedsky/gcc-4.6.2-glibc-2.13-linaro-
multilib-2011.12/tq-linaro-toolchain/bin

感谢您的帮助,Light

0 个答案:

没有答案