天嵌 ARM开发社区

 找回密码
 注册
查看: 2046|回复: 3

ubunu12.04编译uboot1.1.6出错,

[复制链接]
渔民射手 发表于 2014-10-8 12:11:24 | 显示全部楼层 |阅读模式
xxx uses VFP instructions, whereas u-boot does not

我的arm-linux-gcc是gcc version 3.4.5
 楼主| 渔民射手 发表于 2014-10-8 12:12:55 | 显示全部楼层
arm-linux-ld: ERROR: lib_arm/libarm.a(_udivsi3.o) uses VFP instructions, whereas u-boot does not
arm-linux-ld: failed to merge target specific data of file lib_arm/libarm.a(_udivsi3.o)
arm-linux-ld: ERROR: lib_arm/libarm.a(div0.o) uses VFP instructions, whereas u-boot does not
arm-linux-ld: failed to merge target specific data of file lib_arm/libarm.a(div0.o)
arm-linux-ld: ERROR: common/libcommon.a(crc16.o) uses VFP instructions, whereas u-boot does not
arm-linux-ld: failed to merge target specific data of file common/libcommon.a(crc16.o)
arm-linux-ld: ERROR: lib_generic/libgeneric.a(ctype.o) uses VFP instructions, whereas u-boot does not
arm-linux-ld: failed to merge target specific data of file lib_generic/libgeneric.a(ctype.o)
arm-linux-ld: ERROR: lib_generic/libgeneric.a(string.o) uses VFP instructions, whereas u-boot does not
arm-linux-ld: failed to merge target specific data of file lib_generic/libgeneric.a(string.o)
arm-linux-ld: ERROR: lib_generic/libgeneric.a(zlib.o) uses VFP instructions, whereas u-boot does not
arm-linux-ld: failed to merge target specific data of file lib_generic/libgeneric.a(zlib.o)
arm-linux-ld: ERROR: lib_arm/libarm.a(_ashldi3.o) uses VFP instructions, whereas u-boot does not
arm-linux-ld: failed to merge target specific data of file lib_arm/libarm.a(_ashldi3.o)
arm-linux-ld: ERROR: lib_arm/libarm.a(_ashrdi3.o) uses VFP instructions, whereas u-boot does not
arm-linux-ld: failed to merge target specific data of file lib_arm/libarm.a(_ashrdi3.o)
arm-linux-ld: ERROR: lib_arm/libarm.a(_divsi3.o) uses VFP instructions, whereas u-boot does not
arm-linux-ld: failed to merge target specific data of file lib_arm/libarm.a(_divsi3.o)
arm-linux-ld: ERROR: lib_arm/libarm.a(_modsi3.o) uses VFP instructions, whereas u-boot does not
arm-linux-ld: failed to merge target specific data of file lib_arm/libarm.a(_modsi3.o)
arm-linux-ld: ERROR: lib_arm/libarm.a(_umodsi3.o) uses VFP instructions, whereas u-boot does not
arm-linux-ld: failed to merge target specific data of file lib_arm/libarm.a(_umodsi3.o)
全是这类出错,请问需不需要换系统
Calvin 发表于 2014-10-8 17:57:53 | 显示全部楼层
渔民射手 发表于 2014-10-8 12:12
arm-linux-ld: ERROR: lib_arm/libarm.a(_udivsi3.o) uses VFP instructions, whereas u-boot does not
ar ...

看错误是交叉编译器的问题;我们的是4.3.3的交叉编译器
yovs 发表于 2014-11-5 10:31:42 | 显示全部楼层
Calvin 发表于 2014-10-8 17:57
看错误是交叉编译器的问题;我们的是4.3.3的交叉编译器

但是用4.3.3版的时候会出现undefined reference to `__aeabi_unwind_cpp_pr0'的错误 请指教
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-5-18 10:38 , Processed in 1.046875 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表