>>> leveldb 1.22 Extracting gzip -d -c /home/buildroot/autobuild/instance-2/dl/leveldb/leveldb-1.22.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22 -xf - >>> leveldb 1.22 Patching Applying 0001-Fix-compilation-with-g-4.8.2.patch using patch: patching file db/db_iter.cc Applying 0002-CMake-install-libmemenv.a.patch using patch: patching file CMakeLists.txt Hunk #2 succeeded at 430 (offset -12 lines). Hunk #3 succeeded at 456 (offset -12 lines). >>> leveldb 1.22 Configuring (mkdir -p /home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/ && cd /home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/ && rm -f CMakeCache.txt && PATH="/home/buildroot/autobuild/instance-2/output-1/host/bin:/home/buildroot/autobuild/instance-2/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" /home/buildroot/autobuild/instance-2/output-1/host/bin/cmake /home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/ -DCMAKE_TOOLCHAIN_FILE="/home/buildroot/autobuild/instance-2/output-1/host/share/buildroot/toolchainfile.cmake" -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_COLOR_MAKEFILE=OFF -DBUILD_DOC=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLE=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TEST=OFF -DBUILD_TESTS=OFF -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON ) -- The C compiler identification is GNU 7.4.0 -- The CXX compiler identification is GNU 7.4.0 -- Check for working C compiler: /home/buildroot/autobuild/instance-2/output-1/host/bin/sparc-linux-gcc -- Check for working C compiler: /home/buildroot/autobuild/instance-2/output-1/host/bin/sparc-linux-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /home/buildroot/autobuild/instance-2/output-1/host/bin/sparc-linux-g++ -- Check for working CXX compiler: /home/buildroot/autobuild/instance-2/output-1/host/bin/sparc-linux-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Check if the system is big endian -- Searching 16 bit integer -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of unsigned short -- Check size of unsigned short - done -- Using unsigned short -- Check if the system is big endian - big endian -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for crc32c_value in crc32c -- Looking for crc32c_value in crc32c - not found -- Looking for snappy_compress in snappy -- Looking for snappy_compress in snappy - found -- Looking for malloc in tcmalloc -- Looking for malloc in tcmalloc - not found -- Looking for fdatasync -- Looking for fdatasync - found -- Looking for F_FULLFSYNC -- Looking for F_FULLFSYNC - not found -- Performing Test HAVE_CLANG_THREAD_SAFETY -- Performing Test HAVE_CLANG_THREAD_SAFETY - Failed -- Performing Test HAVE_CXX17_HAS_INCLUDE -- Performing Test HAVE_CXX17_HAS_INCLUDE - Success -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Looking for sqlite3_open in sqlite3 -- Looking for sqlite3_open in sqlite3 - found -- Performing Test HAVE_KYOTOCABINET -- Performing Test HAVE_KYOTOCABINET - Failed -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_DOC BUILD_DOCS BUILD_EXAMPLE BUILD_EXAMPLES BUILD_TEST BUILD_TESTING BUILD_TESTS -- Build files have been written to: /home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22 >>> leveldb 1.22 Building PATH="/home/buildroot/autobuild/instance-2/output-1/host/bin:/home/buildroot/autobuild/instance-2/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/ make[1]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22' make[2]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22' Scanning dependencies of target memenv make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22' [ 1%] Building CXX object CMakeFiles/memenv.dir/helpers/memenv/memenv.cc.o Scanning dependencies of target leveldb make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22' [ 3%] Building CXX object CMakeFiles/leveldb.dir/db/c.cc.o [ 3%] Building CXX object CMakeFiles/leveldb.dir/db/builder.cc.o [ 5%] Building CXX object CMakeFiles/leveldb.dir/db/db_impl.cc.o [ 6%] Building CXX object CMakeFiles/leveldb.dir/db/db_iter.cc.o [ 7%] Building CXX object CMakeFiles/leveldb.dir/db/dbformat.cc.o [ 8%] Linking CXX static library libmemenv.a make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22' [ 8%] Built target memenv [ 10%] Building CXX object CMakeFiles/leveldb.dir/db/dumpfile.cc.o [ 11%] Building CXX object CMakeFiles/leveldb.dir/db/filename.cc.o [ 12%] Building CXX object CMakeFiles/leveldb.dir/db/log_reader.cc.o [ 13%] Building CXX object CMakeFiles/leveldb.dir/db/log_writer.cc.o [ 15%] Building CXX object CMakeFiles/leveldb.dir/db/memtable.cc.o [ 16%] Building CXX object CMakeFiles/leveldb.dir/db/repair.cc.o [ 17%] Building CXX object CMakeFiles/leveldb.dir/db/table_cache.cc.o [ 18%] Building CXX object CMakeFiles/leveldb.dir/db/version_edit.cc.o [ 20%] Building CXX object CMakeFiles/leveldb.dir/db/version_set.cc.o [ 21%] Building CXX object CMakeFiles/leveldb.dir/db/write_batch.cc.o [ 22%] Building CXX object CMakeFiles/leveldb.dir/table/block_builder.cc.o [ 23%] Building CXX object CMakeFiles/leveldb.dir/table/block.cc.o [ 25%] Building CXX object CMakeFiles/leveldb.dir/table/filter_block.cc.o [ 26%] Building CXX object CMakeFiles/leveldb.dir/table/format.cc.o [ 27%] Building CXX object CMakeFiles/leveldb.dir/table/iterator.cc.o [ 28%] Building CXX object CMakeFiles/leveldb.dir/table/merger.cc.o [ 30%] Building CXX object CMakeFiles/leveldb.dir/table/table_builder.cc.o [ 31%] Building CXX object CMakeFiles/leveldb.dir/table/table.cc.o [ 32%] Building CXX object CMakeFiles/leveldb.dir/table/two_level_iterator.cc.o [ 33%] Building CXX object CMakeFiles/leveldb.dir/util/arena.cc.o [ 35%] Building CXX object CMakeFiles/leveldb.dir/util/bloom.cc.o [ 36%] Building CXX object CMakeFiles/leveldb.dir/util/cache.cc.o [ 37%] Building CXX object CMakeFiles/leveldb.dir/util/coding.cc.o [ 38%] Building CXX object CMakeFiles/leveldb.dir/util/comparator.cc.o [ 40%] Building CXX object CMakeFiles/leveldb.dir/util/crc32c.cc.o [ 41%] Building CXX object CMakeFiles/leveldb.dir/util/env.cc.o [ 42%] Building CXX object CMakeFiles/leveldb.dir/util/filter_policy.cc.o [ 43%] Building CXX object CMakeFiles/leveldb.dir/util/hash.cc.o [ 45%] Building CXX object CMakeFiles/leveldb.dir/util/logging.cc.o [ 46%] Building CXX object CMakeFiles/leveldb.dir/util/options.cc.o [ 47%] Building CXX object CMakeFiles/leveldb.dir/util/status.cc.o [ 48%] Building CXX object CMakeFiles/leveldb.dir/util/env_posix.cc.o [ 50%] Building CXX object CMakeFiles/leveldb.dir/helpers/memenv/memenv.cc.o [ 51%] Linking CXX shared library libleveldb.so make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22' [ 51%] Built target leveldb make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22' Scanning dependencies of target c_test make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22' Scanning dependencies of target leveldbutil make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22' Scanning dependencies of target no_destructor_test make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22' [ 52%] Building CXX object CMakeFiles/c_test.dir/util/testharness.cc.o make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22' Scanning dependencies of target fault_injection_test make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22' [ 53%] Building CXX object CMakeFiles/no_destructor_test.dir/util/testharness.cc.o [ 55%] Building CXX object CMakeFiles/leveldbutil.dir/db/leveldbutil.cc.o [ 56%] Building CXX object CMakeFiles/fault_injection_test.dir/util/testharness.cc.o [ 57%] Linking CXX executable leveldbutil /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: libleveldb.so.1.22.0: undefined reference to `__atomic_fetch_sub_4' /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: libleveldb.so.1.22.0: undefined reference to `__atomic_fetch_add_4' collect2: error: ld returned 1 exit status CMakeFiles/leveldbutil.dir/build.make:84: recipe for target 'leveldbutil' failed make[3]: *** [leveldbutil] Error 1 make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22' CMakeFiles/Makefile2:150: recipe for target 'CMakeFiles/leveldbutil.dir/all' failed make[2]: *** [CMakeFiles/leveldbutil.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... [ 58%] Building CXX object CMakeFiles/fault_injection_test.dir/util/testutil.cc.o [ 60%] Building CXX object CMakeFiles/c_test.dir/util/testutil.cc.o [ 61%] Building CXX object CMakeFiles/fault_injection_test.dir/db/fault_injection_test.cc.o [ 62%] Building CXX object CMakeFiles/no_destructor_test.dir/util/testutil.cc.o [ 63%] Building C object CMakeFiles/c_test.dir/db/c_test.c.o [ 65%] Building CXX object CMakeFiles/no_destructor_test.dir/util/no_destructor_test.cc.o [ 66%] Linking CXX executable c_test /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: libleveldb.so.1.22.0: undefined reference to `__atomic_fetch_sub_4' /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: libleveldb.so.1.22.0: undefined reference to `__atomic_fetch_add_4' collect2: error: ld returned 1 exit status CMakeFiles/c_test.dir/build.make:114: recipe for target 'c_test' failed make[3]: *** [c_test] Error 1 make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22' CMakeFiles/Makefile2:118: recipe for target 'CMakeFiles/c_test.dir/all' failed make[2]: *** [CMakeFiles/c_test.dir/all] Error 2 [ 67%] Linking CXX executable no_destructor_test /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: libleveldb.so.1.22.0: undefined reference to `__atomic_fetch_sub_4' /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: libleveldb.so.1.22.0: undefined reference to `__atomic_fetch_add_4' collect2: error: ld returned 1 exit status CMakeFiles/no_destructor_test.dir/build.make:114: recipe for target 'no_destructor_test' failed make[3]: *** [no_destructor_test] Error 1 make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22' CMakeFiles/Makefile2:86: recipe for target 'CMakeFiles/no_destructor_test.dir/all' failed make[2]: *** [CMakeFiles/no_destructor_test.dir/all] Error 2 [ 68%] Linking CXX executable fault_injection_test /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: libleveldb.so.1.22.0: undefined reference to `__atomic_fetch_sub_4' /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: libleveldb.so.1.22.0: undefined reference to `__atomic_fetch_add_4' collect2: error: ld returned 1 exit status CMakeFiles/fault_injection_test.dir/build.make:114: recipe for target 'fault_injection_test' failed make[3]: *** [fault_injection_test] Error 1 make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22' CMakeFiles/Makefile2:214: recipe for target 'CMakeFiles/fault_injection_test.dir/all' failed make[2]: *** [CMakeFiles/fault_injection_test.dir/all] Error 2 make[2]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22' Makefile:140: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22' package/pkg-generic.mk:238: recipe for target '/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-2/output-1/build/leveldb-1.22/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-2/buildroot'