[uClibc 0001486]: powerpc: neither soft_float nor kernel emulated fpu working
bugs at busybox.net
bugs at busybox.net
Sat Sep 15 08:23:49 UTC 2007
The following issue has been CLOSED
======================================================================
http://busybox.net/bugs/view.php?id=1486
======================================================================
Reported By: busyben
Assigned To: uClibc
======================================================================
Project: uClibc
Issue ID: 1486
Category: Architecture Specific
Reproducibility: always
Severity: major
Priority: normal
Status: closed
Resolution: no change required
Fixed in Version:
======================================================================
Date Submitted: 09-05-2007 00:54 PDT
Last Modified: 09-15-2007 01:23 PDT
======================================================================
Summary: powerpc: neither soft_float nor kernel emulated fpu
working
Description:
I always get "illegal instruction" errors when trying to printf(%f,
some_float_or_double). Since I use a embedded powerpc without fpu, I
compiled uclibc with soft-float enabled (-msoft-float). But this does not
seems to work.
Therefore I tried the floating point kernel-emulation in the linux kernel,
which gives lots of warnings during compiling (see below 1.). After that,
there is no illegal instruction anymore, but printf(%f,...) gives always
0.147484 (see 2.)
I am using OpenWrt with uClibc 0.9.28.2, Linux Kernel 2.6.22.1 together
with a PowerPC 405 hard core in a Xilnix VirtexII Pro FPGA XC2VP30.
Is this a but in uClibc's soft-float AND/OR the kernels ppc/math-emu? What
can I do to get fp-requiring applications running?
If this helps: when I try to run rrdtool, I also get an error about symbol
'rintf' (see 3.), although I compiled everything with option -fPIC.
======================================================================
----------------------------------------------------------------------
vapier - 09-15-07 01:23
----------------------------------------------------------------------
this is a gcc/kernel problem, not uClibc
Issue History
Date Modified Username Field Change
======================================================================
09-05-07 00:54 busyben New Issue
09-05-07 00:54 busyben Status new => assigned
09-05-07 00:54 busyben Assigned To => uClibc
09-05-07 00:54 busyben File Added: float-test.c
09-15-07 01:23 vapier Note Added: 0002742
09-15-07 01:23 vapier Status assigned => closed
09-15-07 01:23 vapier Resolution open => no change
required
======================================================================
More information about the uClibc-cvs
mailing list