From owner-freebsd-amd64@FreeBSD.ORG Fri Dec 8 17:25:43 2006 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 15E6016A6CF for ; Fri, 8 Dec 2006 17:25:43 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFCCB43CB6 for ; Fri, 8 Dec 2006 17:24:40 +0000 (GMT) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.13.8/8.13.8) with ESMTP id kB8HMupH059565 for ; Fri, 8 Dec 2006 09:22:56 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.13.8/8.13.8/Submit) id kB8HMQpD059562; Fri, 8 Dec 2006 09:22:26 -0800 (PST) (envelope-from sgk) Date: Fri, 8 Dec 2006 09:22:16 -0800 From: Steve Kargl To: kael@sonic.net Message-ID: <20061208172215.GA50992@troutmask.apl.washington.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: freebsd-amd64@freebsd.org Subject: Re: ldexpf in 6.x amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Dec 2006 17:25:43 -0000 On Fri, Dec 08, 2006 at 08:28:18AM -0800, Kael Fischer wrote: > I have 14 intel blades running 6.0-R. ldexpf is missing on these > systems (ldexp, and ldexpd are in libm.so). I know this has come up > before on various lists, but I am looking for a little clarification. > > 1) here is a patch that Steve Kargl proposed on freebsd-current last > year. Is this going to do the trick?: > > --- /usr/src/lib/msun/src/e_scalbf.c.orig Mon Dec 5 13:29:47 2005 > +++ /usr/src/lib/msun/src/e_scalbf.c Mon Dec 5 13:28:53 2005 > @@ -42,3 +42,5 @@ > return scalbnf(x,(int)fn); > #endif > } > + > +__weak_reference(scalbf, ldexpf); > I believe you want revision 1.8 of s_scalbnf.c. If I read http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/msun/src/s_scalbnf.c correctly, 6.0 should already contain ldexpf. > 2) is 'cd /usr/src/lib/msun; make' sufficient to rebuild libm.so ? yes. -- Steve