Re: IRIX64 alignment problem

2002-09-01 Thread Peter Gibbs
Steven W McDougall wrote: The align_1 parameter to mem_allocate() does not--as you might think--control the alignment of the allocated block. Rather, it controls the *size* of the allocated block, rounding it up to the next multiple of the power of 2 indicated by align_1. This means that the

IRIX64 alignment problem

2002-08-31 Thread Steven W McDougall
I checked out Parrot from CVS on 2002Aug30 to an IRIX64 system. shell01:/usr/tmp/swmcd/parrotuname -a IRIX64 shell01 6.5 07201611 IP27 make compiled OK. make test failed all the t/pmc/perlhash.t tests. Running parrot t/pmc/perlhash_1.pbc produced a bus error. I chased the

Re: IRIX64 alignment problem

2002-08-31 Thread Bryan C. Warnock
On Sat, 2002-08-31 at 18:45, Steven W McDougall wrote: Good write-up. I tested this theory by hacking mem_allocate() to enforce a minimum round-up to an 8-type boundary. /* Round up to requested alignment */ if (align_17) align_1 = 7; /* HACK */ size = (size +