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

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

Thread Previous | Thread Next
From:
Dominic Hargreaves
Date:
June 23, 2013 11:29
Subject:
Re: [perl #118055] miniperl fails with SIGBUS on sparc(usethreads+use64bitint)
Message ID:
20130623112905.GG31935@urchin.earth.li
On Sat, Jun 15, 2013 at 04:35:33PM +0300, Niko Tyni wrote:
> On Sat, Jun 15, 2013 at 02:14:37PM +0100, Dave Mitchell wrote:
> > On Mon, May 27, 2013 at 03:20:40PM +0100, Nicholas Clark wrote:
> > > I pushed this tweak as smoke-me/nicholas/rt-118055-1
> > > 
> > > commit f61a27cade956988ec6c5ff53b8aff3492ca5839
> > > Author: Nicholas Clark <nick@ccl4.org>
> > > Date:   Sun May 26 08:50:17 2013 +0200
> > > 
> > >     Improved struct pmop alignment fix - avoid the slow path on 64 bit systems.
> > >     
> > >     Commit c2a50ddb1bed6576 works round an alignment bug in the slab allocator
> > >     for 32 bit systems built with 64 bit IVs. However, the C pre-processor logic
> > >     meant that the test path was enabled on true 64 bit systems. It's not needed
> > >     there, so improve the logic so that it isn't compiled for platforms where
> > >     pointers are 64 bit.
> > 
> > I've just cherry-picked c2a50ddb1bed6576 into maint-5.18 as
> > 45d94421d77056cb11b2961462ab1ca53d4bdb65.
> 
> Thanks to both of you!
> 
> > However, I'm not sure of the status of the smoke-me/nicholas/rt-118055-1
> > branch, either for blead or maint.
> 
> FWIW we applied them both for Debian "experimental" 5.18.0 packages,
> and most architectures auto-built OK (with -Duse64bitint -Dusethreads).
> Still missing a few builds, including sparc, which is why I've been
> holding off announcing "works for us."
> 
> I'm pretty sure I tested f61a27cade95698 manually on sparc and it was
> fine there.
> 
>  http://buildd.debian.org/status/package.php?p=perl&suite=experimental
>  http://buildd.debian-ports.org/status/package.php?p=perl&suite=experimental
> 
> (the latter is for architectures that are not yet or no longer part of
>  Debian actual.)

The build results for sparc are now in and it the build is succeeding
(with all tests) with both patches from this ticket applied:

https://buildd.debian.org/status/fetch.php?pkg=perl&arch=sparc&ver=5.18.0-3&stamp=1371738826

Dominic

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