git: Restore buildworld from clang (adjust libm)
John Marino
marino at crater.dragonflybsd.org
Sat Nov 14 12:05:30 PST 2015
commit 6b6b4dd0d75b9cd8fd4deebd4046aae2f1fafb10
Author: John Marino <draco at marino.st>
Date: Sat Nov 14 18:12:05 2015 +0100
Restore buildworld from clang (adjust libm)
Functions like "isinff" come from GCC only, causes a missed reference when
the world is built with clang. To solve, bring back FreeBSD versions of
round(|f|l). An additional benefit is that these functions appear to be
improved over the OpenBSD versions (avoids unnecessary conversions). The
FreeBSD roundl uses ENTERI/RETURNI macros so I left these off meaning DF
will still not able to raise exceptions on roundl.
Since isinff and friends are no longer used, clang can continue further with
building the world.
Summary of changes:
contrib/openbsd_libm/src/s_round.c | 12 +++++++-----
contrib/openbsd_libm/src/s_roundf.c | 16 +++++++++-------
contrib/openbsd_libm/src/s_roundl.c | 18 +++++++++++-------
3 files changed, 27 insertions(+), 19 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6b6b4dd0d75b9cd8fd4deebd4046aae2f1fafb10
--
DragonFly BSD source repository
More information about the Commits
mailing list