>>> optee-client 3.4.0 Downloading --2019-02-25 13:10:29-- https://github.com/OP-TEE/optee_client/archive/3.4.0/optee-client-3.4.0.tar.gz Resolving github.com (github.com)... 192.30.253.113, 192.30.253.112 Connecting to github.com (github.com)|192.30.253.113|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/OP-TEE/optee_client/tar.gz/3.4.0 [following] --2019-02-25 13:10:29-- https://codeload.github.com/OP-TEE/optee_client/tar.gz/3.4.0 Resolving codeload.github.com (codeload.github.com)... 192.30.253.120, 192.30.253.121 Connecting to codeload.github.com (codeload.github.com)|192.30.253.120|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/home/dawncrow/buildroot-test/scripts/instance-0/output/build/.optee-client-3.4.0.tar.gz.9HOoh9/output' 0K .......... .......... .......... .......... ......... 216K=0.2s 2019-02-25 13:10:30 (216 KB/s) - '/home/dawncrow/buildroot-test/scripts/instance-0/output/build/.optee-client-3.4.0.tar.gz.9HOoh9/output' saved [50194] optee-client-3.4.0.tar.gz: OK (sha256: 7c131a44f4d73acb8816fba88bcd7e6a18537f0a522ae426a20e2ca7dc46a6ec) >>> optee-client 3.4.0 Extracting gzip -d -c /home/dawncrow/buildroot-test/scripts/instance-0/dl/optee-client/optee-client-3.4.0.tar.gz | tar --strip-components=1 -C /home/dawncrow/buildroot-test/scripts/instance-0/output/build/optee-client-3.4.0 -xf - >>> optee-client 3.4.0 Patching >>> optee-client 3.4.0 Configuring (mkdir -p /home/dawncrow/buildroot-test/scripts/instance-0/output/build/optee-client-3.4.0/ && cd /home/dawncrow/buildroot-test/scripts/instance-0/output/build/optee-client-3.4.0/ && rm -f CMakeCache.txt && PATH="/home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin:/home/dawncrow/buildroot-test/scripts/instance-0/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/cmake /home/dawncrow/buildroot-test/scripts/instance-0/output/build/optee-client-3.4.0/ -DCMAKE_TOOLCHAIN_FILE="/home/dawncrow/buildroot-test/scripts/instance-0/output/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.2.1 -- Check for working C compiler: /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/arc-buildroot-linux-uclibc-gcc -- Check for working C compiler: /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/arc-buildroot-linux-uclibc-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - 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/dawncrow/buildroot-test/scripts/instance-0/output/build/optee-client-3.4.0 >>> optee-client 3.4.0 Building PATH="/home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin:/home/dawncrow/buildroot-test/scripts/instance-0/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" /usr/bin/make -j6 -C /home/dawncrow/buildroot-test/scripts/instance-0/output/build/optee-client-3.4.0/ make[1]: Entering directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/optee-client-3.4.0' make[2]: Entering directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/optee-client-3.4.0' make[3]: Entering directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/optee-client-3.4.0' Scanning dependencies of target teec make[3]: Leaving directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/optee-client-3.4.0' make[3]: Entering directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/optee-client-3.4.0' [ 8%] Building C object libteec/CMakeFiles/teec.dir/src/tee_client_api.c.o [ 16%] Building C object libteec/CMakeFiles/teec.dir/src/teec_trace.c.o /home/dawncrow/buildroot-test/scripts/instance-0/output/build/optee-client-3.4.0/libteec/src/tee_client_api.c: In function 'TEEC_OpenSession': /home/dawncrow/buildroot-test/scripts/instance-0/output/build/optee-client-3.4.0/libteec/src/tee_client_api.c:507:8: error: cast increases required alignment of target type [-Werror=cast-align] arg = (struct tee_ioctl_open_session_arg *)buf; ^ /home/dawncrow/buildroot-test/scripts/instance-0/output/build/optee-client-3.4.0/libteec/src/tee_client_api.c: In function 'TEEC_InvokeCommand': /home/dawncrow/buildroot-test/scripts/instance-0/output/build/optee-client-3.4.0/libteec/src/tee_client_api.c:581:8: error: cast increases required alignment of target type [-Werror=cast-align] arg = (struct tee_ioctl_invoke_arg *)buf; ^ cc1: all warnings being treated as errors make[3]: *** [libteec/CMakeFiles/teec.dir/src/tee_client_api.c.o] Error 1 make[3]: Leaving directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/optee-client-3.4.0' make[2]: *** [libteec/CMakeFiles/teec.dir/all] Error 2 make[2]: Leaving directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/optee-client-3.4.0' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/optee-client-3.4.0' make: *** [/home/dawncrow/buildroot-test/scripts/instance-0/output/build/optee-client-3.4.0/.stamp_built] Error 2 make: Leaving directory `/home/dawncrow/buildroot-test/scripts/instance-0/buildroot'