mgorny added a comment. In https://reviews.llvm.org/D28213#665967, @dim wrote:
> I don't think FreeBSD has lock-free 64 bit atomic operations on 32-bit x86. > IIRC we already had some trouble before with clang emitting libcalls to > `__atomic_fetch_add_8` and friends, which then lead to linking errors. > > See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216745, where this is > now occurring with boost. Could you try to figure out what's the cause for that discrepancy? What's the value of `__atomic_always_lock_free(sizeof(long long), 0)` for gcc and clang? Repository: rL LLVM https://reviews.llvm.org/D28213 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits