aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorVasil Dimov <vd@FreeBSD.org>2017-11-11 15:29:42 +0200
committerVasil Dimov <vd@FreeBSD.org>2017-11-11 15:29:42 +0200
commit3501ed1fdfc7f34f4c809a7212974078dc217bf3 (patch)
treec2fb9ff643aa8ce4a531cc0e3c16e46a7b41d45f /tests
parentMerge pull request #2694 (diff)
downloadmonero-3501ed1fdfc7f34f4c809a7212974078dc217bf3.tar.xz
Do not require libatomic on FreeBSD
f3e09f36 hooked a dependency on libatomic on 32 bit machines if Clang is used because compilation failed with: `std::__atomic_base<unsigned long long>::load(std::memory_order) const': /usr/bin/../lib/gcc/i686-pc-linux-gnu/6.1.1/../../../../include/c++/6.1.1/bits/atomic_base.h:396: undefined reference to `__atomic_load_8' But that does not happen on FreeBSD. The problem is likely that on Linux Clang tries to use GCC-provided C++11 library. Further, __atomic_load_8() (for 8-byte integers) is not readily available on 32 bit machines. From https://gcc.gnu.org/wiki/Atomic/GCCMM: "When lock free instructions are not available (either through hardware or OS support) atomic operations are left as function calls to be resolved by a library."
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions