cvs commit: src/usr.sbin/route6d route6d.c

Dag-ErlingSmørgrav des at des.no
Mon Aug 18 01:53:06 PDT 2003


Kris Kennaway <kris at obsecurity.org> writes:
> On Mon, Aug 18, 2003 at 10:23:27AM +0200, Dag-Erling Sm?rgrav wrote:
> > I have patches which allow world to build successfully with
> > -fno-builtin...
> What did you do about the libstdc++ breakage (some symbols are
> undefined by our tree and only provided by gcc's builtins), or did
> someone else fix that?

I implemented fabsl(3), which is what libstdc++ complained about.  We
could also get by simply by adding

#ifdef __GNUC__
#define fabsl(x) __builtin_fabsl(x)
#endif

to src/lib/msun/src/math.h.

I tried to raise interest on the -standards list a few months ago for
implementing the "long double" versions of the standard math routines,
as mandated by C99 and SUSv3, but nobody took my bait.  I also managed
to trash the partial implementation I did have, so all I have right
now is fabsl(3).

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the cvs-src mailing list