Skip Menu |

This queue is for tickets about the JSON-XS CPAN distribution.

Report information
The Basics
Id: 101265
Status: rejected
Priority: 0/
Queue: JSON-XS

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 3.01
Fixed in: (no value)



Subject: Floating point related test failures (FreeBSD 10, -Duselongdouble)
If perl is compiled with -Duselongdouble on a FreeBSD 10 system, then the JSON:XS test suite fails. See http://www.cpantesters.org/cpan/report/aa080e36-e55c-11e3-b6a8-233d9c4a2433 for a sample report. The problem does not seem to happen on Linux systems with uselongdouble-enabled perls.
On Sat Jan 03 06:03:46 2015, SREZIC wrote: Show quoted text
> If perl is compiled with -Duselongdouble on a FreeBSD 10 system, then > the JSON:XS test suite fails. See > http://www.cpantesters.org/cpan/report/aa080e36-e55c-11e3-b6a8- > 233d9c4a2433 for a sample report. The problem does not seem to happen > on Linux systems with uselongdouble-enabled perls.
FreeBSD 10 clang uses an awful powl(), rather use strtold instead. See https://github.com/rurban/Cpanel-JSON-XS/commit/ad1efccb5dd10dc67ce198d1b8d9cc58290f5371 for the patch Cpanel-JSON-XS-3.0114 has this fixed. -- Reini Urban