从一哥们的blog得知的:
http://blog.sina.com.cn/s/blog_59aa01840100b57z.html
从友善之臂下的4.3.2,主要编译uboot1.1.6的时候老有错误:
rm-linux-ld: ERROR: Source object /root/Desktop/work_zx2930/armgcc/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/armv4t/libgcc.a(_udivdi3.o) has EABI version 5, but target u-boot has EABI version 0
arm-linux-ld: failed to merge target specific data of file /root/Desktop/work/armgcc/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/armv4t/libgcc.a(_udivdi3.o)
arm-linux-ld: ERROR: Source object /root/Desktop/work_zx2930/armgcc/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/armv4t/libgcc.a(_udivsi3.o) has EABI version 5, but target u-boot has EABI version 0
arm-linux-ld: failed to merge target specific data of file /root/Desktop/work/armgcc/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/armv4t/libgcc.a(_udivsi3.o)
arm-linux-ld: ERROR: Source object /root/Desktop/work/armgcc/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/armv4t/libgcc.a(_dvmd_lnx.o) has EABI version 5, but target u-boot has EABI version 0
arm-linux-ld: failed to merge target specific data of file /root/Desktop/work/armgcc/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/armv4t/libgcc.a(_dvmd_lnx.o)
arm-linux-ld: ERROR: Source object /root/Desktop/work/armgcc/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/armv4t/libgcc.a(_clz.o) has EABI version 5, but target u-boot has EABI version 0
arm-linux-ld: failed to merge target specific data of file /root/Desktop/work/armgcc/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/armv4t/libgcc.a(_clz.o)
/root/Desktop/work/armgcc/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
大虾们说要重做编译器,哎没办法了。
博主在编译U-Boot 1.1.6时遇到与EABI版本不匹配的错误,尝试使用armgcc 4.3.2进行编译,但链接器报告源对象的EABI版本与目标U-Boot不一致。最终决定重新制作编译器来解决问题。
1万+

被折叠的 条评论
为什么被折叠?



