[uClibc]Problem when I try to print fp numbers with fprintf

Erik Andersen andersen at codepoet.org
Thu May 29 22:32:53 UTC 2003


On Thu May 29, 2003 at 09:02:45AM -0700, Jon Loeliger wrote:
> Wait.  What was that middle part again? :-)
> 
> How do I use the old printf?

In your uClibc/.config file set the USE_OLD_VFPRINTF option.
This is most easily done by using 'make menuconfig'

> I have been wading through _dtostr() for days now, and am about
> to start printk()'ing large parts of the kernel emulation code...
> 
> I have verified that my MIPS floating point args are 8-byte round,
> double register allocated, not being victimized by the "can't be
> the first args using varargs.h" problem, and are bit-wise correct
> values.
> 
> I'm also about to instrument each place in the kernel where it
> issues a SIGSEGV to identify the exact point of failure.  The
> latest theory being that the library contains an un-supported
> or non-emulated instruction, perhaps...

That is certainly possible...  Tried doing an objdump -d
and grepping the disassembly for any mips floating point
opcodes?

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--


More information about the uClibc mailing list