|
发表于 2018-5-16 17:41:28
只看该作者
9#
你好,我编译的时候出现警告和错误,说是未知的寄存器x18,warning: unknown register name: x18,这个是什么情况呀?
tools/bmp_logo --gen-info /home/yuan/Downloads/u-boot/tools/logos/rockchip.bmp > /home/yuan/Downloads/u-boot/include/bmp_logo.h
tools/bmp_logo --gen-data /home/yuan/Downloads/u-boot/tools/logos/rockchip.bmp > /home/yuan/Downloads/u-boot/include/bmp_logo_data.h
LD arch/arm/cpu/built-in.o
CC arch/arm/cpu/armv8/cpu.o
cc1: warning: unknown register name: x18
CC arch/arm/cpu/armv8/cache_v8.o
cc1: warning: unknown register name: x18
In file included from include/common.h:150:0,
from arch/arm/cpu/armv8/cache_v8.c:8:
/home/yuan/Downloads/u-boot/arch/arm/include/asm/global_data.h:135:58: error: invalid register name for ‘gd’
#define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
^
arch/arm/cpu/armv8/cache_v8.c:12:1: note: in expansion of macro ‘DECLARE_GLOBAL_DATA_PTR’
DECLARE_GLOBAL_DATA_PTR;
^
scripts/Makefile.build:275: recipe for target 'arch/arm/cpu/armv8/cache_v8.o' failed
make[1]: *** [arch/arm/cpu/armv8/cache_v8.o] Error 1
Makefile:1147: recipe for target 'arch/arm/cpu/armv8' failed
make: *** [arch/arm/cpu/armv8] Error 2
|
|