PX30 UBOOT 数组大小限制
本帖最后由 jukeboge 于 2021-3-26 15:59 编辑SDK:px30_linux_release_20210304
硬件平台:px30-lvds-ubuntu.mk evb-px30
问题描述:SDK uboot代码中定义数组const unsigned char buffer,px30_linux_release_20210304目录下执行:./build.sh uboot,报错,如果修改数组大小为100*1024则能正常编译通过,错误信息如下:
CC examples/standalone/hello_world.o
CC examples/standalone/stubs.o
LD examples/standalone/libstubs.o
LD examples/standalone/hello_world
OBJCOPY examples/standalone/hello_world.bin
OBJCOPY examples/standalone/hello_world.srec
LD u-boot
arch/arm/lib/built-in.o: In function `copy_loop':
/home/jukeboge/proj/px30_linux_release_20210304/u-boot/arch/arm/lib/relocate_64.S:59:(.text+0xc8): relocation truncated to fit: R_AARCH64_ADR_PREL_LO21 against symbol `__rel_dyn_end' defined in .bss_start section in u-boot
Makefile:1276: recipe for target 'u-boot' failed
make: *** Error 1
====Build uboot failed!====
jukeboge@apple:~/proj/px30_linux_release_20210304$
请问这个问题解决了吗?我编译firefly_RK3399 就报这个错误,啥都没改 lys23926635 发表于 2022-1-26 12:00
请问这个问题解决了吗?我编译firefly_RK3399 就报这个错误,啥都没改
请问 您解决这个问题了吗?
页:
[1]