[Buildroot] C double type problem - at91sam9263

Matthew Dombroski matthew.dombroski at gmail.com
Mon Aug 4 21:27:36 UTC 2008


On Tue, Aug 5, 2008 at 2:16 AM, Hinko Kocevar
<hinko.kocevar at cetrtapot.si> wrote:
> Richard Hardy wrote:
>>> I see it too on cris architecture. I think it is uClibc related, at
>> least
>>> 0.9.29.
>>> I'll try to reproduce on x86..
>>> IMHO only printf is buggy, otherwise doubles and floats seem to have
>>> correct value.
>>

I had this problem some time ago, as have others, and found the
solution to be disabling uClibc's locale support.
Not ideal, but at least you can display floats, dates, etc.

http://www.busybox.net/lists/buildroot/2007-March/002232.html
http://buildroot.uclibc.org/lists/buildroot/2008-June/008945.html
http://buildroot.uclibc.org/lists/buildroot/2008-April/008176.html

~Matthew



More information about the buildroot mailing list