ldexpf in 6.x amd64
sgk at troutmask.apl.washington.edu
Fri Dec 8 09:25:43 PST 2006
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);
> +__weak_reference(scalbf, ldexpf);
I believe you want revision 1.8 of s_scalbnf.c.
If I read
correctly, 6.0 should already contain ldexpf.
> 2) is 'cd /usr/src/lib/msun; make' sufficient to rebuild libm.so ?
More information about the freebsd-amd64