Determining if the function crc32c_value exists in the crc32c failed with the following output: Change Dir: /home/buildroot/autobuild/run/instance-3/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_47507/fast && make[1]: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_47507.dir/build.make CMakeFiles/cmTC_47507.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_47507.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/run/instance-3/output-1/host/bin/sparc-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -DCHECK_FUNCTION_EXISTS=crc32c_value -DNDEBUG -std=c11 -o CMakeFiles/cmTC_47507.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/run/instance-3/output-1/host/share/cmake-3.15/Modules/CheckFunctionExists.c Linking C executable cmTC_47507 /home/buildroot/autobuild/run/instance-3/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_47507.dir/link.txt --verbose=1 /home/buildroot/autobuild/run/instance-3/output-1/host/bin/sparc-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -DCHECK_FUNCTION_EXISTS=crc32c_value -DNDEBUG -latomic CMakeFiles/cmTC_47507.dir/CheckFunctionExists.c.o -o cmTC_47507 -lcrc32c /home/buildroot/autobuild/run/instance-3/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 make[2]: *** [cmTC_47507] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_47507/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp' Determining if the function snappy_compress exists in the snappy failed with the following output: Change Dir: /home/buildroot/autobuild/run/instance-3/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_f0d33/fast && make[1]: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_f0d33.dir/build.make CMakeFiles/cmTC_f0d33.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_f0d33.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/run/instance-3/output-1/host/bin/sparc-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -DCHECK_FUNCTION_EXISTS=snappy_compress -DNDEBUG -std=c11 -o CMakeFiles/cmTC_f0d33.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/run/instance-3/output-1/host/share/cmake-3.15/Modules/CheckFunctionExists.c Linking C executable cmTC_f0d33 /home/buildroot/autobuild/run/instance-3/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f0d33.dir/link.txt --verbose=1 /home/buildroot/autobuild/run/instance-3/output-1/host/bin/sparc-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -DCHECK_FUNCTION_EXISTS=snappy_compress -DNDEBUG -latomic CMakeFiles/cmTC_f0d33.dir/CheckFunctionExists.c.o -o cmTC_f0d33 -lsnappy /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/autobuild/run/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libsnappy.a(snappy.cc.o): in function `snappy::internal::WorkingMemory::GetHashTable(unsigned int, int*)': snappy.cc:(.text+0x3d4): undefined reference to `operator new[](unsigned int)' /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/autobuild/run/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libsnappy.a(snappy.cc.o): in function `snappy::Compress(snappy::Source*, snappy::Sink*)': snappy.cc:(.text+0x9e8): undefined reference to `operator new[](unsigned int)' /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: snappy.cc:(.text+0xab0): undefined reference to `operator new[](unsigned int)' /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: snappy.cc:(.text+0xb3c): undefined reference to `operator delete[](void*)' /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: snappy.cc:(.text+0xb50): undefined reference to `operator delete[](void*)' /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: snappy.cc:(.text+0xb68): undefined reference to `operator delete[](void*)' /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: snappy.cc:(.text+0xb88): undefined reference to `operator delete[](void*)' /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/autobuild/run/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libsnappy.a(snappy.cc.o): in function `snappy::Compress(char const*, unsigned int, std::__cxx11::basic_string, std::allocator >*)': snappy.cc:(.text+0xc34): undefined reference to `std::__cxx11::basic_string, std::allocator >::resize(unsigned int)' /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: snappy.cc:(.text+0xc64): undefined reference to `std::__cxx11::basic_string, std::allocator >::resize(unsigned int)' /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/autobuild/run/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libsnappy.a(snappy.cc.o): in function `snappy::Uncompress(char const*, unsigned int, std::__cxx11::basic_string, std::allocator >*)': snappy.cc:(.text+0xdac): undefined reference to `std::__cxx11::basic_string, std::allocator >::resize(unsigned int)' /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/autobuild/run/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libsnappy.a(snappy.cc.o): in function `snappy::SnappySinkAllocator::Deleter(void*, char const*, unsigned int)': snappy.cc:(.text._ZN6snappy19SnappySinkAllocator7DeleterEPvPKcj[_ZN6snappy19SnappySinkAllocator7DeleterEPvPKcj]+0x10): undefined reference to `operator delete[](void*)' /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/autobuild/run/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libsnappy.a(snappy.cc.o): in function `snappy::SnappyScatteredWriter::~SnappyScatteredWriter()': snappy.cc:(.text._ZN6snappy21SnappyScatteredWriterINS_19SnappySinkAllocatorEED2Ev[_ZN6snappy21SnappyScatteredWriterINS_19SnappySinkAllocatorEED5Ev]+0x14): undefined reference to `operator delete(void*)' /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: snappy.cc:(.text._ZN6snappy21SnappyScatteredWriterINS_19SnappySinkAllocatorEED2Ev[_ZN6snappy21SnappyScatteredWriterINS_19SnappySinkAllocatorEED5Ev]+0x2c): undefined reference to `operator delete(void*)' /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/autobuild/run/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libsnappy.a(snappy.cc.o): in function `std::_Vector_base >::~_Vector_base()': snappy.cc:(.text._ZNSt12_Vector_baseIN6snappy19SnappySinkAllocator9DatablockESaIS2_EED2Ev[_ZNSt12_Vector_baseIN6snappy19SnappySinkAllocator9DatablockESaIS2_EED5Ev]+0x14): undefined reference to `operator delete(void*)' /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/autobuild/run/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libsnappy.a(snappy.cc.o): in function `void std::vector >::_M_realloc_insert(__gnu_cxx::__normal_iterator > >, snappy::SnappySinkAllocator::Datablock const&)': snappy.cc:(.text._ZNSt6vectorIN6snappy19SnappySinkAllocator9DatablockESaIS2_EE17_M_realloc_insertIJRKS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_[_ZNSt6vectorIN6snappy19SnappySinkAllocator9DatablockESaIS2_EE17_M_realloc_insertIJRKS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_]+0x114): undefined reference to `operator delete(void*)' /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: snappy.cc:(.text._ZNSt6vectorIN6snappy19SnappySinkAllocator9DatablockESaIS2_EE17_M_realloc_insertIJRKS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_[_ZNSt6vectorIN6snappy19SnappySinkAllocator9DatablockESaIS2_EE17_M_realloc_insertIJRKS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_]+0x13c): undefined reference to `operator new(unsigned int)' /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/autobuild/run/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libsnappy.a(snappy.cc.o): in function `std::vector >::vector(std::vector > const&)': snappy.cc:(.text._ZNSt6vectorIN6snappy19SnappySinkAllocator9DatablockESaIS2_EEC2ERKS4_[_ZNSt6vectorIN6snappy19SnappySinkAllocator9DatablockESaIS2_EEC5ERKS4_]+0x4c): undefined reference to `std::__throw_bad_alloc()' /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: snappy.cc:(.text._ZNSt6vectorIN6snappy19SnappySinkAllocator9DatablockESaIS2_EEC2ERKS4_[_ZNSt6vectorIN6snappy19SnappySinkAllocator9DatablockESaIS2_EEC5ERKS4_]+0x54): undefined reference to `operator new(unsigned int)' /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/autobuild/run/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libsnappy.a(snappy.cc.o): in function `void std::vector >::_M_realloc_insert(__gnu_cxx::__normal_iterator > >, char* const&)': snappy.cc:(.text._ZNSt6vectorIPcSaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_[_ZNSt6vectorIPcSaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_]+0xd4): undefined reference to `operator delete(void*)' /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: snappy.cc:(.text._ZNSt6vectorIPcSaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_[_ZNSt6vectorIPcSaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_]+0xfc): undefined reference to `operator new(unsigned int)' /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/autobuild/run/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libsnappy.a(snappy.cc.o): in function `snappy::SnappyScatteredWriter::Append(char const*, unsigned int)': snappy.cc:(.text._ZN6snappy21SnappyScatteredWriterINS_19SnappySinkAllocatorEE6AppendEPKcj[_ZN6snappy21SnappyScatteredWriterINS_19SnappySinkAllocatorEE6AppendEPKcj]+0x88): undefined reference to `operator new[](unsigned int)' /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/autobuild/run/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libsnappy.a(snappy.cc.o):(.eh_frame+0x123): undefined reference to `__gxx_personality_v0' /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/autobuild/run/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libsnappy.a(snappy-sinksource.cc.o): in function `snappy::ByteArraySource::~ByteArraySource()': snappy-sinksource.cc:(.text+0xa8): undefined reference to `operator delete(void*, unsigned int)' /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/autobuild/run/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libsnappy.a(snappy-sinksource.cc.o): in function `snappy::UncheckedByteArraySink::~UncheckedByteArraySink()': snappy-sinksource.cc:(.text+0xb8): undefined reference to `operator delete(void*, unsigned int)' /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/autobuild/run/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libsnappy.a(snappy-sinksource.cc.o): in function `snappy::Source::~Source()': snappy-sinksource.cc:(.text+0x140): undefined reference to `operator delete(void*, unsigned int)' /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/autobuild/run/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libsnappy.a(snappy-sinksource.cc.o): in function `snappy::Sink::~Sink()': snappy-sinksource.cc:(.text+0x158): undefined reference to `operator delete(void*, unsigned int)' /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/autobuild/run/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libsnappy.a(snappy-sinksource.cc.o):(.rodata._ZTIN6snappy4SinkE[_ZTIN6snappy4SinkE]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info' /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/autobuild/run/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libsnappy.a(snappy-sinksource.cc.o):(.rodata._ZTIN6snappy6SourceE[_ZTIN6snappy6SourceE]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info' /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/autobuild/run/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libsnappy.a(snappy-sinksource.cc.o):(.rodata._ZTIN6snappy15ByteArraySourceE[_ZTIN6snappy15ByteArraySourceE]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info' /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/autobuild/run/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libsnappy.a(snappy-sinksource.cc.o):(.rodata._ZTIN6snappy22UncheckedByteArraySinkE[_ZTIN6snappy22UncheckedByteArraySinkE]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info' /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/autobuild/run/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libsnappy.a(snappy-sinksource.cc.o):(.rodata._ZTVN6snappy6SourceE[_ZTVN6snappy6SourceE]+0x10): undefined reference to `__cxa_pure_virtual' /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/autobuild/run/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libsnappy.a(snappy-sinksource.cc.o):(.rodata._ZTVN6snappy6SourceE[_ZTVN6snappy6SourceE]+0x14): undefined reference to `__cxa_pure_virtual' /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/autobuild/run/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libsnappy.a(snappy-sinksource.cc.o):(.rodata._ZTVN6snappy6SourceE[_ZTVN6snappy6SourceE]+0x18): undefined reference to `__cxa_pure_virtual' /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/autobuild/run/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libsnappy.a(snappy-sinksource.cc.o):(.rodata._ZTVN6snappy4SinkE[_ZTVN6snappy4SinkE]+0x10): undefined reference to `__cxa_pure_virtual' collect2: error: ld returned 1 exit status make[2]: *** [cmTC_f0d33] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_f0d33/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-3/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/run/instance-3/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_be730/fast && make[1]: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_be730.dir/build.make CMakeFiles/cmTC_be730.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_be730.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/run/instance-3/output-1/host/bin/sparc-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -DCHECK_FUNCTION_EXISTS=malloc -DNDEBUG -std=c11 -o CMakeFiles/cmTC_be730.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/run/instance-3/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/run/instance-3/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_be730 /home/buildroot/autobuild/run/instance-3/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_be730.dir/link.txt --verbose=1 /home/buildroot/autobuild/run/instance-3/output-1/host/bin/sparc-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -DCHECK_FUNCTION_EXISTS=malloc -DNDEBUG -latomic CMakeFiles/cmTC_be730.dir/CheckFunctionExists.c.o -o cmTC_be730 -ltcmalloc /home/buildroot/autobuild/run/instance-3/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 make[2]: *** [cmTC_be730] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_be730/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp' Determining if the F_FULLFSYNC exist failed with the following output: Change Dir: /home/buildroot/autobuild/run/instance-3/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_3b368/fast && make[1]: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_3b368.dir/build.make CMakeFiles/cmTC_3b368.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_3b368.dir/CheckSymbolExists.cxx.o /home/buildroot/autobuild/run/instance-3/output-1/host/bin/sparc-linux-g++ --sysroot=/home/buildroot/autobuild/run/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -static -DNDEBUG -std=c++11 -o CMakeFiles/cmTC_3b368.dir/CheckSymbolExists.cxx.o -c /home/buildroot/autobuild/run/instance-3/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx /home/buildroot/autobuild/run/instance-3/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function 'int main(int, char**)': /home/buildroot/autobuild/run/instance-3/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/run/instance-3/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: note: suggested alternative: 'FFSYNC' return ((int*)(&F_FULLFSYNC))[argc]; ^~~~~~~~~~~ FFSYNC make[2]: *** [CMakeFiles/cmTC_3b368.dir/CheckSymbolExists.cxx.o] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_3b368/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp' File /home/buildroot/autobuild/run/instance-3/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/run/instance-3/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_464bb/fast && make[1]: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_464bb.dir/build.make CMakeFiles/cmTC_464bb.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_464bb.dir/src.cxx.o /home/buildroot/autobuild/run/instance-3/output-1/host/bin/sparc-linux-g++ --sysroot=/home/buildroot/autobuild/run/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -static -DHAVE_CLANG_THREAD_SAFETY -Werror -DNDEBUG -std=c++11 -o CMakeFiles/cmTC_464bb.dir/src.cxx.o -c /home/buildroot/autobuild/run/instance-3/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp/src.cxx /home/buildroot/autobuild/run/instance-3/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/run/instance-3/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/run/instance-3/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/run/instance-3/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 make[2]: *** [CMakeFiles/cmTC_464bb.dir/src.cxx.o] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_464bb/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-3/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/run/instance-3/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_0388e/fast && make[1]: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_0388e.dir/build.make CMakeFiles/cmTC_0388e.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_0388e.dir/src.cxx.o /home/buildroot/autobuild/run/instance-3/output-1/host/bin/sparc-linux-g++ --sysroot=/home/buildroot/autobuild/run/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -static -DHAVE_KYOTOCABINET -DNDEBUG -std=c++11 -o CMakeFiles/cmTC_0388e.dir/src.cxx.o -c /home/buildroot/autobuild/run/instance-3/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp/src.cxx /home/buildroot/autobuild/run/instance-3/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp/src.cxx:2:10: fatal error: kcpolydb.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/cmTC_0388e.dir/src.cxx.o] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_0388e/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output-1/build/leveldb-1.22/CMakeFiles/CMakeTmp' Source file was: #include int main() { kyotocabinet::TreeDB* db = new kyotocabinet::TreeDB(); delete db; return 0; }