Performing C++ SOURCE FILE Test HAVE_CXX_ATOMICS64_WITHOUT_LIB failed with the following output: Change Dir: /home/test/autobuild/run/instance-1/output-1/build/pistache-f2f5a50fbfb5b8ef6cf1d3d2a9d442a8270e375d/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_0d6e3/fast && make[1]: Entering directory '/home/test/autobuild/run/instance-1/output-1/build/pistache-f2f5a50fbfb5b8ef6cf1d3d2a9d442a8270e375d/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_0d6e3.dir/build.make CMakeFiles/cmTC_0d6e3.dir/build make[2]: Entering directory '/home/test/autobuild/run/instance-1/output-1/build/pistache-f2f5a50fbfb5b8ef6cf1d3d2a9d442a8270e375d/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_0d6e3.dir/src.cxx.o /home/test/autobuild/run/instance-1/output-1/host/bin/mipsel-linux-g++ --sysroot=/home/test/autobuild/run/instance-1/output-1/host/mipsel-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -Wall -Wconversion -pedantic -Wextra -Wno-missing-field-initializers -DHAVE_CXX_ATOMICS64_WITHOUT_LIB -std=c++11 -o CMakeFiles/cmTC_0d6e3.dir/src.cxx.o -c /home/test/autobuild/run/instance-1/output-1/build/pistache-f2f5a50fbfb5b8ef6cf1d3d2a9d442a8270e375d/CMakeFiles/CMakeTmp/src.cxx /home/test/autobuild/run/instance-1/output-1/build/pistache-f2f5a50fbfb5b8ef6cf1d3d2a9d442a8270e375d/CMakeFiles/CMakeTmp/src.cxx: In function 'int main()': /home/test/autobuild/run/instance-1/output-1/build/pistache-f2f5a50fbfb5b8ef6cf1d3d2a9d442a8270e375d/CMakeFiles/CMakeTmp/src.cxx:6:12: warning: unused variable 'i' [-Wunused-variable] uint64_t i = x.load(std::memory_order_relaxed); ^ Linking CXX executable cmTC_0d6e3 /home/test/autobuild/run/instance-1/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0d6e3.dir/link.txt --verbose=1 /home/test/autobuild/run/instance-1/output-1/host/bin/mipsel-linux-g++ --sysroot=/home/test/autobuild/run/instance-1/output-1/host/mipsel-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -Wall -Wconversion -pedantic -Wextra -Wno-missing-field-initializers -DHAVE_CXX_ATOMICS64_WITHOUT_LIB -std=c++11 CMakeFiles/cmTC_0d6e3.dir/src.cxx.o -o cmTC_0d6e3 /home/test/autobuild/run/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mipsel-buildroot-linux-gnu/8.3.0/../../../../mipsel-buildroot-linux-gnu/bin/ld: CMakeFiles/cmTC_0d6e3.dir/src.cxx.o: in function `std::__atomic_base::load(std::memory_order) const': /home/test/autobuild/run/instance-1/output-1/host/opt/ext-toolchain/mipsel-buildroot-linux-gnu/include/c++/8.3.0/bits/atomic_base.h:396: undefined reference to `__atomic_load_8' /home/test/autobuild/run/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mipsel-buildroot-linux-gnu/8.3.0/../../../../mipsel-buildroot-linux-gnu/bin/ld: /home/test/autobuild/run/instance-1/output-1/host/opt/ext-toolchain/mipsel-buildroot-linux-gnu/include/c++/8.3.0/bits/atomic_base.h:396: undefined reference to `__atomic_load_8' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_0d6e3.dir/build.make:86: recipe for target 'cmTC_0d6e3' failed make[2]: *** [cmTC_0d6e3] Error 1 make[2]: Leaving directory '/home/test/autobuild/run/instance-1/output-1/build/pistache-f2f5a50fbfb5b8ef6cf1d3d2a9d442a8270e375d/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_0d6e3/fast' failed make[1]: *** [cmTC_0d6e3/fast] Error 2 make[1]: Leaving directory '/home/test/autobuild/run/instance-1/output-1/build/pistache-f2f5a50fbfb5b8ef6cf1d3d2a9d442a8270e375d/CMakeFiles/CMakeTmp' Source file was: #include #include std::atomic x (0); int main() { uint64_t i = x.load(std::memory_order_relaxed); return 0; } Determining if the function __atomic_load_8 exists in the atomic failed with the following output: Change Dir: /home/test/autobuild/run/instance-1/output-1/build/pistache-f2f5a50fbfb5b8ef6cf1d3d2a9d442a8270e375d/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_e5e6c/fast && make[1]: Entering directory '/home/test/autobuild/run/instance-1/output-1/build/pistache-f2f5a50fbfb5b8ef6cf1d3d2a9d442a8270e375d/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_e5e6c.dir/build.make CMakeFiles/cmTC_e5e6c.dir/build make[2]: Entering directory '/home/test/autobuild/run/instance-1/output-1/build/pistache-f2f5a50fbfb5b8ef6cf1d3d2a9d442a8270e375d/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_e5e6c.dir/CheckFunctionExists.cxx.o /home/test/autobuild/run/instance-1/output-1/host/bin/mipsel-linux-g++ --sysroot=/home/test/autobuild/run/instance-1/output-1/host/mipsel-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -Wall -Wconversion -pedantic -Wextra -Wno-missing-field-initializers -DCHECK_FUNCTION_EXISTS=__atomic_load_8 -o CMakeFiles/cmTC_e5e6c.dir/CheckFunctionExists.cxx.o -c /home/test/autobuild/run/instance-1/output-1/build/pistache-f2f5a50fbfb5b8ef6cf1d3d2a9d442a8270e375d/CMakeFiles/CheckLibraryExists/CheckFunctionExists.cxx : error: new declaration 'char __atomic_load_8()' ambiguates built-in declaration 'long long unsigned int __atomic_load_8(const volatile void*, int)' [-fpermissive] /home/test/autobuild/run/instance-1/output-1/build/pistache-f2f5a50fbfb5b8ef6cf1d3d2a9d442a8270e375d/CMakeFiles/CheckLibraryExists/CheckFunctionExists.cxx:7:3: note: in expansion of macro 'CHECK_FUNCTION_EXISTS' CHECK_FUNCTION_EXISTS(void); ^~~~~~~~~~~~~~~~~~~~~ /home/test/autobuild/run/instance-1/output-1/build/pistache-f2f5a50fbfb5b8ef6cf1d3d2a9d442a8270e375d/CMakeFiles/CheckLibraryExists/CheckFunctionExists.cxx: In function 'int main(int, char**)': /home/test/autobuild/run/instance-1/output-1/build/pistache-f2f5a50fbfb5b8ef6cf1d3d2a9d442a8270e375d/CMakeFiles/CheckLibraryExists/CheckFunctionExists.cxx:17:25: error: too few arguments to function 'long long unsigned int __atomic_load_8(const volatile void*, int)' CHECK_FUNCTION_EXISTS(); ^ CMakeFiles/cmTC_e5e6c.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_e5e6c.dir/CheckFunctionExists.cxx.o' failed make[2]: *** [CMakeFiles/cmTC_e5e6c.dir/CheckFunctionExists.cxx.o] Error 1 make[2]: Leaving directory '/home/test/autobuild/run/instance-1/output-1/build/pistache-f2f5a50fbfb5b8ef6cf1d3d2a9d442a8270e375d/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_e5e6c/fast' failed make[1]: *** [cmTC_e5e6c/fast] Error 2 make[1]: Leaving directory '/home/test/autobuild/run/instance-1/output-1/build/pistache-f2f5a50fbfb5b8ef6cf1d3d2a9d442a8270e375d/CMakeFiles/CMakeTmp'