develooper Front page | perl.perl5.porters | Postings from February 2006

[PATCH] Suppress System V IPC for 64-bit Darwin builds

Thread Next
From:
Dominic Dunlop
Date:
February 24, 2006 08:23
Subject:
[PATCH] Suppress System V IPC for 64-bit Darwin builds
Message ID:
A685C5DB-23CE-430E-95F1-CC7A9480DDF9@mac.com
The attached patch against blead suppresses System V IPC (message  
passing, semaphores, shared memory) for 64bitall builds on Darwin 8.x/ 
Mac OS X 10.4.x. It also expands README.macosx to cover the building  
of 64-bit binaries and modules.

Perl was failing all the ext/IPC/SysV/t/* tests because msgctl(...,  
IPC_STAT, ...), semctl(..., ..., IPC_STAT, ...) and shmctl(...,  
IPC_STAT, ...) return garbage when called from a 64-bit binary.  
(Well, as has recently been pointed out, shared memory is not  
currently tested, but anyway ...) The bugs have been reported to  
Apple with IDs 4455691, 4452452 and 4457254 respectively. (The rest  
of System V IPC seems to work, but perl relies on IPC_STAT calls  
being functional too.)

Only one test failing now:

ext/threads/shared/t/wait..................................FAILED at  
test 49
-- 
Dominic Dunlop


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