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.) 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'll keep you updated. ----- 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 - 12:09:18 > On Mon, Jul 18, 2005 at 07:04:03AM -0700, novotny. petr @ > volny. cz wrote: > > > Output from 5.6.1 (32-bit): > > Created new semaphore > > 1 > > > > Output from 5.8.6 (64-bit): > > Created new semaphore > > 0 > > > > (Of course, I called ipcrm between the two tests to delete > > the > > semaphore. I'm saying this just in case :-)) > > That's useful, as it's the sort of thing that people forget. > (Well, I would) > > Are you able to build 5.8.5 32-bit on your machine? This would > make it clear > whether it's a 5.6 -> 5.8 issue, or a 32 bit / 64 bit issue. > > My hunch is that it's something to do with big endian 64 bit > builds (and > pack templates or maybe structure alignment) but it would be > good to test > this. > > Nicholas Clark > > >