site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com User-agent: Thunderbird 1.5.0.10 (Windows/20070221) Anything I need to know? Thanks, Kevin Murphy _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... 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. The same code works fine with "-arch i386" (or "-arch ppc64" on a G5). You can demonstrate the result with a SYSV shared memory demo program (google for shared-mem.c). What I'm actually trying to do is compile 64-bit PostgreSQL on an XServe Quad Xeon. It 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). There's plenty of SYSV memory available, and the 32-bit PostgreSQL compiles and works fine. This email sent to site_archiver@lists.apple.com