Problem with ARM floating point and sprintf

Sebastian Huber sebastian.huber at
Fri Apr 16 11:58:48 UTC 2010


the RTEMS 4.10 and 4.11 tool chains support now the VFP floating point model.
You have to use the GCC options

-mfpu=vfp -mfloat-abi=soft

to enable it.  From my point of view this option is mandatory for all little
endian ARM BSPs (we have no big endian BSP in the CVS).

Are you sure that it works with the RTEMS 4.7 tool chain? Can you run the
paranoia test with that tool chain?


On 03/24/2010 11:04 AM, rtems at wrote:
> I also have the problem with floating point on the arm compiler for rtems
> 4.9 (rpm for Fedora 10 32-bit) (detected by Sebastian Huber).  We're
> trying to migrate our code from rtems to 4.9.3 (or higher).  When
> doing a printf of a nonzero double the call never returns.  Because of
> this the compiler is simply unusable for our application
> So, I have a few questions regarding the status of this problem:
> * From which version of the compiler does this problem occur?  With the
> 4.7 compiler we do not see the problem.  Is it also the case with the 4.8
> or with one of the older configurations for the 4.9?
> * Is there a know workaround (by recompiling the compilers with specific
> configure settings, older checkout, ...)
> * Is there anybody actively working on this problem?
> Thank you!
> _______________________________________________
> rtems-users mailing list
> rtems-users at

Sebastian Huber, embedded brains GmbH

Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone   : +49 89 18 90 80 79-6
Fax     : +49 89 18 90 80 79-9
E-Mail  : sebastian.huber at
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

More information about the users mailing list