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

Jeremy Huddleston Sequoia jeremyhu at macports.org
Tue Sep 3 19:08:48 PDT 2013


On Sep 3, 2013, at 17:40, Joshua Root <jmr at macports.org> wrote:

> On 2013-9-4 10:34 , Jeremy Huddleston Sequoia wrote:
>> 
>> 
>> 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.
> 
> Does darwintrace actually work on other platforms?

That shows where my head is at.

Yeah, we only build it on darwin, so just switching over to OSAtomics is probably the best approach.

--Jeremy

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4145 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20130903/e93e0942/attachment-0001.p7s>


More information about the macports-dev mailing list