[Buildroot] Question about float-abi

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Feb 29 14:47:10 UTC 2012


Hello Ludovic,

Le Wed, 29 Feb 2012 14:49:09 +0100,
Ludovic Desroches <ludovic.desroches at atmel.com> a écrit :

> Yes there were missing options for gcc: --with-float=hard and
> --with-fpu=...
> 
> Now floating score is correct. I am surprised by the good results of
> the uclibc. I don't know if nbench is an accurate benchmark to test
> several libc but scores obtained by glibc, eglibc and uclibc are very
> closed.

As I told you on IRC, those investigations are really interesting. We
know that the Buildroot support for floating-point is far from perfect,
this has been briefly discussed during the last Buildroot Developer
meeting. If you want to improve this part of Buildroot, do not hesitate
to send patches, we are definitely interested.

I guess with internal toolchains, it's quite easy to improve things.
The case of external toolchains is probably a bit more complicated,
since we do not control how the C library of the external toolchain has
been built in terms of floating point support.

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com


More information about the buildroot mailing list