主题 : 用arm-linux-gcc-3.4.1 编译U-BOOT1.1.6发生的错误 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 3934
精华: 0
发帖: 37
金钱: 325 两
威望: 276 点
综合积分: 74 分
注册时间: 2009-02-17
最后登录: 2013-03-08
楼主  发表于: 2009-07-21 14:25

 用arm-linux-gcc-3.4.1 编译U-BOOT1.1.6发生的错误


                        -Map u-boot.map -o u-boot
arm-linux-ld: ERROR: /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/libgcc.a(_udivdi3.oS) uses hardware FP, whereas u-boot uses software FP
arm-linux-ld: failed to merge target specific data of file /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/libgcc.a(_udivdi3.oS)
arm-linux-ld: ERROR: /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/libgcc.a(_clz.oS) uses hardware FP, whereas u-boot uses software FP
arm-linux-ld: failed to merge target specific data of file /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/libgcc.a(_clz.oS)
make: *** [u-boot] 错误 1
[root@localhost u-boot-1.1.6]#


请问有哪位兄弟碰到这个问题,能否说说是怎么解决的
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2009-07-21 14:50
这种经典错误,google一下就一大堆
http://www.google.com/search?client=opera&rls=en&q=uses+hardware+FP,+whereas+u-boot+uses+software+FP&sourceid=opera&ie=utf-8&oe=utf-8
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."