[uClibc] Re: why doesn't uclibc -msoft-float work like algorithmics -msoft-float?

Jay Carlson nop at nop.com
Tue Apr 1 17:02:16 UTC 2003


On 1 Apr 2003, Miles Bader wrote:

> Jay Carlson <nop at nop.com> writes:
> > My current opinion is that GOFAST is a Bad Idea on Linux---I repented.
>
> Why?
>
> I'm using a `gcc version' of GOFAST, which is a completely transparent
> drop-in replacement for uClibc's math library (so I don't need to change
> anything, just adjust my library search path).  Given that it's much
> faster than uClibc's math library, I don't see any reason _not_ to use
> it (if you've got it).

Oh, interesting.  I wasn't aware that such a thing was available.

I don't mind that the GOFAST implementation exists; in fact, I think
it's great that it's out there and available for people who need it.
What I think is bad is the gcc configuration option to produce calls
to functions named "dpadd" etc, and the corresponding libgcc that
includes such functions.

The technical reason is that this is horrible namespace pollution.
The GNU-style "__addsi3" is in the reserved namespace.

The non-technical reason is that most Linux platforms and some other
projects like glibc are friendlier to the GNU-style names, and we're
more likely to see other people fix bugs for us :-)

Jay



More information about the uClibc mailing list