>>> avro-c 1.9.1 Extracting gzip -d -c /home/buildroot/autobuild/instance-0/dl/avro-c/avro-c-1.9.1.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1 -xf - >>> avro-c 1.9.1 Patching Applying 0001-Allow-avro-C-to-be-built-on-musl-based-systems.patch using patch: patching file src/avro_generic_internal.h Applying 0002-CMakeLists.txt-fix-build-without-C.patch using patch: patching file CMakeLists.txt patching file tests/CMakeLists.txt patching file tests/test_cpp.cpp >>> avro-c 1.9.1 Configuring (mkdir -p /home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1/ && cd /home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1/ && rm -f CMakeCache.txt && PATH="/home/buildroot/autobuild/instance-0/output-1/host/bin:/home/buildroot/autobuild/instance-0/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/buildroot/.local/bin" /home/buildroot/autobuild/instance-0/output-1/host/bin/cmake /home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1/ -DCMAKE_TOOLCHAIN_FILE="/home/buildroot/autobuild/instance-0/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 8.3.0 -- Check for working C compiler: /home/buildroot/autobuild/instance-0/output-1/host/bin/sparc-linux-gcc -- Check for working C compiler: /home/buildroot/autobuild/instance-0/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 -- Found ZLIB: /home/buildroot/autobuild/instance-0/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libz.so (found version "1.2.11") Enabled deflate codec -- Could NOT find Snappy (missing: SNAPPY_LIBRARIES SNAPPY_INCLUDE_DIR) Disabled snappy codec. libsnappy not found or zlib not found. -- Found PkgConfig: /home/buildroot/autobuild/instance-0/output-1/host/bin/pkg-config (found version "1.6.1") -- Checking for module 'liblzma' -- Package 'liblzma', required by 'virtual:world', not found Disabled lzma codec. liblzma not found. CMake Warning (dev) at CMakeLists.txt:179 (set): Policy CMP0053 is not set: Simplify variable reference and escape sequence evaluation. Run "cmake --help-policy CMP0053" for policy details. Use the cmake_policy command to set the policy and suppress this warning. For input: '@ZLIB_PKG@ @LZMA_PKG@ @SNAPPY_PKG@' the old evaluation rules produce: 'zlib ' but the new evaluation rules produce: '@ZLIB_PKG@ @LZMA_PKG@ @SNAPPY_PKG@' Using the old result for compatibility since the policy is not set. This warning is for project developers. Use -Wno-dev to suppress it. -- Checking for module 'jansson>=2.3' -- Found jansson, version 2.12 -- Searching for asciidoc... CMake Warning at docs/CMakeLists.txt:51 (message): asciidoc not found. HTML documentation will *NOT* be built. -- 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-0/output-1/build/avro-c-1.9.1 >>> avro-c 1.9.1 Building PATH="/home/buildroot/autobuild/instance-0/output-1/host/bin:/home/buildroot/autobuild/instance-0/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/buildroot/.local/bin" /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1/ make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1' make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1' make[3]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1' make[3]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1' Scanning dependencies of target avro-static Scanning dependencies of target avro-shared make[3]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1' make[3]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1' make[3]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1' make[3]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1' [ 0%] Building C object src/CMakeFiles/avro-shared.dir/allocation.o [ 1%] Building C object src/CMakeFiles/avro-shared.dir/array.o [ 3%] Building C object src/CMakeFiles/avro-static.dir/allocation.o [ 3%] Building C object src/CMakeFiles/avro-static.dir/array.o [ 5%] Building C object src/CMakeFiles/avro-shared.dir/codec.o [ 5%] Building C object src/CMakeFiles/avro-static.dir/codec.o [ 5%] Building C object src/CMakeFiles/avro-shared.dir/consumer.o [ 5%] Building C object src/CMakeFiles/avro-static.dir/consumer.o [ 6%] Building C object src/CMakeFiles/avro-shared.dir/consume-binary.o [ 7%] Building C object src/CMakeFiles/avro-static.dir/consume-binary.o [ 9%] Building C object src/CMakeFiles/avro-shared.dir/datafile.o [ 9%] Building C object src/CMakeFiles/avro-static.dir/datafile.o [ 11%] Building C object src/CMakeFiles/avro-shared.dir/datum.o [ 11%] Building C object src/CMakeFiles/avro-static.dir/datum.o [ 11%] Building C object src/CMakeFiles/avro-static.dir/datum_equal.o [ 11%] Building C object src/CMakeFiles/avro-shared.dir/datum_equal.o [ 12%] Building C object src/CMakeFiles/avro-shared.dir/datum_read.o [ 13%] Building C object src/CMakeFiles/avro-shared.dir/datum_size.o [ 14%] Building C object src/CMakeFiles/avro-shared.dir/datum_skip.o [ 14%] Building C object src/CMakeFiles/avro-shared.dir/datum_validate.o [ 15%] Building C object src/CMakeFiles/avro-shared.dir/datum_value.o [ 16%] Building C object src/CMakeFiles/avro-static.dir/datum_read.o [ 17%] Building C object src/CMakeFiles/avro-shared.dir/datum_write.o /home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1/src/datum_value.c: In function 'avro_datum_value_get_type': /home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1/src/datum_value.c:86:2: warning: #warning "Bug: EINVAL is not of type avro_type_t." [-Wcpp] #warning "Bug: EINVAL is not of type avro_type_t." ^~~~~~~ [ 18%] Building C object src/CMakeFiles/avro-shared.dir/dump.o [ 19%] Building C object src/CMakeFiles/avro-static.dir/datum_size.o [ 20%] Building C object src/CMakeFiles/avro-static.dir/datum_skip.o [ 20%] Building C object src/CMakeFiles/avro-static.dir/datum_validate.o [ 20%] Building C object src/CMakeFiles/avro-shared.dir/encoding_binary.o [ 21%] Building C object src/CMakeFiles/avro-static.dir/datum_value.o [ 22%] Building C object src/CMakeFiles/avro-static.dir/datum_write.o /home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1/src/datum_value.c: In function 'avro_datum_value_get_type': /home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1/src/datum_value.c:86:2: warning: #warning "Bug: EINVAL is not of type avro_type_t." [-Wcpp] #warning "Bug: EINVAL is not of type avro_type_t." ^~~~~~~ [ 23%] Building C object src/CMakeFiles/avro-static.dir/dump.o [ 23%] Building C object src/CMakeFiles/avro-static.dir/encoding_binary.o [ 24%] Building C object src/CMakeFiles/avro-shared.dir/errors.o [ 25%] Building C object src/CMakeFiles/avro-shared.dir/generic.o [ 26%] Building C object src/CMakeFiles/avro-static.dir/errors.o [ 27%] Building C object src/CMakeFiles/avro-static.dir/generic.o [ 28%] Building C object src/CMakeFiles/avro-static.dir/io.o [ 28%] Building C object src/CMakeFiles/avro-static.dir/map.o [ 29%] Building C object src/CMakeFiles/avro-static.dir/memoize.o [ 30%] Building C object src/CMakeFiles/avro-static.dir/resolved-reader.o [ 31%] Building C object src/CMakeFiles/avro-static.dir/resolved-writer.o [ 32%] Building C object src/CMakeFiles/avro-shared.dir/io.o [ 32%] Building C object src/CMakeFiles/avro-shared.dir/map.o [ 33%] Building C object src/CMakeFiles/avro-shared.dir/memoize.o [ 34%] Building C object src/CMakeFiles/avro-shared.dir/resolved-reader.o [ 35%] Building C object src/CMakeFiles/avro-shared.dir/resolved-writer.o [ 35%] Building C object src/CMakeFiles/avro-static.dir/resolver.o [ 35%] Building C object src/CMakeFiles/avro-shared.dir/resolver.o [ 36%] Building C object src/CMakeFiles/avro-static.dir/schema.o [ 37%] Building C object src/CMakeFiles/avro-shared.dir/schema.o /home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1/src/schema.c: In function 'avro_schema_from_json_t': /home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1/src/schema.c:882:3: warning: #warning "Bug: '0' is not of type avro_type_t." [-Wcpp] #warning "Bug: '0' is not of type avro_type_t." ^~~~~~~ /home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1/src/schema.c: In function 'avro_schema_from_json_t': /home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1/src/schema.c:882:3: warning: #warning "Bug: '0' is not of type avro_type_t." [-Wcpp] #warning "Bug: '0' is not of type avro_type_t." ^~~~~~~ [ 38%] Building C object src/CMakeFiles/avro-shared.dir/schema_equal.o [ 39%] Building C object src/CMakeFiles/avro-shared.dir/st.o /home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1/src/st.c: In function 'st_foreach': /home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1/src/st.c:467:8: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!tmp) { ^ /home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1/src/st.c:476:4: note: here case ST_CONTINUE: ^~~~ [ 39%] Building C object src/CMakeFiles/avro-shared.dir/string.o [ 40%] Building C object src/CMakeFiles/avro-static.dir/schema_equal.o [ 41%] Building C object src/CMakeFiles/avro-shared.dir/value.o [ 42%] Building C object src/CMakeFiles/avro-static.dir/st.o /home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1/src/st.c: In function 'st_foreach': /home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1/src/st.c:467:8: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!tmp) { ^ /home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1/src/st.c:476:4: note: here case ST_CONTINUE: ^~~~ [ 43%] Building C object src/CMakeFiles/avro-shared.dir/value-hash.o [ 44%] Building C object src/CMakeFiles/avro-shared.dir/value-json.o /home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1/src/value-hash.c: In function 'hash_buffer': /home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1/src/value-hash.c:109:14: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3: k1 ^= tail[2] << 16; ~~~^~~~~~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1/src/value-hash.c:110:3: note: here case 2: k1 ^= tail[1] << 8; ^~~~ /home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1/src/value-hash.c:110:14: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2: k1 ^= tail[1] << 8; ~~~^~~~~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1/src/value-hash.c:111:3: note: here case 1: k1 ^= tail[0]; ^~~~ [ 44%] Building C object src/CMakeFiles/avro-shared.dir/value-read.o [ 44%] Building C object src/CMakeFiles/avro-static.dir/string.o [ 45%] Building C object src/CMakeFiles/avro-shared.dir/value-sizeof.o [ 46%] Building C object src/CMakeFiles/avro-static.dir/value.o [ 47%] Building C object src/CMakeFiles/avro-static.dir/value-hash.o /home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1/src/value-hash.c: In function 'hash_buffer': /home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1/src/value-hash.c:109:14: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3: k1 ^= tail[2] << 16; ~~~^~~~~~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1/src/value-hash.c:110:3: note: here case 2: k1 ^= tail[1] << 8; ^~~~ /home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1/src/value-hash.c:110:14: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2: k1 ^= tail[1] << 8; ~~~^~~~~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1/src/value-hash.c:111:3: note: here case 1: k1 ^= tail[0]; ^~~~ [ 48%] Building C object src/CMakeFiles/avro-shared.dir/value-write.o [ 49%] Building C object src/CMakeFiles/avro-static.dir/value-json.o [ 50%] Building C object src/CMakeFiles/avro-shared.dir/wrapped-buffer.o [ 50%] Building C object src/CMakeFiles/avro-static.dir/value-read.o [ 50%] Linking C shared library libavro.so make[3]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1' [ 50%] Built target avro-shared [ 51%] Building C object src/CMakeFiles/avro-static.dir/value-sizeof.o [ 52%] Building C object src/CMakeFiles/avro-static.dir/value-write.o [ 52%] Building C object src/CMakeFiles/avro-static.dir/wrapped-buffer.o [ 53%] Linking C static library libavro.a make[3]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1' [ 53%] Built target avro-static make[3]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1' make[3]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1' make[3]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1' make[3]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1' Scanning dependencies of target avroappend make[3]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1' make[3]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1' [ 54%] Building C object src/CMakeFiles/avroappend.dir/avroappend.o Scanning dependencies of target avromod Scanning dependencies of target avrocat Scanning dependencies of target avropipe make[3]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1' make[3]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1' make[3]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1' make[3]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1' make[3]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1' make[3]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1' [ 55%] Building C object src/CMakeFiles/avromod.dir/avromod.o [ 55%] Building C object src/CMakeFiles/avrocat.dir/avrocat.o [ 55%] Building C object src/CMakeFiles/avropipe.dir/avropipe.o [ 56%] Linking C executable avrocat [ 58%] Linking C executable avroappend [ 57%] Linking C executable avromod /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/8.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libavro.a(generic.o): in function `avro_refcount_inc': generic.c:(.text+0x1018): undefined reference to `__sync_add_and_fetch_4' /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/8.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libavro.a(generic.o): in function `avro_refcount_dec': generic.c:(.text+0x1b7c): undefined reference to `__sync_sub_and_fetch_4' /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/8.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libavro.a(resolved-reader.o): in function `avro_resolved_reader_incref': resolved-reader.c:(.text+0x294c): undefined reference to `__sync_add_and_fetch_4' /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/8.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libavro.a(resolved-reader.o): in function `avro_resolved_reader_decref': resolved-reader.c:(.text+0x2b24): undefined reference to `__sync_sub_and_fetch_4' /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/8.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libavro.a(resolved-reader.o): in function `avro_resolved_reader_incref_iface': resolved-reader.c:(.text+0x41f4): undefined reference to `__sync_add_and_fetch_4' /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/8.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libavro.a(resolved-reader.o): in function `avro_resolved_reader_decref_iface': resolved-reader.c:(.text+0x421c): undefined reference to `__sync_sub_and_fetch_4' /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/8.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libavro.a(resolved-writer.o): in function `avro_resolved_writer_incref': resolved-writer.c:(.text+0x19ec): undefined reference to `__sync_add_and_fetch_4' /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/8.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libavro.a(resolved-writer.o): in function `avro_resolved_writer_decref': resolved-writer.c:(.text+0x1f58): undefined reference to `__sync_sub_and_fetch_4' /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/8.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libavro.a(resolved-writer.o): in function `avro_resolved_writer_incref_iface': resolved-writer.c:(.text+0x24e4): undefined reference to `__sync_add_and_fetch_4' /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/8.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libavro.a(resolved-writer.o): in function `avro_resolved_writer_decref_iface': resolved-writer.c:(.text+0x250c): undefined reference to `__sync_sub_and_fetch_4' /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/8.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libavro.a(schema.o): in function `avro_refcount_inc': schema.c:(.text+0xe4): undefined reference to `__sync_add_and_fetch_4' /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/8.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libavro.a(schema.o): in function `avro_schema_decref': schema.c:(.text+0x344): undefined reference to `__sync_sub_and_fetch_4' /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/8.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libavro.a(wrapped-buffer.o): in function `avro_wrapped_copy_copy': wrapped-buffer.c:(.text+0x28): undefined reference to `__sync_add_and_fetch_4' /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/8.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libavro.a(wrapped-buffer.o): in function `avro_wrapped_copy_free': wrapped-buffer.c:(.text+0x94): undefined reference to `__sync_sub_and_fetch_4' /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/8.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libavro.a(datum.o): in function `avro_null': datum.c:(.text+0x1228): undefined reference to `__sync_add_and_fetch_4' /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/8.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libavro.a(datum.o): in function `avro_datum_incref': datum.c:(.text+0x20ec): undefined reference to `__sync_add_and_fetch_4' /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/8.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libavro.a(datum.o): in function `avro_datum_decref': datum.c:(.text+0x22c8): undefined reference to `__sync_sub_and_fetch_4' collect2: error: ld returned 1 exit status src/CMakeFiles/avrocat.dir/build.make:85: recipe for target 'src/avrocat' failed make[3]: *** [src/avrocat] Error 1 make[3]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1' CMakeFiles/Makefile2:166: recipe for target 'src/CMakeFiles/avrocat.dir/all' failed make[2]: *** [src/CMakeFiles/avrocat.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/8.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libavro.a(generic.o): in function `avro_refcount_inc': generic.c:(.text+0x1018): undefined reference to `__sync_add_and_fetch_4' /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/8.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libavro.a(generic.o): in function `avro_refcount_dec': generic.c:(.text+0x1b7c): undefined reference to `__sync_sub_and_fetch_4' /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/8.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libavro.a(resolved-reader.o): in function `/avro_resolved_reader_increfhome'/:buildroot /resolvedautobuild-/reader.cinstance:-(0./textoutput+-0x294c1)/:host /undefinedopt /referenceext -totoolchain /`bin__sync_add_and_fetch_4/'. .//homelib//buildrootgcc//autobuildsparc/-instancebuildroot--0linux/-outputuclibc-/18.3.0//host./.opt//.ext.-/toolchain./.bin//....//sparclib-/buildrootgcc-/linuxsparc--uclibcbuildroot/-binlinux/-lduclibc:/ 8.3.0libavro.a/(.generic.o.)/:. .in/ .function. /`.avro_refcount_inc.'/:sparc -generic.cbuildroot:-(linux.-textuclibc+/0x1018bin)/:ld :undefined libavro.areference( resolvedto- reader.o`)__sync_add_and_fetch_4:' in/ homefunction/ buildroot`/avro_resolved_reader_decrefautobuild'/:instance -resolved0-/reader.coutput:-(1./texthost+/0x2b24opt)/:ext -undefinedtoolchain /referencebin /to. .`/__sync_sub_and_fetch_4lib'/ gcc//homesparc/-buildrootbuildroot/-autobuildlinux/-instanceuclibc-/08.3.0//output.-.1//.host.//opt./.ext/-.toolchain.//binsparc/-.buildroot.-/linuxlib-/uclibcgcc//binsparc/-ldbuildroot:- linuxlibavro.a-(uclibcgeneric.o/)8.3.0:/ .in. /function. .`/avro_refcount_dec.'.:/ .generic.c.:/(sparc.-textbuildroot+-0x1b7clinux)-:uclibc /undefinedbin /referenceld :to libavro.a`(__sync_sub_and_fetch_4resolved'- reader.o/)home:/ buildrootin/ autobuildfunction/ instance`-avro_resolved_reader_incref_iface0'/:output -resolved1-/reader.chost:/(opt./textext+-0x41f4toolchain)/:bin /undefined. .reference/ libto/ gcc`/__sync_add_and_fetch_4sparc'- buildroot/-homelinux/-buildrootuclibc//autobuild8.3.0//instance.-.0//.output.-/1./.host//.opt.//extsparc--toolchainbuildroot/-binlinux/-.uclibc.//binlib//ldgcc:/ sparclibavro.a-(buildrootresolved--linuxreader.o-)uclibc:/ 8.3.0in/ .function. /`.avro_resolved_reader_incref.'/:. .resolved/-.reader.c.:/(sparc.-textbuildroot+-0x294clinux)-:uclibc /undefinedbin /referenceld :to libavro.a`(__sync_add_and_fetch_4resolved'- reader.o/)home:/ buildrootin/ autobuildfunction/ instance`-avro_resolved_reader_decref_iface0'/:output -resolved1-/reader.chost:/(opt./textext+-0x421ctoolchain)/:bin /undefined. .reference/ libto/ gcc`/__sync_sub_and_fetch_4sparc'- buildroot/-homelinux/-buildrootuclibc//autobuild8.3.0//instance.-.0//.output.-/1./.host//.opt.//extsparc--toolchainbuildroot/-binlinux/-.uclibc.//binlib//ldgcc:/ sparclibavro.a-(buildrootresolved--linuxreader.o-)uclibc:/ 8.3.0in/ .function. /`.avro_resolved_reader_decref.'/:. .resolved/-.reader.c.:/(sparc.-textbuildroot+-0x2b24linux)-:uclibc /undefinedbin /referenceld :to libavro.a`(__sync_sub_and_fetch_4resolved'- writer.o/)home:/ buildrootin/ autobuildfunction/ instance`-avro_resolved_writer_incref0'/:output -resolved1-/writer.chost:/(opt./textext+-0x19ectoolchain)/:bin /undefined. .reference/ libto/ gcc`/__sync_add_and_fetch_4sparc'- buildroot/-homelinux/-buildrootuclibc//autobuild8.3.0//instance.-.0//.output.-/1./.host//.opt.//extsparc--toolchainbuildroot/-binlinux/-.uclibc.//binlib//ldgcc:/ sparclibavro.a-(buildrootresolved--linuxreader.o-)uclibc:/ 8.3.0in/ .function. /`.avro_resolved_reader_incref_iface.'/:. .resolved/-.reader.c.:/(sparc.-textbuildroot+-0x41f4linux)-:uclibc /undefinedbin /referenceld :to libavro.a`(__sync_add_and_fetch_4resolved'- writer.o/)home:/ buildrootin/ autobuildfunction/ instance`-avro_resolved_writer_decref0'/:output -resolved1-/writer.chost:/(opt./textext+-0x1f58toolchain)/:bin /undefined. .reference/ libto/ gcc`/__sync_sub_and_fetch_4sparc'- buildroot/-homelinux/-buildrootuclibc//autobuild8.3.0//instance.-.0//.output.-/1./.host//.opt.//extsparc--toolchainbuildroot/-binlinux/-.uclibc.//binlib//ldgcc:/ sparclibavro.a-(buildrootresolved--linuxreader.o-)uclibc:/ 8.3.0in/ .function. /`.avro_resolved_reader_decref_iface.'/:. .resolved/-.reader.c.:/(sparc.-textbuildroot+-0x421clinux)-:uclibc /undefinedbin /referenceld :to libavro.a`(__sync_sub_and_fetch_4resolved'- writer.o/)home:/ buildrootin/ autobuildfunction/ instance`-avro_resolved_writer_incref_iface0'/:output -resolved1-/writer.chost:/(opt./textext+-0x24e4toolchain)/:bin /undefined. .reference/ libto/ gcc`/__sync_add_and_fetch_4sparc'- buildroot/-homelinux/-buildrootuclibc//autobuild8.3.0//instance.-.0//.output.-/1./.host//.opt.//extsparc--toolchainbuildroot/-binlinux/-.uclibc.//binlib//ldgcc:/ sparclibavro.a-(buildrootresolved--linuxwriter.o-)uclibc:/ 8.3.0in/ .function. /`.avro_resolved_writer_incref.'/:. .resolved/-.writer.c.:/(sparc.-textbuildroot+-0x19eclinux)-:uclibc /undefinedbin /referenceld :to libavro.a`(__sync_add_and_fetch_4resolved'- writer.o/)home:/ buildrootin/ autobuildfunction/ instance`-avro_resolved_writer_decref_iface0'/:output -resolved1-/writer.chost:/(opt./textext+-0x250ctoolchain)/:bin /undefined. .reference/ libto/ gcc`/__sync_sub_and_fetch_4sparc'- buildroot/-homelinux/-buildrootuclibc//autobuild8.3.0//instance.-.0//.output.-/1./.host//.opt.//extsparc--toolchainbuildroot/-binlinux/-.uclibc.//binlib//ldgcc:/ sparclibavro.a-(buildrootresolved--linuxwriter.o-)uclibc:/ 8.3.0in/ .function. /`.avro_resolved_writer_decref.'/:. .resolved/-.writer.c.:/(sparc.-textbuildroot+-0x1f58linux)-:uclibc /undefinedbin /referenceld :to libavro.a`(__sync_sub_and_fetch_4schema.o') :/ homein/ buildrootfunction/ autobuild`/avro_refcount_incinstance'-:0 /schema.coutput:-(1./texthost+/0xe4opt)/:ext -undefinedtoolchain /referencebin /to. .`/__sync_add_and_fetch_4lib'/ gcc//homesparc/-buildrootbuildroot/-autobuildlinux/-instanceuclibc-/08.3.0//output.-.1//.host.//opt./.ext/-.toolchain.//binsparc/-.buildroot.-/linuxlib-/uclibcgcc//binsparc/-ldbuildroot:- linuxlibavro.a-(uclibcresolved/-8.3.0writer.o/).:. /in. .function/ .`.avro_resolved_writer_incref_iface/'.:. /resolvedsparc--writer.cbuildroot:-(linux.-textuclibc+/0x24e4bin)/:ld :undefined libavro.areference( schema.oto) :` __sync_add_and_fetch_4in' function/ home`/avro_schema_decrefbuildroot'/:autobuild /schema.cinstance:-(0./textoutput+-0x3441)/:host /undefinedopt /referenceext -totoolchain /`bin__sync_sub_and_fetch_4/'. .//homelib//buildrootgcc//autobuildsparc/-instancebuildroot--0linux/-outputuclibc-/18.3.0//host./.opt//.ext.-/toolchain./.bin//....//sparclib-/buildrootgcc-/linuxsparc--uclibcbuildroot/-binlinux/-lduclibc:/ 8.3.0libavro.a/(.resolved.-/writer.o.).:/ .in. /function. .`/avro_resolved_writer_decref_ifacesparc'-:buildroot -resolvedlinux--writer.cuclibc:/(bin./textld+:0x250c )libavro.a:( wrappedundefined- buffer.oreference) :to in` __sync_sub_and_fetch_4function' `/avro_wrapped_copy_copyhome'/:buildroot /wrappedautobuild-/buffer.cinstance:-(0./textoutput+-0x281)/:host /undefinedopt /referenceext -totoolchain /`bin/__sync_add_and_fetch_4.'. //libhome//gccbuildroot//sparcautobuild-/buildrootinstance--linux0-/uclibcoutput/-8.3.01//.host.//opt./.ext/-.toolchain.//bin./../.sparc/-libbuildroot/-gcclinux/-sparcuclibc-/buildrootbin-/linuxld-:uclibc /libavro.a8.3.0(/schema.o.).:/ .in. /function. .`/avro_refcount_inc.'.:/ sparcschema.c-:buildroot(-.linuxtext-+uclibc0xe4/)bin:/ ldundefined: referencelibavro.a (towrapped -`buffer.o__sync_add_and_fetch_4)': /inhome /functionbuildroot /`autobuildavro_wrapped_copy_free/'instance:- 0wrapped/-outputbuffer.c-:1(/.hosttext/+opt0x94/)ext:- toolchainundefined/ binreference/ .to. /`lib__sync_sub_and_fetch_4/'gcc //sparchome-/buildrootbuildroot-/linuxautobuild-/uclibcinstance/-8.3.00//.output.-/1./.host//.opt.//ext.-.toolchain//sparcbin-/buildroot.-.linux/-libuclibc//gccbin//sparcld-:buildroot -libavro.alinux(-schema.ouclibc)/:8.3.0 /in. .function/ .`.avro_schema_decref/'.:. /schema.c.:.(/.sparctext-+buildroot0x344-)linux:- uclibcundefined/ binreference/ ldto: `libavro.a__sync_sub_and_fetch_4('datum.o )/:home /inbuildroot /functionautobuild /`instanceavro_null-'0:/ outputdatum.c-:1(/.hosttext/+opt0x1228/)ext:- toolchainundefined/ binreference/ .to. /`lib__sync_add_and_fetch_4/'gcc //sparchome-/buildrootbuildroot-/linuxautobuild-/uclibcinstance/-8.3.00//.output.-/1./.host//.opt.//ext.-.toolchain//sparcbin-/buildroot.-.linux/-libuclibc//gccbin//sparcld-:buildroot -libavro.alinux(-wrappeduclibc-/buffer.o8.3.0)/:. .in/ .function. /`.avro_wrapped_copy_copy.'/:. .wrapped/-sparcbuffer.c-:buildroot(-.linuxtext-+uclibc0x28/)bin:/ ldundefined: referencelibavro.a (todatum.o )`: __sync_add_and_fetch_4in' function/ home`/avro_datum_increfbuildroot'/:autobuild /datum.cinstance:-(0./textoutput+-0x20ec1)/:host /undefinedopt /referenceext -totoolchain /`bin__sync_add_and_fetch_4/'. .//homelib//buildrootgcc//autobuildsparc/-instancebuildroot--0linux/-outputuclibc-/18.3.0//host./.opt//.ext.-/toolchain./.bin//....//sparclib-/buildrootgcc-/linuxsparc--uclibcbuildroot/-binlinux/-lduclibc:/ 8.3.0libavro.a/(.wrapped.-/buffer.o.).:/ .in. /function. .`/avro_wrapped_copy_freesparc'-:buildroot -wrappedlinux--buffer.cuclibc:/(bin./textld+:0x94 )libavro.a:( datum.oundefined) :reference into function` __sync_sub_and_fetch_4`'avro_datum_decref '/:home /datum.cbuildroot:/(autobuild./textinstance+-0x22c80)/:output -undefined1 /referencehost /toopt /`ext__sync_sub_and_fetch_4-'toolchain /bin/../lib/gcc/sparc-buildroot-linux-uclibc/8.3.0/../../../../sparc-buildroot-linux-uclibc/collect2: error: ld returned 1 exit status bin/ld: libavro.a(datum.o): in function `avro_null': datum.c:(.text+0x1228): undefined reference to `__sync_add_and_fetch_4' /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/8.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libavro.a(datum.o): in function `avro_datum_incref': datum.c:(.text+0x20ec): undefined reference to `__sync_add_and_fetch_4' /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/8.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libavro.a(datum.o): in function `avro_datum_decref': datum.c:(.text+0x22c8): undefined reference to `__sync_sub_and_fetch_4' collect2: error: ld returned 1 exit status src/CMakeFiles/avromod.dir/build.make:85: recipe for target 'src/avromod' failed make[3]: *** [src/avromod] Error 1 make[3]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1' CMakeFiles/Makefile2:198: recipe for target 'src/CMakeFiles/avromod.dir/all' failed make[2]: *** [src/CMakeFiles/avromod.dir/all] Error 2 src/CMakeFiles/avroappend.dir/build.make:85: recipe for target 'src/avroappend' failed make[3]: *** [src/avroappend] Error 1 make[3]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1' CMakeFiles/Makefile2:134: recipe for target 'src/CMakeFiles/avroappend.dir/all' failed make[2]: *** [src/CMakeFiles/avroappend.dir/all] Error 2 [ 59%] Linking C executable avropipe /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/8.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libavro.a(generic.o): in function `avro_refcount_inc': generic.c:(.text+0x1018): undefined reference to `__sync_add_and_fetch_4' /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/8.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libavro.a(generic.o): in function `avro_refcount_dec': generic.c:(.text+0x1b7c): undefined reference to `__sync_sub_and_fetch_4' /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/8.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libavro.a(resolved-reader.o): in function `avro_resolved_reader_incref': resolved-reader.c:(.text+0x294c): undefined reference to `__sync_add_and_fetch_4' /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/8.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libavro.a(resolved-reader.o): in function `avro_resolved_reader_decref': resolved-reader.c:(.text+0x2b24): undefined reference to `__sync_sub_and_fetch_4' /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/8.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libavro.a(resolved-reader.o): in function `avro_resolved_reader_incref_iface': resolved-reader.c:(.text+0x41f4): undefined reference to `__sync_add_and_fetch_4' /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/8.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libavro.a(resolved-reader.o): in function `avro_resolved_reader_decref_iface': resolved-reader.c:(.text+0x421c): undefined reference to `__sync_sub_and_fetch_4' /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/8.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libavro.a(resolved-writer.o): in function `avro_resolved_writer_incref': resolved-writer.c:(.text+0x19ec): undefined reference to `__sync_add_and_fetch_4' /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/8.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libavro.a(resolved-writer.o): in function `avro_resolved_writer_decref': resolved-writer.c:(.text+0x1f58): undefined reference to `__sync_sub_and_fetch_4' /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/8.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libavro.a(resolved-writer.o): in function `avro_resolved_writer_incref_iface': resolved-writer.c:(.text+0x24e4): undefined reference to `__sync_add_and_fetch_4' /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/8.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libavro.a(resolved-writer.o): in function `avro_resolved_writer_decref_iface': resolved-writer.c:(.text+0x250c): undefined reference to `__sync_sub_and_fetch_4' /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/8.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libavro.a(schema.o): in function `avro_refcount_inc': schema.c:(.text+0xe4): undefined reference to `__sync_add_and_fetch_4' /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/8.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libavro.a(schema.o): in function `avro_schema_decref': schema.c:(.text+0x344): undefined reference to `__sync_sub_and_fetch_4' /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/8.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libavro.a(wrapped-buffer.o): in function `avro_wrapped_copy_copy': wrapped-buffer.c:(.text+0x28): undefined reference to `__sync_add_and_fetch_4' /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/8.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libavro.a(wrapped-buffer.o): in function `avro_wrapped_copy_free': wrapped-buffer.c:(.text+0x94): undefined reference to `__sync_sub_and_fetch_4' /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/8.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libavro.a(datum.o): in function `avro_null': datum.c:(.text+0x1228): undefined reference to `__sync_add_and_fetch_4' /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/8.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libavro.a(datum.o): in function `avro_datum_incref': datum.c:(.text+0x20ec): undefined reference to `__sync_add_and_fetch_4' /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/8.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libavro.a(datum.o): in function `avro_datum_decref': datum.c:(.text+0x22c8): undefined reference to `__sync_sub_and_fetch_4' collect2: error: ld returned 1 exit status src/CMakeFiles/avropipe.dir/build.make:85: recipe for target 'src/avropipe' failed make[3]: *** [src/avropipe] Error 1 make[3]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1' CMakeFiles/Makefile2:294: recipe for target 'src/CMakeFiles/avropipe.dir/all' failed make[2]: *** [src/CMakeFiles/avropipe.dir/all] Error 2 make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1' Makefile:162: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1' package/pkg-generic.mk:257: recipe for target '/home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-0/output-1/build/avro-c-1.9.1/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-0/buildroot'