[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: perl problems



On Fri, 9 May 2008, Stephen R Marenka wrote:

So we haven't managed to build any version of perl >= 5.10.

[ ... some errors deleted ... ]

t/op/int.t
| not ok 8 # int(4294967303.15) is -2147483648, not 4294967303
| not ok 9 # int(4294967303.15) is -2147483648, not -4294967303
| not ok 11 # int(4294967295.7) is -2147483648, not 4294967295
| not ok 12 # int(4294967296.11312) is -2147483648, not 4294967296
| not ok 13 # int(279964589018079/59) is -2147483648, not 4745162525730
| not ok 14 # int(279964589018079/59) is -2147483648, not 4745162525730

This looks like a type mismatch.

-2147483648 is the definition of INT_MIN
-4294967303 is very close to the definition of UINT_MAX/ULONG_MAX (4294967295)

And the last two (13 and 14) are three orders of magnitude off.  Makes
me think that the 4745162525730 is some 64bit value.

I haven't played with perl 5.10 source, but might try to look around
to see something obvious.

The last is what finally kills the buildds.

Can anyone help out with this?

Thanks,

Stephen

--
Stephen R. Marenka     If life's not fun, you're not doing it right!
<stephen@marenka.net>


       //  Jerry Heyman      | "Software is the difference between
      //   Amiga Forever :-) |  hardware and reality"
  \\ //    heymanj@acm.org   |
   \X/     http://www.hobbeshollow.com


Reply to: