Date: Thu, 22 Jan 2009 20:29:05 +0100 From: Juergen Lock <nox@jelal.kn-bremen.de> To: Scot Hetzel <swhetzel@gmail.com> Cc: freebsd-emulation@freebsd.org Subject: Re: QEMU: obsolete functions in libmath Message-ID: <20090122192905.GA9472@saturn.kn-bremen.de> In-Reply-To: <790a9fff0901212156j5e069c90h80945ab79774c784@mail.gmail.com> References: <790a9fff0901212156j5e069c90h80945ab79774c784@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090122192905.GA9472>