[uClibc] -msoft-float bug on mipsel solved

Calilon h_happy at 263.net
Tue Aug 12 07:57:27 UTC 2003


Why kernel soft float is nan ?
When I try to build -msoft-float gcc toolchains on i386, it failed several times.
I'll try more times.
_____________________________________

From: David Wuertele <dave-gnus at bfnet.com>
Subject: [uClibc] -msoft-float bug on mipsel solved
To: uclibc at uclibc.org
Message-ID: <m365l4iub7.fsf_-_ at bfnet.com>
Content-Type: text/plain; charset=us-ascii

I found a bug in the gcc bugzilla:

  http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8765

This described behavior where the libgcc.a ABI doesn't match the
arguments that programs pass in FP regs.  The solution was to compile
libgcc.a with -msoft-float.  You can do this by adding -msoft-float to
the TARGET_LIBGCC2_CFLAGS variable in
toolchain_build_mipsel/gcc-3.3/gcc/config/t-linux before building the
toolchain.

Once I built a system like this, all my -msoft-float programs ran like
there was never any problem!

Dave


More information about the uClibc mailing list