Re: build error: Undefined reference to 'objc_sync_enter'

2010-08-25 Thread Gregory Casamento
The issue is the weak linking directive in sync.m. Windows doesn't support weak linking, so it ignores these functions. GC On Tue, Aug 24, 2010 at 7:10 PM, Doug Simons doug.sim...@testplant.com wrote: The recent changes in base have caused us to get link errors on objc_sync_enter and

Re: build error: Undefined reference to 'objc_sync_enter'

2010-08-25 Thread David Chisnall
On 25 Aug 2010, at 16:24, Gregory Casamento wrote: The issue is the weak linking directive in sync.m. Windows doesn't support weak linking, so it ignores these functions. The weak linkage shouldn't be needed anymore. It comes from back when sync.m was in Foundation. Now it should be in

Re: build error: Undefined reference to 'objc_sync_enter'

2010-08-25 Thread Doug Simons
Thanks. Removing the weak reference fixes our problem. We're checking in that change to sync.m. Doug On Aug 25, 2010, at 9:47 AM, David Chisnall wrote: On 25 Aug 2010, at 16:24, Gregory Casamento wrote: The issue is the weak linking directive in sync.m. Windows doesn't support weak

build error: Undefined reference to 'objc_sync_enter'

2010-08-24 Thread Doug Simons
The recent changes in base have caused us to get link errors on objc_sync_enter and objc_sync_exit (on Windows). I don't understand what the problem is, since both functions are present in sync.m, which is being built (and is now the implementation of sync that we need). But currently the only