>>> libp11 0.4.12 Extracting gzip -d -c /home/buildroot/autobuild/instance-1/dl/libp11/libp11-0.4.12.tar.gz | /home/buildroot/autobuild/instance-1/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/autobuild/instance-1/output-1/build/libp11-0.4.12 -xf - >>> libp11 0.4.12 Patching Applying 0001-src-p11_attr.c-fix-build-with-gcc-4.8.patch using patch: patching file src/p11_attr.c >>> libp11 0.4.12 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /home/buildroot/autobuild/instance-1/output-1/build/libp11-0.4.12 -name $file); do cp support/gnuconfig/$file $i; done; done >>> libp11 0.4.12 Patching libtool patching file /home/buildroot/autobuild/instance-1/output-1/build/libp11-0.4.12/ltmain.sh Hunk #1 succeeded at 2786 (offset 99 lines). Hunk #2 succeeded at 4376 (offset 99 lines). Hunk #3 succeeded at 6671 (offset 117 lines). Hunk #4 succeeded at 6681 (offset 117 lines). Hunk #5 succeeded at 6974 (offset 117 lines). Hunk #6 succeeded at 7266 (offset 117 lines). Hunk #7 succeeded at 8241 (offset 129 lines). Hunk #8 succeeded at 10873 (offset 163 lines). >>> libp11 0.4.12 Configuring (cd /home/buildroot/autobuild/instance-1/output-1/build/libp11-0.4.12/ && rm -rf config.cache && 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" AR="/home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-gcc-ar" AS="/home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-as" LD="/home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-ld" NM="/home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-gcc-nm" CC="/home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-gcc" GCC="/home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-gcc" CPP="/home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-cpp" CXX="/home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-g++" FC="/home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-gfortran" F77="/home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-gfortran" RANLIB="/home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-gcc-ranlib" READELF="/home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-readelf" STRIP="/bin/true" OBJCOPY="/home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-objcopy" OBJDUMP="/home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/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/arc-buildroot-linux-uclibc-as" DEFAULT_LINKER="/home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-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 -O2 -g0 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 " LDFLAGS="" FCFLAGS=" -O2 -g0" FFLAGS=" -O2 -g0" PKG_CONFIG="/home/buildroot/autobuild/instance-1/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/autobuild/instance-1/output-1/host/arc-buildroot-linux-uclibc/sysroot" INTLTOOL_PERL=/usr/bin/perl CXX=no 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 CONFIG_SITE=/dev/null ./configure --target=arc-buildroot-linux-uclibc --host=arc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --enable-shared --with-enginesdir=`/home/buildroot/autobuild/instance-1/output-1/host/bin/pkg-config --variable libdir libcrypto | xargs readlink -f | sed 's%^/home/buildroot/autobuild/instance-1/output-1/host/arc-buildroot-linux-uclibc/sysroot%%'` ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls checking build system type... x86_64-pc-linux-gnu checking host system type... arc-buildroot-linux-uclibc checking target system type... arc-buildroot-linux-uclibc checking for a BSD-compatible install... /home/buildroot/autobuild/instance-1/output-1/host/bin/install -c checking whether build environment is sane... yes checking for arc-buildroot-linux-uclibc-strip... /bin/true checking for a thread-safe mkdir -p... /home/buildroot/autobuild/instance-1/output-1/host/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for arc-buildroot-linux-uclibc-gcc... /home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-gcc accepts -g... yes checking for /home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-gcc option to accept ISO C89... none needed checking whether /home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of /home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-gcc... none checking pkg-config is at least version 0.9.0... yes checking how to run the C preprocessor... /home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-cpp checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... (cached) no checking if LD -Wl,--version-script works... yes checking how to run the C preprocessor... /home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-cpp checking whether ln -s works... yes checking for a sed that does not truncate output... /usr/bin/sed checking whether make sets $(MAKE)... (cached) yes checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by /home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-gcc... /home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-ld checking if the linker (/home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-gcc-nm checking the name lister (/home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-gcc-nm) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to arc-buildroot-linux-uclibc format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-ld option to reload object files... -r checking for arc-buildroot-linux-uclibc-objdump... /home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-objdump checking how to recognize dependent libraries... pass_all checking for arc-buildroot-linux-uclibc-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for arc-buildroot-linux-uclibc-ar... /home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-gcc-ar checking for archiver @FILE support... @ checking for arc-buildroot-linux-uclibc-strip... (cached) /bin/true checking for arc-buildroot-linux-uclibc-ranlib... /home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-gcc-ranlib checking command to parse /home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-gcc-nm output from /home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-gcc object... ok checking for sysroot... no checking for a working dd... /home/buildroot/autobuild/instance-1/output-1/host/bin/dd checking how to truncate binary pipes... /home/buildroot/autobuild/instance-1/output-1/host/bin/dd bs=4096 count=1 checking for arc-buildroot-linux-uclibc-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if /home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-gcc supports -fno-rtti -fno-exceptions... no checking for /home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-gcc option to produce PIC... -fPIC -DPIC checking if /home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-gcc PIC flag -fPIC -DPIC works... yes checking if /home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-gcc static flag -static works... yes checking if /home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-gcc supports -c -o file.o... yes checking if /home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-gcc supports -c -o file.o... (cached) yes checking whether the /home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-gcc linker (/home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for arc-buildroot-linux-uclibc-windres... no checking for windres... no checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for stdlib.h... (cached) yes checking for inttypes.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for dlfcn.h... (cached) yes checking utmp.h usability... yes checking utmp.h presence... yes checking for utmp.h... yes checking for doxygen... doxygen checking for library containing dlopen... none required checking whether /home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-gcc is Clang... no checking whether pthreads work with "-pthread" and "-lpthread"... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... no checking for libcrypto >= 0.9.8... yes checking if libtool needs -no-undefined flag to build shared libraries... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/libp11.pc config.status: creating src/libp11.rc config.status: creating src/pkcs11.rc config.status: creating doc/Makefile config.status: creating doc/doxygen.conf config.status: creating examples/Makefile config.status: creating tests/Makefile config.status: creating src/config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls configure: creating src/libp11.map libp11 has been configured with the following options: Version: 0.4.12 libp11 directory: /usr/lib Engine directory: /usr/lib Default PKCS11 module: API doc support: no Host: arc-buildroot-linux-uclibc Compiler: /home/buildroot/autobuild/instance-1/output-1/host/bin/arc-buildroot-linux-uclibc-gcc Preprocessor flags: -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 Compiler flags: -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -pthread Linker flags: Libraries: -lpthread OPENSSL_CFLAGS: OPENSSL_LIBS: -L/home/buildroot/autobuild/instance-1/output-1/host/bin/../arc-buildroot-linux-uclibc/sysroot/usr/lib -lcrypto >>> libp11 0.4.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" /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-1/output-1/build/libp11-0.4.12/ make[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/libp11-0.4.12' Making all in src make[2]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/libp11-0.4.12/src' /usr/bin/make all-am make[3]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/libp11-0.4.12/src' CC pkcs11_la-eng_front.lo CC pkcs11_la-eng_parse.lo CC pkcs11_la-eng_back.lo CC pkcs11_la-eng_err.lo CC libp11_la-libpkcs11.lo CC libp11_la-p11_attr.lo CC libp11_la-p11_cert.lo CC libp11_la-p11_err.lo CC libp11_la-p11_ckr.lo CC libp11_la-p11_key.lo CC libp11_la-p11_load.lo CC libp11_la-p11_misc.lo CC libp11_la-p11_rsa.lo CC libp11_la-p11_ec.lo CC libp11_la-p11_pkey.lo CC libp11_la-p11_slot.lo CC libp11_la-p11_front.lo CC libp11_la-p11_atfork.lo CCLD pkcs11.la CCLD libp11.la make[3]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/libp11-0.4.12/src' make[2]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/libp11-0.4.12/src' Making all in doc make[2]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/libp11-0.4.12/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/libp11-0.4.12/doc' Making all in examples make[2]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/libp11-0.4.12/examples' CC auth.o CC decrypt.o CC getrandom.o CC listkeys.o decrypt.c: In function 'main': decrypt.c:261:2: warning: 'PKCS11_private_decrypt' is deprecated: This function will be removed in libp11 0.5.0 [-Wdeprecated-declarations] 261 | rc = PKCS11_private_decrypt(len, encrypted, | ^~ In file included from decrypt.c:48: ../src/libp11.h:501:32: note: declared here 501 | P11_DEPRECATED_FUNC extern int PKCS11_private_decrypt( | ^~~~~~~~~~~~~~~~~~~~~~ auth.c: In function 'main': auth.c:252:2: warning: 'PKCS11_sign' is deprecated: This function will be removed in libp11 0.5.0 [-Wdeprecated-declarations] 252 | rc = PKCS11_sign(NID_sha1, random, RANDOM_SIZE, | ^~ In file included from auth.c:48: ../src/libp11.h:477:32: note: declared here 477 | P11_DEPRECATED_FUNC extern int PKCS11_sign(int type, | ^~~~~~~~~~~ CCLD getrandom CCLD listkeys CCLD decrypt CCLD auth /home/buildroot/autobuild/instance-1/output-1/host/lib/gcc/arc-buildroot-linux-uclibc/10.2.0/../../../../arc-buildroot-linux-uclibc/bin/ld: ../src/.libs/libp11.so: undefined reference to `__atomic_fetch_add_4' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:399: getrandom] Error 1 make[2]: *** Waiting for unfinished jobs.... /home/buildroot/autobuild/instance-1/output-1/host/lib/gcc/arc-buildroot-linux-uclibc/10.2.0/../../../../arc-buildroot-linux-uclibc/bin/ld: ../src/.libs/libp11.so: undefined reference to `__atomic_fetch_add_4' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:403: listkeys] Error 1 /home/buildroot/autobuild/instance-1/output-1/host/lib/gcc/arc-buildroot-linux-uclibc/10.2.0/../../../../arc-buildroot-linux-uclibc/bin/ld: ../src/.libs/libp11.so: undefined reference to `__atomic_fetch_add_4' collect2: error: ld returned 1 exit status /home/buildroot/autobuild/instance-1/output-1/host/lib/gcc/arc-buildroot-linux-uclibc/10.2.0/../../../../arc-buildroot-linux-uclibc/bin/ld: ../src/.libs/libp11.so: undefined reference to `__atomic_fetch_add_4' make[2]: *** [Makefile:395: decrypt] Error 1 collect2: error: ld returned 1 exit status make[2]: *** [Makefile:391: auth] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/libp11-0.4.12/examples' make[1]: *** [Makefile:480: all-recursive] Error 1 make[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/libp11-0.4.12' make: *** [package/pkg-generic.mk:293: /home/buildroot/autobuild/instance-1/output-1/build/libp11-0.4.12/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-1/buildroot'