[perl #17000] [PATCH] Re: IRIX64 alignment problem

2002-09-04 Thread via RT
# New Ticket Created by Andy Dougherty # Please include the string: [perl #17000] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt2/Ticket/Display.html?id=17000 > On Sat, 31 Aug 2002, Steven W McDougall wrote: > parrot t/pmc/perlhash_1.pbc >

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

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_1<7) align_1 = 7; /* <<< HACK */ > size = (size

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/parrot>uname -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 err