On Nov-08, Leopold Toetsch wrote:
> Andy Dougherty (via RT) wrote:
> 
> ># New Ticket Created by  Andy Dougherty 
> ># Please include the string:  [perl #18189]
> ># in the subject line of all future correspondence about this issue. 
> ># <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=18189 >
> >
> >
> >Not OK: This is a failure report for parrot.
> >
> >When built with 'long long' INTVAL and opcode_t, I get the following
> >failures on i386/linux.  I'm pretty sure these tests also fail on SPARC
> >(along with other failures) so for once I don't think it's an endian
> >thing.
> 
> 
> I wanted to check this problem, but dumb question: how do I configure 
> parrot to get this configuration?
> (i386/linux perl 5.005.03 and 5.6.1)
> 
> I tried to set intval "long long" and opcodesize "long long" and got:
> Configure.pl:  Unable to find a functional packtype for intvalsize.
>                'q' failed: Invalid type in pack: ...

You need a perl5 compiled with 64-bit ints. Excerpt from the pack()
docs:

         q   A signed quad (64-bit) value.
         Q   An unsigned quad value.
               (Quads are available only if your system supports 64-bit
               integer values _and_ if Perl has been compiled to support those.
               Causes a fatal error otherwise.)

I had to recompile a perl just for this purpose. It looks difficult to
remove this restriction.

Reply via email to