[uClibc] printf problem & libgcc on target?
Robin Gilks
robin.gilks at tait.co.nz
Fri Jan 16 00:58:40 UTC 2004
Manuel Novoa III wrote:
> Hello,
>
> On Thu, Jan 15, 2004 at 02:38:54PM +1300, Robin Gilks wrote:
>
>>Greetings
>>
>>Just upgraded from 0.9.20 to 0.9.26 and I see the following interesting
>>display from the mtd eraseall program.
>
>
> When you upgraded, did you rebuild your apps? Those two versions of
> uClibc aren't binary-compatable.
>
>
>>/ # eraseall /dev/mtd0
>>2d %% complete.2d %% complete.2d %% complete.2d %% complete.2d %%
>>complete.2d %% complete.2d %% complete.2d %% complete.2d %% complete.2d
>>%% complete.2d %% complete.2d %% complete.2d %% complete.2d %%
>>complete.2d %% complete.2d %% complete.2d %% complete.2d %% complete.2d
>>%% complete.2d %% complete.2d %% complete.2d %% complete.2d %%
>>complete.2d %% complete.2d %% complete.2d %% complete.2d %% complete.2d
>>%% complete.2d %% complete.2d %% complete.2d %% complete.2d %%
>>complete.2d %% complete.2d %% complete.2d %% complete.2d %% complete.2d
>>%% complete.2d %% complete.2d %% complete.2d %% complete.2d %%
>>complete.2d %% complete.2d %% complete.2d %% complete.2d %% complete.2d
>>%% complete.2d %% complete.2d %% complete.
>>
>>The code snippet that generates it is as follows:
>>
>>if (!quiet) {
>> printf
>> ("\rErasing %d Kibyte @ %x -- %2d %% complete.",
>> meminfo.erasesize / 1024, erase.start,
>> erase.start * 100 / meminfo.size);
>>}
>>
>>Any ideas?? It used to be OK :-))
>
>
> What arch? What uClibc configuration? In particular, do you have
> locale support enabled?
>
I've updated to latest CVS buildroot to make sure I'm not chasing
phantoms but still experiencing the same problem. A point - why is WCHAR
support _always_ enabled? Drove me nuts trying to turn it off until I
found the makefile patching it back in again!!
Attached is my .config file for powerpc (mpc8xx). I'm assuming in my
config that the Linux kernel is providing a floating point emulator.
--
Robin Gilks
Senior Design Engineer Phone: (+64)(3) 357 1569
Tait Electronics Fax : (+64)(3) 359 4632
PO Box 1645 Christchurch Email : robin.gilks at tait.co.nz
New Zealand
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: .config
Url: http://lists.busybox.net/pipermail/uclibc/attachments/20040116/1a92058f/attachment.diff
More information about the uClibc
mailing list