Subject: | Problems compiling on 32bit linux with maximum 64bit perl |
I have quick access to perl 5.14.4 and perl 5.22.0. Both fail in the same way listed below. It is my theory that this is a result of compiling maximal 64bit int perl on a 32 bit system. I've checked CPAN testers and established you have nobody testing this profile for linux.
PERL_DL_NONLAZY=1 /usr/local/perl/514/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01-load.t .................. ok
t/02-can.t ................... ok
t/10-isprime.t ............... ok
t/11-primes.t ................ ok
t/12-nextprime.t ............. ok
t/13-primecount.t ............ ok
t/15-probprime.t ............. ok
t/16-provableprime.t ......... ok
t/17-pseudoprime.t ........... ok
t/19-moebius.t ............... ok
t/20-primorial.t ............. ok
t/21-conseq-lcm.t ............ ok
t/22-partitions.t ............ ok
t/23-gcd.t ................... 1/157
# Failed test 'gcdext(22,242) = [1 0 22]'
# at t/23-gcd.t line 219.
# Structures begin differing at:
# $got->[0] = '-120'
# $expected->[0] = '1'
# Failed test 'gcdext(42272720,12439910) = [-21984 74705 70]'
# at t/23-gcd.t line 219.
# Structures begin differing at:
# $got->[0] = '4065415'
# $expected->[0] = '-21984'
# Failed test 'gcdext(10139483024654235947,8030280778952246347) = [-2715309548282941287 3428502169395958570 1]'
# at t/23-gcd.t line 219.
# Structures begin differing at:
# $got->[0] = '5314971230669305060'
# $expected->[0] = '-2715309548282941287'
# Looks like you failed 3 tests of 157.
t/23-gcd.t ................... Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/157 subtests
t/24-bernfrac.t .............. ok
t/25-pi.t .................... ok
t/26-mersenne.t .............. ok
t/27-clusters.t .............. ok
t/50-factoring.t ............. ok
t/90-release-perlcritic.t .... skipped: these tests are for release candidate testing
t/91-release-pod-syntax.t .... skipped: these tests are for release candidate testing
t/92-release-pod-coverage.t .. skipped: these tests are for release candidate testing
t/93-release-spelling.t ...... skipped: these tests are for release candidate testing
Test Summary Report
-------------------
t/23-gcd.t (Wstat: 768 Tests: 157 Failed: 3)
Failed tests: 119, 121-122
Non-zero exit status: 3
Files=23, Tests=2646, 6 wallclock secs ( 0.36 usr 0.03 sys + 6.21 cusr 0.09 csys = 6.69 CPU)
Result: FAIL
Failed 1/23 test programs. 3/2646 subtests failed.
make: *** [test_dynamic] Error 255