ldexpf in 6.x amd64
Sean McNeil
sean at mcneil.com
Fri Dec 8 09:30:23 PST 2006
----- Original Message -----
From: "Steve Kargl" <sgk at troutmask.apl.washington.edu>
To: <kael at sonic.net>
Cc: <freebsd-amd64 at 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.
More information about the freebsd-amd64
mailing list