As a very temporary (and wrong) workaround you can edit libraries/ghc-prim/cbits/atomic.c to have the functions involving nand all return 0. I should have a fix soon.


On Thu, Jun 26, 2014 at 7:58 AM, Kazu Yamamoto <kazu@iij.ad.jp> wrote:
Hi Johan,

> This looks like my fault. I will look into it. Which gcc are you using?
> clang?

% which gcc
/usr/bin/gcc
% gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.2.0
Thread model: posix

I'm not using any wrappers for gcc(clang).

--Kazu