[Buildroot] floating point I/O issue (ARM, AT91SAM9260)

Olivier Singla olivier.singla at gmail.com
Mon Jun 9 17:56:03 UTC 2008


Actually I found what the issue was.
The problem happens only when enabling locale support.

On Sat, Jun 7, 2008 at 11:23 PM, Olivier Singla
<olivier.singla at gmail.com> wrote:
> Hi,
>
> I have a strange issue with buildroot for the Atmel AT91SAM9260, which
> is related to floating point I/O.
> For instance if I have a floating value of 1.961, printf will display
> it as 1961000.
> Value 1234.567890123 will be displayed as 1234567871.
> I also have issue with scanf, when trying to read a floating point.
> I built the kernel with floating point emulation.
> I suspect the problem is in the C library.
> Any idea what's going on ?
>
> Thanks
> ~Olivier
>



More information about the buildroot mailing list