Performing C++ SOURCE FILE Test ATOMICS_LOCK_FREE_INSTRUCTIONS failed with the following output: Change Dir: /home/thomas/autobuild/instance-0/output-1/build/highway-1.0.3/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_27509/fast && make[1]: Entering directory '/home/thomas/autobuild/instance-0/output-1/build/highway-1.0.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_27509.dir/build.make CMakeFiles/cmTC_27509.dir/build make[2]: Entering directory '/home/thomas/autobuild/instance-0/output-1/build/highway-1.0.3/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_27509.dir/src.cxx.o /home/thomas/autobuild/instance-0/output-1/host/bin/xtensa-buildroot-linux-uclibc-g++ --sysroot=/home/thomas/autobuild/instance-0/output-1/host/xtensa-buildroot-linux-uclibc/sysroot -DATOMICS_LOCK_FREE_INSTRUCTIONS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -Ofast -g0 -static -static -DNDEBUG -std=c++11 -o CMakeFiles/cmTC_27509.dir/src.cxx.o -c /home/thomas/autobuild/instance-0/output-1/build/highway-1.0.3/CMakeFiles/CMakeTmp/src.cxx Linking CXX executable cmTC_27509 /home/thomas/autobuild/instance-0/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_27509.dir/link.txt --verbose=1 /home/thomas/autobuild/instance-0/output-1/host/bin/xtensa-buildroot-linux-uclibc-g++ --sysroot=/home/thomas/autobuild/instance-0/output-1/host/xtensa-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -Ofast -g0 -static -static -DNDEBUG -static CMakeFiles/cmTC_27509.dir/src.cxx.o -o cmTC_27509 /home/thomas/autobuild/instance-0/output-1/host/lib/gcc/xtensa-buildroot-linux-uclibc/11.3.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: CMakeFiles/cmTC_27509.dir/src.cxx.o:(.text.startup+0x4): undefined reference to `__atomic_fetch_add_8' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/cmTC_27509.dir/build.make:99: cmTC_27509] Error 1 make[2]: Leaving directory '/home/thomas/autobuild/instance-0/output-1/build/highway-1.0.3/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:127: cmTC_27509/fast] Error 2 make[1]: Leaving directory '/home/thomas/autobuild/instance-0/output-1/build/highway-1.0.3/CMakeFiles/CMakeTmp' Source file was: #include #include std::atomic n8 (0); // riscv64 std::atomic n64 (0); // armel, mipsel, powerpc int main() { ++n8; ++n64; return 0; } Performing C++ SOURCE FILE Test ATOMICS_IN_LIBRARY failed with the following output: Change Dir: /home/thomas/autobuild/instance-0/output-1/build/highway-1.0.3/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_6ce32/fast && make[1]: Entering directory '/home/thomas/autobuild/instance-0/output-1/build/highway-1.0.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_6ce32.dir/build.make CMakeFiles/cmTC_6ce32.dir/build make[2]: Entering directory '/home/thomas/autobuild/instance-0/output-1/build/highway-1.0.3/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_6ce32.dir/src.cxx.o /home/thomas/autobuild/instance-0/output-1/host/bin/xtensa-buildroot-linux-uclibc-g++ --sysroot=/home/thomas/autobuild/instance-0/output-1/host/xtensa-buildroot-linux-uclibc/sysroot -DATOMICS_IN_LIBRARY -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -Ofast -g0 -static -static -DNDEBUG -std=c++11 -o CMakeFiles/cmTC_6ce32.dir/src.cxx.o -c /home/thomas/autobuild/instance-0/output-1/build/highway-1.0.3/CMakeFiles/CMakeTmp/src.cxx Linking CXX executable cmTC_6ce32 /home/thomas/autobuild/instance-0/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6ce32.dir/link.txt --verbose=1 /home/thomas/autobuild/instance-0/output-1/host/bin/xtensa-buildroot-linux-uclibc-g++ --sysroot=/home/thomas/autobuild/instance-0/output-1/host/xtensa-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -Ofast -g0 -static -static -DNDEBUG -static CMakeFiles/cmTC_6ce32.dir/src.cxx.o -o cmTC_6ce32 -latomic /home/thomas/autobuild/instance-0/output-1/host/lib/gcc/xtensa-buildroot-linux-uclibc/11.3.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: cannot find -latomic collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/cmTC_6ce32.dir/build.make:99: cmTC_6ce32] Error 1 make[2]: Leaving directory '/home/thomas/autobuild/instance-0/output-1/build/highway-1.0.3/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:127: cmTC_6ce32/fast] Error 2 make[1]: Leaving directory '/home/thomas/autobuild/instance-0/output-1/build/highway-1.0.3/CMakeFiles/CMakeTmp' Source file was: #include #include std::atomic n8 (0); // riscv64 std::atomic n64 (0); // armel, mipsel, powerpc int main() { ++n8; ++n64; return 0; }