[110689] trunk/base/src/darwintracelib1.0/darwintrace.c

Jeremy Huddleston Sequoia jeremyhu at apple.com
Tue Sep 3 17:34:41 PDT 2013



Sent from my iPhone...

> On Sep 3, 2013, at 17:06, Joshua Root <jmr at macports.org> wrote:
> 
>> On 2013-9-4 09:51 , Joshua Root wrote:
>> What is the actual problem with gcc-4.0?
> 
> To answer my own question, no support for __sync_bool_compare_and_swap.
> Could it use OSCompareAndSwap instead?

Yes, but that is darwin specific.  We should use OSAtomics do in an __APPLE__ path and __sync_bool_compare_and_swap elsewhere.

Ill work on that later.


> 
> _______________________________________________
> macports-dev mailing list
> macports-dev at lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-dev


More information about the macports-dev mailing list