Fedora rawhide FTBFS status 2010-02-10 x86_64
Kevin Kofler
kevin.kofler at chello.at
Sun Feb 14 15:32:57 UTC 2010
Paulo Cavalcanti wrote:
> However, with this new default, a lot of programs will have
> to add just:
>
> -lm
>
> This seems to be completely unnecessary, because it comes from glibc:
>
> [cascavel:~/RPMS124/lcgrpms] rpm -qf /lib64/libm.so.6
> glibc-2.11.1-1.x86_64
*nix has a long tradition of a separate libm for mathematical functions.
That said, while this may have made sense when CPUs didn't ship with on-die
FPUs and it made sense to restrict general-purpose programs to basic integer
operations, these days a lot of programs which aren't mathematical at all
use functions from libm such as floor, so this separation looks pretty much
obsolete (and in fact several other systems, such as Window$, don't
implement it, and libm is either absent or a dummy to make -lm work).
Kevin Kofler
More information about the devel
mailing list