Has anybody tried making a 64-bit PostgreSQL on an Apple XServe w/ Intel Woodcrest CPU's?My compile works, but the 'make check' fails because of failure to allocate shared memory.There's plenty of SYSV memory available.
The call to shmget() is failing with ENOMEM.A standalone SYSV shared memory test program gives the same result when compiled with -arch x86_64.
OK, I finally found someone (Terry Lambert at Apple) to answer my question. Here's the thread:
Excerpt: "It's trying to allocate the memory in the lower 4G of the process virtual address space, and unless you turn off the 4G page 0 mapping (or munamp() it after you're running but before you attempt to allocate shared memory), it's not going to see any free address space available."