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

Re: upcoming release of 5.18.1

Thread Previous | Thread Next
Nicholas Clark
July 24, 2013 16:09
Re: upcoming release of 5.18.1
Message ID:
On Wed, Jul 24, 2013 at 11:56:46AM -0400, bulk 88 wrote:
> ----------------------------------------
> > From:
> > Date: Wed, 24 Jul 2013 11:50:22 -0400
> > Subject: Re: upcoming release of 5.18.1
> > CC:

> > * The OP allocation code now returns correctly aligned memory in all
> > cases for "struct pmop". Previously it could return memory only
> > aligned to a 4-byte boundary, which is not correct for an ithreads
> > build with 64 bit IVs on some 32 bit platforms. Notably, this caused
> > the build to fail completely on sparc GNU/Linux. [RT #118055]
> >
> That would break ABI/XS between maint releases. 		 	   		  
Why so?

We've not changed any public headers, and we're *tightening* the alignment
constraint. Allocations are now 8 byte aligned (as they should have been all
along for that structure for those platforms), so anything only assuming the
previous 4 byte alignment will be fine.

Also, it's been tested and fixes the crash on the affected platforms, and
hasn't broken any others.

Hence I believe that it's suitable compatible to go in - XS extensions
compiled against v5.18.0 will still work when loaded by v5.18.1

Nicholas Clark

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About