Anything wrong with x86_64 and SYSV shared memory allocation?
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com User-agent: Thunderbird 1.5.0.10 (Windows/20070221) I've previously posted to darwin-dev and darwin-x86 lists with no response. Anything I need to know? I double-checked the result with a SYSV shared memory demo program (google for shared-mem.c). Thanks, Kevin Murphy _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... Whenever I try to use shmem to allocate SYSV shared memory on an XServe Quad Xeon (OS X 10.4.9, latest XCode) using the "-arch x86_64" compiler switch, I get ENOMEM returned. There's plenty of SYSV memory allocated via sysctl.conf, and the same code works fine with "-arch i386" (or "-arch ppc64" on a G5). This box has 16GB RAM, although that is presumably irrelevant. What I'm actually trying to do is compile 64-bit PostgreSQL, which compiles fine using "-arch x86_64" in CFLAGS, but it fails its regression tests because it can't allocate memory with shmget (ENOMEM is returned). The 32-bit PostgreSQL compiles and works fine. This email sent to site_archiver@lists.apple.com
participants (1)
-
Kevin Murphy