From owner-svn-ports-head@freebsd.org Tue Jan 31 20:02:43 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BF624CCA8F8; Tue, 31 Jan 2017 20:02:43 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8035B136B; Tue, 31 Jan 2017 20:02:43 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v0VK2gQu050794; Tue, 31 Jan 2017 20:02:42 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v0VK2grQ050792; Tue, 31 Jan 2017 20:02:42 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201701312002.v0VK2grQ050792@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Tue, 31 Jan 2017 20:02:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r432948 - head/math/opensolaris-libm X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jan 2017 20:02:43 -0000 Author: marino Date: Tue Jan 31 20:02:42 2017 New Revision: 432948 URL: https://svnweb.freebsd.org/changeset/ports/432948 Log: math/opensolaris-libm: Second *BSD release Interestingly, this update comes 11 years to the days after the original source was released. This resolves the OpenLibm testsuite failures for the double variant of Bessel functions (seen always on Clang and on GCC when fno-builtin switch set) and the gamma/lgamma failures for 0.5 and 3.0 arguments. The associated implementions were replaced with the 1993 SunPro versions found in all BSD-based math libraries. The failures were of the off-by-1-bit type explained by floating point rounding. Now all float and double tests found in OpenLibm's testsuite pass. Modified: head/math/opensolaris-libm/Makefile head/math/opensolaris-libm/distinfo Modified: head/math/opensolaris-libm/Makefile ============================================================================== --- head/math/opensolaris-libm/Makefile Tue Jan 31 19:54:46 2017 (r432947) +++ head/math/opensolaris-libm/Makefile Tue Jan 31 20:02:42 2017 (r432948) @@ -17,22 +17,14 @@ PORTSCOUT= ignore:1 USE_GITHUB= yes GH_ACCOUNT= jrmarino -GH_TAGNAME= 2017.01.24 +GH_TAGNAME= 2017.01.31 BUILD_WRKSRC= ${WRKSRC}/usr/src/libm/wos64 INSTALL_WRKSRC= ${WRKSRC}/usr/src/libm/wos64 MAKEFILE= Makefile.bsd MAKE_ENV= ARCH=${ARCH} USE_ASSEMBLY_VERSIONS=yes -# On FreeBSD 11+, libm will build on base clang. Using OpenLibm testsuite, -# all float tests pass on both clang and gcc. On the "double" tests, all -# tests pass when built by gcc save 4 gamma tests off by 1e-16, also seen -# on Illumos. However, on Clang and gcc with -fno-builtin set, 27 other -# tests fail with results off by values ranging from e-17 to e-14. All of -# these extremely slightly inaccurate results seem to be caused by the j0 -# Bessel function implementation. Fix that and likely all 27 tests -# involving j0, j1, jn, y0, y1, yn pass. - +# On FreeBSD 11+, libm will build on base clang. # On FreeBSD 10, the base clang (v3.4) cannot even build libm without emitting # Internal Compiler Errors, so GCC is required and does not appear as an # option. Similarly, the GCC option does not appear on DragonFly as the Modified: head/math/opensolaris-libm/distinfo ============================================================================== --- head/math/opensolaris-libm/distinfo Tue Jan 31 19:54:46 2017 (r432947) +++ head/math/opensolaris-libm/distinfo Tue Jan 31 20:02:42 2017 (r432948) @@ -1,3 +1,3 @@ -TIMESTAMP = 1485190474 -SHA256 (jrmarino-opensolaris-libm-v2006.01.31-2017.01.24_GH0.tar.gz) = c063cbc7db749b7c87455964dfa6ead7808108f9c991cede192f2ee108fced80 -SIZE (jrmarino-opensolaris-libm-v2006.01.31-2017.01.24_GH0.tar.gz) = 985294 +TIMESTAMP = 1485870843 +SHA256 (jrmarino-opensolaris-libm-v2006.01.31-2017.01.31_GH0.tar.gz) = 42ef6a57674237dd9822c76bf799ff51d58a69a9c726bd6801be37f916a6afa1 +SIZE (jrmarino-opensolaris-libm-v2006.01.31-2017.01.31_GH0.tar.gz) = 985592