Performing C++ SOURCE FILE Test HAVE_CXX_ATOMICS_WITHOUT_LIB failed with the following output: Change Dir: /tmp/instance-0/output-1/build/pulseview-0.4.2/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_fc08e/fast && make[1]: Entering directory '/tmp/instance-0/output-1/build/pulseview-0.4.2/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_fc08e.dir/build.make CMakeFiles/cmTC_fc08e.dir/build make[2]: Entering directory '/tmp/instance-0/output-1/build/pulseview-0.4.2/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_fc08e.dir/src.cxx.o /tmp/instance-0/output-1/host/bin/sparc-linux-g++ --sysroot=/tmp/instance-0/output-1/host/sparc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DHAVE_CXX_ATOMICS_WITHOUT_LIB -std=c++11 -DNDEBUG -o CMakeFiles/cmTC_fc08e.dir/src.cxx.o -c /tmp/instance-0/output-1/build/pulseview-0.4.2/CMakeFiles/CMakeTmp/src.cxx Linking CXX executable cmTC_fc08e /tmp/instance-0/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_fc08e.dir/link.txt --verbose=1 /tmp/instance-0/output-1/host/bin/sparc-linux-g++ --sysroot=/tmp/instance-0/output-1/host/sparc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DHAVE_CXX_ATOMICS_WITHOUT_LIB -std=c++11 -DNDEBUG CMakeFiles/cmTC_fc08e.dir/src.cxx.o -o cmTC_fc08e /tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/9.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: CMakeFiles/cmTC_fc08e.dir/src.cxx.o: in function `main': src.cxx:(.text.startup+0x20): undefined reference to `__atomic_fetch_add_4' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/cmTC_fc08e.dir/build.make:90: cmTC_fc08e] Error 1 make[2]: Leaving directory '/tmp/instance-0/output-1/build/pulseview-0.4.2/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:124: cmTC_fc08e/fast] Error 2 make[1]: Leaving directory '/tmp/instance-0/output-1/build/pulseview-0.4.2/CMakeFiles/CMakeTmp' Source file was: #include std::atomic x; int main() { return std::atomic_fetch_add_explicit(&x, 1, std::memory_order_seq_cst); }