ldexpf in 6.x amd64

Kael Fischer kael.fischer at gmail.com
Fri Dec 8 08:34:35 PST 2006

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);

2) is 'cd /usr/src/lib/msun; make' sufficient to rebuild libm.so ?


More information about the freebsd-amd64 mailing list