Re: [sqlite] 3.7.10 build failure on OS X 10.4: ld: Undefined symbols: _OSAtomicCompareAndSwapPtrBarrier

2012-01-21 Thread Ryan Schmidt
On Jan 21, 2012, at 06:21, Richard Hipp wrote: > On Sat, Jan 21, 2012 at 3:29 AM, Ryan Schmidt wrote: > >> Hello, I'm writing on behalf of the MacPorts package management system. >> Our users are having trouble compiling sqlite 3.7.10 on OS X 10.4, both on >> PowerPC and on Intel. 3.7.9

Re: [sqlite] 3.7.10 build failure on OS X 10.4: ld: Undefined symbols:_OSAtomicCompareAndSwapPtrBarrier

2012-01-21 Thread Larry Brasfield
Joe Mistachkin wrote: bool success; malloc_zone_t* newzone = malloc_create_zone(4096, 0); malloc_set_zone_name(newzone, "Sqlite_Heap"); do{ +#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5 success = OSAtomicCompareAndSwapPtrBarrier(NULL, newzone,

Re: [sqlite] 3.7.10 build failure on OS X 10.4: ld: Undefined symbols: _OSAtomicCompareAndSwapPtrBarrier

2012-01-21 Thread Richard Hipp
On Sat, Jan 21, 2012 at 3:29 AM, Ryan Schmidt wrote: > Hello, I'm writing on behalf of the MacPorts package management system. > Our users are having trouble compiling sqlite 3.7.10 on OS X 10.4, both on > PowerPC and on Intel. 3.7.9 compiled fine. The error is: > >

Re: [sqlite] 3.7.10 build failure on OS X 10.4: ld: Undefined symbols:_OSAtomicCompareAndSwapPtrBarrier

2012-01-21 Thread Joe Mistachkin
DISCLAIMER: I am *NOT* an expert on Mac OS X programming. That being said, I think the following patch might work (this is UNTESTED, as I have no readily available Apple hardware): Index: src/mem1.c == --- src/mem1.c +++ src/mem1.c

[sqlite] 3.7.10 build failure on OS X 10.4: ld: Undefined symbols: _OSAtomicCompareAndSwapPtrBarrier

2012-01-21 Thread Larry Brasfield
Ryan Schmidt sqlite-2012a at ryandesign.com wrote: Hello, I'm writing on behalf of the MacPorts package management system. Our users are having trouble compiling sqlite 3.7.10 on OS X 10.4, both on PowerPC and on Intel. 3.7.9 compiled fine. The error is: ld: Undefined symbols:

[sqlite] 3.7.10 build failure on OS X 10.4: ld: Undefined symbols: _OSAtomicCompareAndSwapPtrBarrier

2012-01-21 Thread Ryan Schmidt
Hello, I'm writing on behalf of the MacPorts package management system. Our users are having trouble compiling sqlite 3.7.10 on OS X 10.4, both on PowerPC and on Intel. 3.7.9 compiled fine. The error is: ld: Undefined symbols: _OSAtomicCompareAndSwapPtrBarrier The complete log is attached to