Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Dec 2006 09:30:04 -0800
From:      "Sean McNeil" <sean@mcneil.com>
To:        "Steve Kargl" <sgk@troutmask.apl.washington.edu>, <kael@sonic.net>
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: ldexpf in 6.x amd64
Message-ID:  <000a01c71aee$7f915cc0$3be90b93@mini>
References:  <cd02cc220612080828h759db2dcj95c0a6d39a8abb22@mail.gmail.com> <20061208172215.GA50992@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

----- Original Message ----- 
From: "Steve Kargl" <sgk@troutmask.apl.washington.edu>
To: <kael@sonic.net>
Cc: <freebsd-amd64@freebsd.org>
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000a01c71aee$7f915cc0$3be90b93>