>>> mbedtls 2.28.0 Extracting gzip -d -c /home/buildroot/autobuild/instance-0/dl/mbedtls/mbedtls-2.28.0.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-0/output-1/build/mbedtls-2.28.0 -xf - >>> mbedtls 2.28.0 Patching Applying 0001-bn_mul.h-fix-x86-PIC-inline-ASM-compilation-with-GCC.patch using patch: patching file include/mbedtls/bn_mul.h Hunk #1 succeeded at 94 (offset 44 lines). /bin/sed -i -e "s://#define MBEDTLS_THREADING_C:#define MBEDTLS_THREADING_C:" /home/buildroot/autobuild/instance-0/output-1/build/mbedtls-2.28.0/include/mbedtls/config.h /bin/sed -i -e "s://#define MBEDTLS_THREADING_PTHREAD:#define MBEDTLS_THREADING_PTHREAD:" /home/buildroot/autobuild/instance-0/output-1/build/mbedtls-2.28.0/include/mbedtls/config.h >>> mbedtls 2.28.0 Configuring (mkdir -p /home/buildroot/autobuild/instance-0/output-1/build/mbedtls-2.28.0/ && cd /home/buildroot/autobuild/instance-0/output-1/build/mbedtls-2.28.0/ && 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/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /home/buildroot/autobuild/instance-0/output-1/host/bin/cmake /home/buildroot/autobuild/instance-0/output-1/build/mbedtls-2.28.0/ -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 -DENABLE_PROGRAMS=ON -DENABLE_TESTING=OFF -DMBEDTLS_FATAL_WARNINGS=OFF -DUSE_SHARED_MBEDTLS_LIBRARY=ON -DUSE_STATIC_MBEDTLS_LIBRARY=OFF -DENABLE_ZLIB_SUPPORT=OFF ) -- The C compiler identification is GNU 4.8.3 -- Check for working C compiler: /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -- Check for working C compiler: /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Found Python3: /usr/bin/python3.5 (found version "3.5.3") found components: Interpreter -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- 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/mbedtls-2.28.0 >>> mbedtls 2.28.0 Building PATH="/home/buildroot/autobuild/instance-0/output-1/host/bin:/home/buildroot/autobuild/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-0/output-1/build/mbedtls-2.28.0/ make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/mbedtls-2.28.0' make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/mbedtls-2.28.0' make[3]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/mbedtls-2.28.0' make[3]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/mbedtls-2.28.0' make[3]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/mbedtls-2.28.0' Scanning dependencies of target dlopen make[3]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/mbedtls-2.28.0' make[3]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/mbedtls-2.28.0' [ 1%] Building C object programs/test/CMakeFiles/dlopen.dir/dlopen.c.o Scanning dependencies of target mbedtls_test make[3]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/mbedtls-2.28.0' make[3]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/mbedtls-2.28.0' [ 2%] Building C object CMakeFiles/mbedtls_test.dir/tests/src/asn1_helpers.c.o [ 2%] Building C object CMakeFiles/mbedtls_test.dir/tests/src/drivers/hash.c.o [ 3%] Building C object CMakeFiles/mbedtls_test.dir/tests/src/drivers/platform_builtin_keys.c.o Scanning dependencies of target mbedcrypto make[3]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/mbedtls-2.28.0' make[3]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/mbedtls-2.28.0' [ 3%] Building C object library/CMakeFiles/mbedcrypto.dir/aes.c.o [ 3%] Building C object CMakeFiles/mbedtls_test.dir/tests/src/drivers/test_driver_aead.c.o /home/buildroot/autobuild/instance-0/output-1/build/mbedtls-2.28.0/tests/src/drivers/platform_builtin_keys.c: In function 'mbedtls_psa_platform_get_builtin_key': /home/buildroot/autobuild/instance-0/output-1/build/mbedtls-2.28.0/tests/src/drivers/platform_builtin_keys.c:78:5: error: 'for' loop initial declarations are only allowed in C99 mode for( size_t i = 0; ^ /home/buildroot/autobuild/instance-0/output-1/build/mbedtls-2.28.0/tests/src/drivers/platform_builtin_keys.c:78:5: note: use option -std=c99 or -std=gnu99 to compile your code [ 3%] Linking C executable dlopen CMakeFiles/mbedtls_test.dir/build.make:91: recipe for target 'CMakeFiles/mbedtls_test.dir/tests/src/drivers/platform_builtin_keys.c.o' failed make[3]: *** [CMakeFiles/mbedtls_test.dir/tests/src/drivers/platform_builtin_keys.c.o] Error 1 make[3]: *** Waiting for unfinished jobs.... [ 4%] Building C object library/CMakeFiles/mbedcrypto.dir/aesni.c.o make[3]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/mbedtls-2.28.0' CMakeFiles/Makefile2:480: recipe for target 'CMakeFiles/mbedtls_test.dir/all' failed make[2]: *** [CMakeFiles/mbedtls_test.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... [ 4%] Building C object library/CMakeFiles/mbedcrypto.dir/arc4.c.o make[3]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/mbedtls-2.28.0' [ 4%] Built target dlopen [ 4%] Building C object library/CMakeFiles/mbedcrypto.dir/aria.c.o [ 5%] Building C object library/CMakeFiles/mbedcrypto.dir/asn1parse.c.o [ 5%] Building C object library/CMakeFiles/mbedcrypto.dir/asn1write.c.o [ 6%] Building C object library/CMakeFiles/mbedcrypto.dir/base64.c.o [ 6%] Building C object library/CMakeFiles/mbedcrypto.dir/bignum.c.o [ 6%] Building C object library/CMakeFiles/mbedcrypto.dir/blowfish.c.o [ 7%] Building C object library/CMakeFiles/mbedcrypto.dir/camellia.c.o /home/buildroot/autobuild/instance-0/output-1/build/mbedtls-2.28.0/library/bignum.c: In function 'mpi_select': /home/buildroot/autobuild/instance-0/output-1/build/mbedtls-2.28.0/library/bignum.c:1994:5: error: 'for' loop initial declarations are only allowed in C99 mode for( size_t i = 0; i < T_size; i++ ) ^ /home/buildroot/autobuild/instance-0/output-1/build/mbedtls-2.28.0/library/bignum.c:1994:5: note: use option -std=c99 or -std=gnu99 to compile your code library/CMakeFiles/mbedcrypto.dir/build.make:156: recipe for target 'library/CMakeFiles/mbedcrypto.dir/bignum.c.o' failed make[3]: *** [library/CMakeFiles/mbedcrypto.dir/bignum.c.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/mbedtls-2.28.0' CMakeFiles/Makefile2:534: recipe for target 'library/CMakeFiles/mbedcrypto.dir/all' failed make[2]: *** [library/CMakeFiles/mbedcrypto.dir/all] Error 2 make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/mbedtls-2.28.0' Makefile:132: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/mbedtls-2.28.0' package/pkg-generic.mk:292: recipe for target '/home/buildroot/autobuild/instance-0/output-1/build/mbedtls-2.28.0/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-0/output-1/build/mbedtls-2.28.0/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-0/buildroot'