It's a problem on big-Endian when sizeof(int)!=sizeof(short*). HP-UX has 32-bit integer and 64-bit pointers, therefore the failure.
----- PŮVODNÍ ZPRÁVA ----- Od: "Nicholas Clark via RT" <[EMAIL PROTECTED]> Komu: [EMAIL PROTECTED] Předmět: Re: [perl #36588] Problem with semctl() on Perl 5.8.6, Datum: 19.7.2005 - 23:09:30 > On Tue, Jul 19, 2005 at 04:55:25PM +0200, [EMAIL PROTECTED] > wrote: > > Hi, > > > > your guess matches my guess. > > > > Generally speaking, I can compile small snippets of C code > > without > > problem, but I'm going to run into resource limits if I try > > to > > build something as big as Perl. (If you know of a 32-bit > > 5.8.x Perl > > build in an HP-UX depot, I will ask our admin to install it, > > though.) > > I can only find gcc built perls for HP-UX > > > What I thought I'd try is to take a look at the Perl code > > handling > > the sem*() calls. Haven't do that yet... > > I can't replicate the problem with 5.8.6 built with 64 bit ints > on OS X > (So it's not a general big endian problem) > > Nicholas Clark > > >