编译环境:
JZ2440移植的uboot1.1.6,arm-linux-gcc版本4.3.2
编译报错:
...
arm-linux-ld: failed to merge target specific data of file drivers/nand/libnand.a(nand_util.o)
/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/armv4t/libgcc.a(_dvmd_lnx.o): In function `__aeabi_ldiv0':
(.text+0x8): undefined reference to `raise'
make: *** [u-boot] 错误 1
解决办法:
http://blog.youkuaiyun.com/wwd574000815/article/details/6208379
将cpu /arm920t/config.mk 改为
PLATFORM_RELFLAGS += -fno-strict-aliasing -fno-common -ffixed-r8 /
-msoft-float
PLATFORM_CPPFLAGS +=
# =========================================================================
#
# Supply op