From owner-freebsd-amd64@FreeBSD.ORG Fri Dec 8 17:30:23 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 5264916A412 for ; Fri, 8 Dec 2006 17:30:23 +0000 (UTC) (envelope-from sean@mcneil.com) Received: from mail.mcneil.com (mcneil.com [24.199.45.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 261DE43CC5 for ; Fri, 8 Dec 2006 17:29:23 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from localhost (localhost.mcneil.com [127.0.0.1]) by mail.mcneil.com (Postfix) with ESMTP id A35BFF23D8; Fri, 8 Dec 2006 09:30:21 -0800 (PST) X-Virus-Scanned: amavisd-new at mcneil.com Received: from mail.mcneil.com ([127.0.0.1]) by localhost (mcneil.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cn7gxH8hB0rH; Fri, 8 Dec 2006 09:30:10 -0800 (PST) Received: from mini (mini.mcneil.com [10.1.0.60]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.mcneil.com (Postfix) with ESMTP id CF908F2107; Fri, 8 Dec 2006 09:30:10 -0800 (PST) Message-ID: <000a01c71aee$7f915cc0$3be90b93@mini> From: "Sean McNeil" To: "Steve Kargl" , References: <20061208172215.GA50992@troutmask.apl.washington.edu> Date: Fri, 8 Dec 2006 09:30:04 -0800 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 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:30:23 -0000 ----- Original Message ----- From: "Steve Kargl" To: Cc: Sent: Friday, December 08, 2006 9:22 AM Subject: Re: ldexpf in 6.x amd64 > 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. I thought "make install" was required.