Determining if the function crc32c_value exists in the crc32c failed with the following output: Change Dir: /home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_d25ec/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_d25ec.dir/build.make CMakeFiles/cmTC_d25ec.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_d25ec.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/instance-2/output-1/host/bin/sparc-linux-gcc --sysroot=/home/buildroot/autobuild/instance-2/output-1/host/sparc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DCHECK_FUNCTION_EXISTS=crc32c_value -DNDEBUG -std=c11 -o CMakeFiles/cmTC_d25ec.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/instance-2/output-1/host/share/cmake-3.15/Modules/CheckFunctionExists.c Linking C executable cmTC_d25ec /home/buildroot/autobuild/instance-2/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d25ec.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-2/output-1/host/bin/sparc-linux-gcc --sysroot=/home/buildroot/autobuild/instance-2/output-1/host/sparc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DCHECK_FUNCTION_EXISTS=crc32c_value -DNDEBUG CMakeFiles/cmTC_d25ec.dir/CheckFunctionExists.c.o -o cmTC_d25ec -lcrc32c /home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: cannot find -lcrc32c collect2: error: ld returned 1 exit status CMakeFiles/cmTC_d25ec.dir/build.make:86: recipe for target 'cmTC_d25ec' failed make[2]: *** [cmTC_d25ec] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_d25ec/fast' failed make[1]: *** [cmTC_d25ec/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp' Determining if the function malloc exists in the tcmalloc failed with the following output: Change Dir: /home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_15078/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_15078.dir/build.make CMakeFiles/cmTC_15078.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_15078.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/instance-2/output-1/host/bin/sparc-linux-gcc --sysroot=/home/buildroot/autobuild/instance-2/output-1/host/sparc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DCHECK_FUNCTION_EXISTS=malloc -DNDEBUG -std=c11 -o CMakeFiles/cmTC_15078.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/instance-2/output-1/host/share/cmake-3.15/Modules/CheckFunctionExists.c :0:23: warning: conflicting types for built-in function 'malloc' [-Wbuiltin-declaration-mismatch] /home/buildroot/autobuild/instance-2/output-1/host/share/cmake-3.15/Modules/CheckFunctionExists.c:7:3: note: in expansion of macro 'CHECK_FUNCTION_EXISTS' CHECK_FUNCTION_EXISTS(void); ^~~~~~~~~~~~~~~~~~~~~ Linking C executable cmTC_15078 /home/buildroot/autobuild/instance-2/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_15078.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-2/output-1/host/bin/sparc-linux-gcc --sysroot=/home/buildroot/autobuild/instance-2/output-1/host/sparc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DCHECK_FUNCTION_EXISTS=malloc -DNDEBUG CMakeFiles/cmTC_15078.dir/CheckFunctionExists.c.o -o cmTC_15078 -ltcmalloc /home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: cannot find -ltcmalloc collect2: error: ld returned 1 exit status CMakeFiles/cmTC_15078.dir/build.make:86: recipe for target 'cmTC_15078' failed make[2]: *** [cmTC_15078] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_15078/fast' failed make[1]: *** [cmTC_15078/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp' Determining if the F_FULLFSYNC exist failed with the following output: Change Dir: /home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_a3b84/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_a3b84.dir/build.make CMakeFiles/cmTC_a3b84.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_a3b84.dir/CheckSymbolExists.cxx.o /home/buildroot/autobuild/instance-2/output-1/host/bin/sparc-linux-g++ --sysroot=/home/buildroot/autobuild/instance-2/output-1/host/sparc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DNDEBUG -std=c++11 -o CMakeFiles/cmTC_a3b84.dir/CheckSymbolExists.cxx.o -c /home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx /home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function 'int main(int, char**)': /home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: 'F_FULLFSYNC' was not declared in this scope return ((int*)(&F_FULLFSYNC))[argc]; ^~~~~~~~~~~ /home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: note: suggested alternative: 'FFSYNC' return ((int*)(&F_FULLFSYNC))[argc]; ^~~~~~~~~~~ FFSYNC CMakeFiles/cmTC_a3b84.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_a3b84.dir/CheckSymbolExists.cxx.o' failed make[2]: *** [CMakeFiles/cmTC_a3b84.dir/CheckSymbolExists.cxx.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_a3b84/fast' failed make[1]: *** [cmTC_a3b84/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp' File /home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef F_FULLFSYNC return ((int*)(&F_FULLFSYNC))[argc]; #else (void)argc; return 0; #endif } Performing C++ SOURCE FILE Test HAVE_CLANG_THREAD_SAFETY failed with the following output: Change Dir: /home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_6e870/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_6e870.dir/build.make CMakeFiles/cmTC_6e870.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_6e870.dir/src.cxx.o /home/buildroot/autobuild/instance-2/output-1/host/bin/sparc-linux-g++ --sysroot=/home/buildroot/autobuild/instance-2/output-1/host/sparc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DHAVE_CLANG_THREAD_SAFETY -Werror -DNDEBUG -std=c++11 -o CMakeFiles/cmTC_6e870.dir/src.cxx.o -c /home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp/src.cxx /home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp/src.cxx:2:34: error: 'lockable' attribute directive ignored [-Werror=attributes] struct __attribute__((lockable)) Lock { ^~~~ /home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp/src.cxx:3:59: error: 'exclusive_lock_function' attribute directive ignored [-Werror=attributes] void Acquire() __attribute__((exclusive_lock_function())); ^ /home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp/src.cxx:4:51: error: 'unlock_function' attribute directive ignored [-Werror=attributes] void Release() __attribute__((unlock_function())); ^ /home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp/src.cxx:8:46: error: 'guarded_by' attribute directive ignored [-Werror=attributes] int data_ __attribute__((guarded_by(lock_))); ^ cc1plus: all warnings being treated as errors CMakeFiles/cmTC_6e870.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_6e870.dir/src.cxx.o' failed make[2]: *** [CMakeFiles/cmTC_6e870.dir/src.cxx.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_6e870/fast' failed make[1]: *** [cmTC_6e870/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp' Source file was: struct __attribute__((lockable)) Lock { void Acquire() __attribute__((exclusive_lock_function())); void Release() __attribute__((unlock_function())); }; struct ThreadSafeType { Lock lock_; int data_ __attribute__((guarded_by(lock_))); }; int main() { return 0; } Performing C++ SOURCE FILE Test HAVE_KYOTOCABINET failed with the following output: Change Dir: /home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_9f8fc/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_9f8fc.dir/build.make CMakeFiles/cmTC_9f8fc.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_9f8fc.dir/src.cxx.o /home/buildroot/autobuild/instance-2/output-1/host/bin/sparc-linux-g++ --sysroot=/home/buildroot/autobuild/instance-2/output-1/host/sparc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DHAVE_KYOTOCABINET -DNDEBUG -std=c++11 -o CMakeFiles/cmTC_9f8fc.dir/src.cxx.o -c /home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp/src.cxx /home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp/src.cxx:2:10: fatal error: kcpolydb.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. CMakeFiles/cmTC_9f8fc.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_9f8fc.dir/src.cxx.o' failed make[2]: *** [CMakeFiles/cmTC_9f8fc.dir/src.cxx.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_9f8fc/fast' failed make[1]: *** [cmTC_9f8fc/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp' Source file was: #include int main() { kyotocabinet::TreeDB* db = new kyotocabinet::TreeDB(); delete db; return 0; }