QEMU: obsolete functions in libmath
Juergen Lock
nox at jelal.kn-bremen.de
Thu Jan 22 11:31:34 PST 2009
On Wed, Jan 21, 2009 at 11:56:59PM -0600, Scot Hetzel wrote:
> When compiling QEMU, I noticed that fabsl, remainderl, sqrtl, rintl,
> lrintl, llrintl were being redefined in fpu/softfloat-native.h.
> Looking for the source of this problem, I found that -CURRENT has
> these defined in /usr/include/math.h and that these functions have
> been implemented in FreeBSD's libm, which made them obsolete in the
> ../bsd/libmath.a.
>
> Currently, there are two remaining functions that haven't been
> implemented (logl and powl).
>
> I have also notice that these patches could be removed, as they are
> for FreeBSD 4.x only:
>
> patch-fpu-softfloat-native.c
> patch-libmath4
>
> Attached is the patch which will determine what to include in libmath
> for FreeBSD 5, 6, 7, and 8.
Thank you! :) I shall add this to the next update.
Juergen
More information about the freebsd-emulation
mailing list