>>> libzlib 1.2.12 Extracting xzcat /home/buildroot/autobuild/instance-1/dl/libzlib/zlib-1.2.12.tar.xz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-1/output-1/build/libzlib-1.2.12 -xf - >>> libzlib 1.2.12 Patching Applying 0001-Fix-configure-issue-that-discarded-provided-CC-definition.patch using patch: patching file configure Applying 0002-fix-CVE-2022-37434.patch using patch: patching file inflate.c Applying 0003-fix-CVE-2022-37434-regression.patch using patch: patching file inflate.c >>> libzlib 1.2.12 Configuring (cd /home/buildroot/autobuild/instance-1/output-1/build/libzlib-1.2.12; rm -rf config.cache; ac_cv_lbl_unaligned_fail=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no PATH="/home/buildroot/autobuild/instance-1/output-1/host/bin:/home/buildroot/autobuild/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" AR="/home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gnu-gcc-ar" AS="/home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gnu-as" LD="/home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gnu-ld" NM="/home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gnu-gcc-nm" CC="/home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gnu-gcc" GCC="/home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gnu-gcc" CPP="/home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gnu-cpp" CXX="/home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gnu-g++" FC="/home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gnu-gfortran" F77="/home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gnu-gfortran" RANLIB="/home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gnu-gcc-ranlib" READELF="/home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gnu-readelf" STRIP="/bin/true" OBJCOPY="/home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gnu-objcopy" OBJDUMP="/home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gnu-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/home/buildroot/autobuild/instance-1/output-1/host/bin/ccache /usr/bin/gcc" GCC_FOR_BUILD="/home/buildroot/autobuild/instance-1/output-1/host/bin/ccache /usr/bin/gcc" CXX_FOR_BUILD="/home/buildroot/autobuild/instance-1/output-1/host/bin/ccache /usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/buildroot/autobuild/instance-1/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-1/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-1/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/autobuild/instance-1/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/instance-1/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gnu-as" DEFAULT_LINKER="/home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gnu-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=1" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=1" LDFLAGS="" FCFLAGS=" -Og -g0" FFLAGS=" -Og -g0" PKG_CONFIG="/home/buildroot/autobuild/instance-1/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/autobuild/instance-1/output-1/host/mips64el-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=1 -fPIC" ./configure --shared --prefix=/usr ) Checking for shared library support... No shared library support; try without defining CC and CFLAGS Building static library libz.a version 1.2.12 with /home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gnu-gcc. Checking for size_t... Yes. Checking for off64_t... Yes. Checking for fseeko... Yes. Checking for strerror... No. Checking for unistd.h... Yes. Checking for stdarg.h... Yes. Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf(). Checking for vsnprintf() in stdio.h... No. WARNING: vsnprintf() not found, falling back to vsprintf(). zlib can build but will be open to possible buffer-overflow security vulnerabilities. Checking for return value of vsprintf()... Yes. Checking for attribute(visibility) support... Yes. >>> libzlib 1.2.12 Building PATH="/home/buildroot/autobuild/instance-1/output-1/host/bin:/home/buildroot/autobuild/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /usr/bin/make -j1 -C /home/buildroot/autobuild/instance-1/output-1/build/libzlib-1.2.12 make[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/libzlib-1.2.12' /home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=1 -fPIC -D_LARGEFILE64_SOURCE=1 -DNO_STRERROR -DNO_vsnprintf -DHAVE_HIDDEN -I. -c -o example.o test/example.c /home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=1 -fPIC -D_LARGEFILE64_SOURCE=1 -DNO_STRERROR -DNO_vsnprintf -DHAVE_HIDDEN -c -o adler32.o adler32.c /home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=1 -fPIC -D_LARGEFILE64_SOURCE=1 -DNO_STRERROR -DNO_vsnprintf -DHAVE_HIDDEN -c -o crc32.o crc32.c /home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=1 -fPIC -D_LARGEFILE64_SOURCE=1 -DNO_STRERROR -DNO_vsnprintf -DHAVE_HIDDEN -c -o deflate.o deflate.c /home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=1 -fPIC -D_LARGEFILE64_SOURCE=1 -DNO_STRERROR -DNO_vsnprintf -DHAVE_HIDDEN -c -o infback.o infback.c /home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=1 -fPIC -D_LARGEFILE64_SOURCE=1 -DNO_STRERROR -DNO_vsnprintf -DHAVE_HIDDEN -c -o inffast.o inffast.c /home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=1 -fPIC -D_LARGEFILE64_SOURCE=1 -DNO_STRERROR -DNO_vsnprintf -DHAVE_HIDDEN -c -o inflate.o inflate.c /home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=1 -fPIC -D_LARGEFILE64_SOURCE=1 -DNO_STRERROR -DNO_vsnprintf -DHAVE_HIDDEN -c -o inftrees.o inftrees.c /home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=1 -fPIC -D_LARGEFILE64_SOURCE=1 -DNO_STRERROR -DNO_vsnprintf -DHAVE_HIDDEN -c -o trees.o trees.c /home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=1 -fPIC -D_LARGEFILE64_SOURCE=1 -DNO_STRERROR -DNO_vsnprintf -DHAVE_HIDDEN -c -o zutil.o zutil.c /home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=1 -fPIC -D_LARGEFILE64_SOURCE=1 -DNO_STRERROR -DNO_vsnprintf -DHAVE_HIDDEN -c -o compress.o compress.c /home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=1 -fPIC -D_LARGEFILE64_SOURCE=1 -DNO_STRERROR -DNO_vsnprintf -DHAVE_HIDDEN -c -o uncompr.o uncompr.c /home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=1 -fPIC -D_LARGEFILE64_SOURCE=1 -DNO_STRERROR -DNO_vsnprintf -DHAVE_HIDDEN -c -o gzclose.o gzclose.c /home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=1 -fPIC -D_LARGEFILE64_SOURCE=1 -DNO_STRERROR -DNO_vsnprintf -DHAVE_HIDDEN -c -o gzlib.o gzlib.c /home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=1 -fPIC -D_LARGEFILE64_SOURCE=1 -DNO_STRERROR -DNO_vsnprintf -DHAVE_HIDDEN -c -o gzread.o gzread.c /home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=1 -fPIC -D_LARGEFILE64_SOURCE=1 -DNO_STRERROR -DNO_vsnprintf -DHAVE_HIDDEN -c -o gzwrite.o gzwrite.c /home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gnu-gcc-ar rc libz.a adler32.o crc32.o deflate.o infback.o inffast.o inflate.o inftrees.o trees.o zutil.o compress.o uncompr.o gzclose.o gzlib.o gzread.o gzwrite.o /home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=1 -fPIC -D_LARGEFILE64_SOURCE=1 -DNO_STRERROR -DNO_vsnprintf -DHAVE_HIDDEN -o example example.o -L. libz.a /home/buildroot/autobuild/instance-1/output-1/host/mips64el-buildroot-linux-gnu/sysroot/el/lib64/ld.so.1: error adding symbols: File in wrong format collect2: error: ld returned 1 exit status Makefile:289: recipe for target 'example' failed make[1]: *** [example] Error 1 make[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/libzlib-1.2.12' package/pkg-generic.mk:290: recipe for target '/home/buildroot/autobuild/instance-1/output-1/build/libzlib-1.2.12/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-1/output-1/build/libzlib-1.2.12/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-1/buildroot'