GNU bug report logs -
#47698
[powerpc64le-linux] "check" package fails to build
Previous Next
Full log
Message #17 received at 47698 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Chris Marusich <cmmarusich <at> gmail.com> writes:
> [...] I've reported this issue upstream:
> https://github.com/libcheck/check/issues/333
Branden Archer replied in the above issue. In short, the unreleased
upstream commit 4fbe702fa4f35bee8a90512f9f59d1441c4ae82e fixes this
issue on PPC platforms. Here's what the commit does:
https://github.com/libcheck/check/commit/4fbe702fa4f35bee8a90512f9f59d1441c4ae82e.patch
Adjust test suite for 106-bit long double precision
On PowerPC architectures (ppc, ppc64el, powerp) 'long double' has a
precision of 106-bit, compared to 80-bit precision on amd64.
This leads to the test_ck_assert_(float|double|ldouble)_eq_tol succeed
rather than fail as expected, cause 0.003-0.002 will be actually
slightly bigger than 0.001 and not slightly smaller.
Increase the change to the tolerance, so it will be on all architectures
smaller than the difference of ~0.001 and the unit tests will fail as
expected.
This commit was merged to the check repository's master branch after its
latest release (0.15.2). It will be included in the next check release,
but until then, we will have to apply the fix as a patch to our check
package. I've attached a patch that does this.
--
Chris
[0001-gnu-check-Fix-failing-tests-on-powerpc64le-linux.patch (text/x-patch, attachment)]
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 3 years and 334 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.