Hi TI,
I am compiling only uboot from SDK 8.2, I am using the same toolchain (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12). after I run the below command
make ARCH=arm CROSS_COMPILE=aarch64-none-linux-gnu- ATF=../../../../prebuilt/bl31.bin TEE=../../../../prebuilt/bl32.bin O=a53
it is giving me the below error
CC test/print_ut.o
CC test/str_ut.o
CC test/ut.o
LD test/built-in.o
LDS u-boot.lds
LD u-boot
aarch64-none-linux-gnu-ld.bfd: test/built-in.o: in function `cmd_ut_category':
/home/sarfaraz/test/zeus-pxred/product-ref1/bsp/zeus/vendor_source/build/uboot/u-boot-2021.01/a53/../test/cmd_ut.c:47: undefined reference to `mallinfo'
/home/sarfaraz/test/zeus-pxred/product-ref1/bsp/zeus/vendor_source/build/uboot/u-boot-2021.01/a53/../test/cmd_ut.c:47:(.text.cmd_ut_category+0x130): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `mallinfo'
aarch64-none-linux-gnu-ld.bfd: u-boot: hidden symbol `mallinfo' isn't defined
aarch64-none-linux-gnu-ld.bfd: final link failed: bad value
make[7]: *** [u-boot] Error 1
same command used to work with SDK 7.1 for me without any error.
Can TI help me here for resolving this issue on priority
Thanks,
Sarfaraz