develooper Front page | perl.perl5.porters | Postings from November 2016

Re: hv.h hek definition

Thread Previous | Thread Next
Tony Cook
November 3, 2016 00:23
Re: hv.h hek definition
Message ID:
On Mon, Oct 24, 2016 at 05:45:22PM +0200, demerphq wrote:
> Well I have pushed the patch. I dont think it should matter, and if we
> find it does then we can tweak it further, or revert if necessary.

Unfortunately this broke the build on HP-UX.

SV keys are stored as pointers in hek_key:

#define HeKEY_sv(he)		(*(SV**)HeKEY(he))

#define HeKEY(he)		HEK_KEY(HeKEY_hek(he))

#define HEK_KEY(hek)		(hek)->hek_key

So setting/fetching a SV key produced a bus error early in the build
(when running configpm) since PA-RISC requires aligned access.

Reverting d3148f758506efd28325dfd8e1b698385133f0cd fixed the problem,
which I've pushed to blead for now.


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