Joshua Gatcomb <[EMAIL PROTECTED]> wrote:
> --- Leopold Toetsch <[EMAIL PROTECTED]> wrote:

>> Seems that you got sizeof(UINTVAL) == 8 ???

> (gdb) p sizeof(PMC)
> $1 = 32
> (gdb) p sizeof(Dead_PObj)
> $2 = 40
> (gdb) p sizeof(void *)
> $3 = 4
> (gdb) p sizeof(UINTVAL)
> $4 = 8

Aargh yes. So here we go:

$ make realclean
$ perl Configure.pl --intval=long --opcode=long

Then please verify that INTVAL_SIZE in include/parrot/config.h is 4.
If INTVAL_SIZE is still 8, then use "int" instead of "long".

Is your perl compiled with "long long" IVs?
$ perl -V
...
   ivtype=long, ivsize=4

Anyway, the config system *should not* use perl5's types. Patches
welcome. The same problem is, if perl5 is compiled with "long double"s.

leo

Reply via email to