Moving flex and yacc to contrib/, all hell breaks loose?
Steve Kargl
sgk at troutmask.apl.washington.edu
Tue Nov 9 15:48:16 UTC 2010
On Tue, Nov 09, 2010 at 01:23:38PM +0000, Alexander Best wrote:
> On Mon Nov 8 10, Dag-Erling Sm?rgrav wrote:
> > Ulrich Sp?rlein <uqs at spoerlein.net> writes:
> > > To my knowledge, the only "vendor" software in our tree, not yet living
> > > under cddl/, contrib/, crypto/ or gnu/ are
> > >
> > > lib/libc/softfloat
> > > lib/libz
> > > lib/msun
> > > usr.bin/lex
> > > usr.bin/unifdef
> > > usr.bin/yacc
> >
> > I have no opinion on the others, but AFAIK, msun is a mix of unmodified
> > third-party code, locally modified third-party code and locally
> > developed code (which is how my name ended up in the Android credits),
> > and I'm not sure there still is a third-party maintainer for our version
> > of msun.
>
> i talked to david hough who is working for oracle. he said that oracle has no
> business interest in libmsun at all! the mailinglist fdlibm-comments at sun.com
> will be shut down and every issues etc. with libmsun shall now be discussed
> here:
>
> http://mailman.oakapple.net/mailman/listinfo/numeric-interest
>
> this message contains a brief statement by oracle [1].
>
> so it seems lib/msun can be moved to the list of third party software with
> ceased upstream development.
>
> cheers.
> alex
Interesting mailing! I particularly like
http://mailman.oakapple.net/pipermail/numeric-interest/2010-September/002057.html
which loops back to
http://www.freebsd.org/cgi/query-pr.cgi?pr=144306
which is still open some 9 months later. Here's an
updated diff that also fixes jnf(). Watch for
cut-n-paste corruption of whitespace.
--
steve
troutmask:root[217] svn diff src/e_jn*c
Index: src/e_jn.c
===================================================================
--- src/e_jn.c (revision 213691)
+++ src/e_jn.c (working copy)
@@ -200,7 +200,12 @@
}
}
}
- b = (t*__ieee754_j0(x)/b);
+ z = __ieee754_j0(x);
+ w = __ieee754_j1(x);
+ if (fabs(z) >= fabs(w))
+ b = (t*z/b);
+ else
+ b = (t*w/a);
}
}
if(sgn==1) return -b; else return b;
Index: src/e_jnf.c
===================================================================
--- src/e_jnf.c (revision 213691)
+++ src/e_jnf.c (working copy)
@@ -152,7 +152,12 @@
}
}
}
- b = (t*__ieee754_j0f(x)/b);
+ z = __ieee754_j0f(x);
+ w = __ieee754_j1f(x);
+ if (fabs(z) >= fabs(w))
+ b = (t*z/b);
+ else
+ b = (t*w/a);
}
}
if(sgn==1) return -b; else return b;
--
Steve
More information about the freebsd-arch
mailing list