Subject: | Loading failure in 64bits system |
[guillomovitch@klodia FreezeThaw-0.44]$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl5.10.0 "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/FreezeThaw....Panic at
/home/guillomovitch/cooker/perl-FreezeThaw/BUILD/FreezeThaw-0.44/blib/lib/FreezeThaw.pm
line 329.
BEGIN failed--compilation aborted at
/home/guillomovitch/cooker/perl-FreezeThaw/BUILD/FreezeThaw-0.44/blib/lib/FreezeThaw.pm
line 333.
Compilation failed in require at t/FreezeThaw.t line 4.
BEGIN failed--compilation aborted at t/FreezeThaw.t line 4.
t/FreezeThaw....dubious
Test returned status 255 (wstat 65280, 0xff00)
t/overload......Panic at
/home/guillomovitch/cooker/perl-FreezeThaw/BUILD/FreezeThaw-0.44/blib/lib/FreezeThaw.pm
line 329.
BEGIN failed--compilation aborted at
/home/guillomovitch/cooker/perl-FreezeThaw/BUILD/FreezeThaw-0.44/blib/lib/FreezeThaw.pm
line 333.
Compilation failed in require at t/overload.t line 4.
BEGIN failed--compilation aborted at t/overload.t line 4.
t/overload......dubious
Test returned status 255 (wstat 65280, 0xff00)
FAILED--2 test scripts could be run, alas--no output ever seen
make: *** [test_dynamic] Erreur 255
This happens because the test on line 329 just expect digits in output,
but the value on 64bits hosts use scientific format:
[guillomovitch@klodia FreezeThaw-0.44]$ perl -e 'my $pointer_size =
length pack 'p', 0; my $max_dig0 = 3*$pointer_size; printf
"%.${max_dig0}g", 0x100**$pointer_size;
1.8446744073709552e+19