Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Dec 2006 09:22:16 -0800
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        kael@sonic.net
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: ldexpf in 6.x amd64
Message-ID:  <20061208172215.GA50992@troutmask.apl.washington.edu>
In-Reply-To: <cd02cc220612080828h759db2dcj95c0a6d39a8abb22@mail.gmail.com>
References:  <cd02cc220612080828h759db2dcj95c0a6d39a8abb22@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061208172215.GA50992>