[U-Boot] Toradex Colibri, PXA-270 (ARM)

2012-01-23 Thread Daniel Mack

Hello,

i recently stumbled upon a compile-error which appears after trying to 
compile via


/./MAKEALL --arch arm --cpu pxa --vendor toradex/

, it appears U-Boot uses software-FP whereas the native XScale-libs use 
hardware-FP, see for yourself please :


/[dmack@Blizzard ~/workspace/u-boot]$ ./MAKEALL --arch arm --cpu pxa --vendor 
toradex/

/Configuring for colibri_pxa270 board.../

/arm-linux-ld: ERROR: 
/usr/lib/gcc/arm-xscale-linux-gnu/3.4.6/libgcc.a(_udivsi3.oS) uses hardware FP, 
whereas u-boot uses software FP/

/arm-linux-ld: failed to merge target specific data of file 
/usr/lib/gcc/arm-xscale-linux-gnu/3.4.6/libgcc.a(_udivsi3.oS)/

/arm-linux-ld: ERROR: 
/usr/lib/gcc/arm-xscale-linux-gnu/3.4.6/libgcc.a(_divsi3.oS) uses hardware FP, 
whereas u-boot uses software FP/

/arm-linux-ld: failed to merge target specific data of file 
/usr/lib/gcc/arm-xscale-linux-gnu/3.4.6/libgcc.a(_divsi3.oS)/

/arm-linux-ld: ERROR: 
/usr/lib/gcc/arm-xscale-linux-gnu/3.4.6/libgcc.a(_umodsi3.oS) uses hardware FP, 
whereas u-boot uses software FP/

/arm-linux-ld: failed to merge target specific data of file 
/usr/lib/gcc/arm-xscale-linux-gnu/3.4.6/libgcc.a(_umodsi3.oS)/

/arm-linux-ld: ERROR: 
/usr/lib/gcc/arm-xscale-linux-gnu/3.4.6/libgcc.a(_modsi3.oS) uses hardware FP, 
whereas u-boot uses software FP/

/arm-linux-ld: failed to merge target specific data of file 
/usr/lib/gcc/arm-xscale-linux-gnu/3.4.6/libgcc.a(_modsi3.oS)/

/arm-linux-ld: ERROR: 
/usr/lib/gcc/arm-xscale-linux-gnu/3.4.6/libgcc.a(_dvmd_lnx.oS) uses hardware 
FP, whereas u-boot uses software FP/

/arm-linux-ld: failed to merge target specific data of file 
/usr/lib/gcc/arm-xscale-linux-gnu/3.4.6/libgcc.a(_dvmd_lnx.oS)/

/arm-linux-ld: ERROR: 
/usr/lib/gcc/arm-xscale-linux-gnu/3.4.6/libgcc.a(_lshrdi3.oS) uses hardware FP, 
whereas u-boot uses software FP/

/arm-linux-ld: failed to merge target specific data of file 
/usr/lib/gcc/arm-xscale-linux-gnu/3.4.6/libgcc.a(_lshrdi3.oS)/

/arm-linux-ld: ERROR: 
/usr/lib/gcc/arm-xscale-linux-gnu/3.4.6/libgcc.a(_ashldi3.oS) uses hardware FP, 
whereas u-boot uses software FP/

/arm-linux-ld: failed to merge target specific data of file 
/usr/lib/gcc/arm-xscale-linux-gnu/3.4.6/libgcc.a(_ashldi3.oS)/

/arm-linux-ld: ERROR: 
/usr/lib/gcc/arm-xscale-linux-gnu/3.4.6/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/lib/gcc/arm-xscale-linux-gnu/3.4.6/libgcc.a(_udivdi3.oS)/

/arm-linux-ld: ERROR: /usr/lib/gcc/arm-xscale-linux-gnu/3.4.6/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/lib/gcc/arm-xscale-linux-gnu/3.4.6/libgcc.a(_clz.oS)/

/make: *** [u-boot] Fehler 1/

/size: './u-boot': No such file/

/- SUMMARY /

/Boards compiled: 1/

/Boards with warnings or errors: 1 ( colibri_pxa270 )/

/--/


Is there a solution for this, am i missing something?

Best regards,

Daniel
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] Toradex Colibri, PXA-270 (ARM)

2012-01-23 Thread Wolfgang Denk
Dear Daniel Mack,

In message 4f1d60e8.4030...@lertes.de you wrote:

 i recently stumbled upon a compile-error which appears after trying to 
 compile via
 
 /./MAKEALL --arch arm --cpu pxa --vendor toradex/
 
 , it appears U-Boot uses software-FP whereas the native XScale-libs use 
 hardware-FP, see for yourself please :

This is a tool chain problem.  You should get one that supports
soft-FP, especially on processors that don;t have a FPU in the first
place.

 /arm-linux-ld: ERROR: 
 /usr/lib/gcc/arm-xscale-linux-gnu/3.4.6/libgcc.a(_udivsi3.oS) uses hardware 
 FP, whereas u-boot uses software FP/

GCC 3.4 has always been (in)famous for causing issues, especially on
ARM. And it is so old that you can consider it unsupported.

 Is there a solution for this, am i missing something?

I guess you did not bother to check the mailing list archives?  You
should.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
Often it is fatal to live too long.  - Racine
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot