For whatever reason, the version of gcc for Mac OS 10.7 decided to flag some inline assembly for x86 and x86_64 systems as being invalid. The issue in question is with AO_test_and_set_full and its use of 0xff in the clobber list. 0xff needs to be cast to an unsigned char, like so: (unsigned char)0xff. So, for those needing a quick fix, that works.
The latest snapshot of libatomic_ops includes these fixes however, so I think it would be prudent to move to a more recent version of the library sooner rather than later.
Was this fixed? I couldn't get it working, but don't know if anyone else did.
One of you two should check if this still affects you. c151f38 should've fixed this.
Rock works here, when I said I "couldn't get it working" before I meant I couldn't figure out how to replace libatomic_ops. If this can be confirmed working on at least 2 Mac OS X systems I don't see a problem with closing it.
According to @nddrylliog in #353 it works. Closing.
Also, this means 0.9.3 is ready for release. POKEPOKEPOKEPOKE @fredreichbier @nddrylliog
Btw we should check that the homebrew package is updated correctly. @nilium Can I count on you to investigate that once I upload the bootstrap for 0.9.3 final?
@nddrylliog you going to do a 0.9.3-source too (or is that what you were referring to by 'the bootstrap')?
I can probably check that, though you'd have to actually notify me when I'm supposed to.
@duckinator @nilium It's released! To the tweeting machines!
Modifying the formula for brew to use 0.9.3 builds fine. It does crash because the SDK isn't installed in ~/sdk by default (requires an environment variable for that), and it still reports that it's version 0.9.2-head, however.
Should probably create a separate issue for that second one - edit: at least once I figure out why it's doing that when it shouldn't be.