develooper Front page | perl.perl5.porters | Postings from May 2013

Re: [perl #118055] miniperl fails with SIGBUS on sparc(usethreads+use64bitint)

Thread Previous | Thread Next
From:
Nicholas Clark
Date:
May 28, 2013 08:10
Subject:
Re: [perl #118055] miniperl fails with SIGBUS on sparc(usethreads+use64bitint)
Message ID:
20130528081026.GH3729@plum.flirble.org
On Mon, May 27, 2013 at 05:13:13PM -0500, Craig A. Berry wrote:
> On Mon, May 27, 2013 at 9:08 AM, Nicholas Clark <nick@ccl4.org> wrote:

> Sorry, I was responding to that one line of code and not the context of the
> thread as a whole.  32-bit pointers in a struct will get aligned on 32-bit
> boundaries unless some other alignment is requested.  32-bit alignment for
> a 32-bit item is considered natural alignment and so does not incur an
> alignment fault to access it.
> 
> Just out of paranoia I did a build and run of the test suite for the
> following two commits with -Dusethreads -D64bitint:
> 
> blead 2013-05-27.15:45:01 24ee35539e5d73b5154f5b656396a34acc420d51
> v5.19.0-268-g24ee355
> 
> smoke-me/nicholas/rt-118055-1 2013-05-26.06:50:17
> f61a27cade956988ec6c5ff53b8aff3492ca5839 v5.19.0-238-gf61a27c
> 
> and the build and test times on an otherwise-idle Itanium system were
> identical.

That's useful, but what I'd hope for, given that the initial version of the
alignment fix was already committed to blead as 24ee35539e5d73b5~92

So it works on VMS Itanium. Which is good. But I'm sort of curious, is it
slower at 24ee35539e5d73b5~93 (or earlier - eg v5.18.0)

Actually, "state of tests for v5.18.0 on VMS" would be useful to know.

Nicholas Clark

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About