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