From owner-freebsd-emulation@FreeBSD.ORG Thu Jan 22 19:31:33 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1233106567C for ; Thu, 22 Jan 2009 19:31:33 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn.kn-bremen.de [212.63.36.242]) by mx1.freebsd.org (Postfix) with ESMTP id 980458FC2C for ; Thu, 22 Jan 2009 19:31:33 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: by gwyn.kn-bremen.de (Postfix, from userid 10) id 86342192442; Thu, 22 Jan 2009 20:31:31 +0100 (CET) Received: from saturn.kn-bremen.de (noident@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.14.2/8.13.8) with ESMTP id n0MJT5px009489; Thu, 22 Jan 2009 20:29:05 +0100 (CET) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.14.2/8.13.6/Submit) id n0MJT5tD009488; Thu, 22 Jan 2009 20:29:05 +0100 (CET) (envelope-from nox) From: Juergen Lock Date: Thu, 22 Jan 2009 20:29:05 +0100 To: Scot Hetzel Message-ID: <20090122192905.GA9472@saturn.kn-bremen.de> Mail-Followup-To: Scot Hetzel , freebsd-emulation@freebsd.org References: <790a9fff0901212156j5e069c90h80945ab79774c784@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <790a9fff0901212156j5e069c90h80945ab79774c784@mail.gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-emulation@freebsd.org Subject: Re: QEMU: obsolete functions in libmath X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jan 2009 19:31:34 -0000 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