[Buildroot] C double type problem - at91sam9263

Hinko Kocevar hinko.kocevar at cetrtapot.si
Tue Aug 5 08:31:20 UTC 2008


Matthew Dombroski wrote:
> 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
> 

Right.
I've confirmed that floats for cris architecture with uClibc without locale work.

But what about i386 toolchain with uClibc and locale enabled? It seem to work in my case.. I'll redo the test with clean buildroot just to be sure.


Best regards,
Hinko

-- 
ČETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenia, Europe
Tel. +386 (0) 4 280 66 03
E-mail: hinko.kocevar at cetrtapot.si
Http: www.cetrtapot.si




More information about the buildroot mailing list