Anything wrong with x86_64 and SYSV shared memory allocation?
Anything wrong with x86_64 and SYSV shared memory allocation?
- Subject: Anything wrong with x86_64 and SYSV shared memory allocation?
- From: Kevin Murphy <email@hidden>
- Date: Fri, 20 Apr 2007 11:08:58 -0400
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).
Anything I need to know?
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.
Thanks,
Kevin Murphy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden