The target system is: Buildroot - 1 - riscv64 The host system is: Linux - 5.4.0-80-generic - x86_64 Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. Compiler: /tmp/instance-5/output-1/host/bin/riscv64-linux-gcc Build flags: -D_LARGEFILE_SOURCE;-D_LARGEFILE64_SOURCE;-D_FILE_OFFSET_BITS=64;-Os;-g0;-static Id flags: The output was: 0 Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out" The C compiler identification is GNU, found in "/tmp/instance-5/output-1/build/optee-client-3.13.0/CMakeFiles/3.16.9/CompilerIdC/a.out" Determining if the C compiler works passed with the following output: Change Dir: /tmp/instance-5/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_ca172/fast && make[1]: Entering directory '/tmp/instance-5/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_ca172.dir/build.make CMakeFiles/cmTC_ca172.dir/build make[2]: Entering directory '/tmp/instance-5/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_ca172.dir/testCCompiler.c.o /tmp/instance-5/output-1/host/bin/riscv64-linux-gcc --sysroot=/tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -DNDEBUG -o CMakeFiles/cmTC_ca172.dir/testCCompiler.c.o -c /tmp/instance-5/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp/testCCompiler.c Linking C executable cmTC_ca172 /tmp/instance-5/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ca172.dir/link.txt --verbose=1 /tmp/instance-5/output-1/host/bin/riscv64-linux-gcc --sysroot=/tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -DNDEBUG -static CMakeFiles/cmTC_ca172.dir/testCCompiler.c.o -o cmTC_ca172 make[2]: Leaving directory '/tmp/instance-5/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp' make[1]: Leaving directory '/tmp/instance-5/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp' Detecting C compiler ABI info compiled with the following output: Change Dir: /tmp/instance-5/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_5604d/fast && make[1]: Entering directory '/tmp/instance-5/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_5604d.dir/build.make CMakeFiles/cmTC_5604d.dir/build make[2]: Entering directory '/tmp/instance-5/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_5604d.dir/CMakeCCompilerABI.c.o /tmp/instance-5/output-1/host/bin/riscv64-linux-gcc --sysroot=/tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -DNDEBUG -v -o CMakeFiles/cmTC_5604d.dir/CMakeCCompilerABI.c.o -c /tmp/instance-5/output-1/host/share/cmake-3.16/Modules/CMakeCCompilerABI.c Using built-in specs. COLLECT_GCC=/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/riscv64-linux-gcc.br_real Target: riscv64-buildroot-linux-musl Configured with: ./configure --prefix=/opt/riscv64--musl--bleeding-edge-2020.08-1 --sysconfdir=/opt/riscv64--musl--bleeding-edge-2020.08-1/etc --enable-static --target=riscv64-buildroot-linux-musl --with-sysroot=/opt/riscv64--musl--bleeding-edge-2020.08-1/riscv64-buildroot-linux-musl/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/opt/riscv64--musl--bleeding-edge-2020.08-1 --with-mpc=/opt/riscv64--musl--bleeding-edge-2020.08-1 --with-mpfr=/opt/riscv64--musl--bleeding-edge-2020.08-1 --with-pkgversion='Buildroot 2020.08-14-ge5a2a90' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libmpx --disable-libquadmath --disable-libquadmath-support --disable-libsanitizer --enable-tls --enable-threads --without-isl --without-cloog --with-arch=rv64imafd --with-abi=lp64 --enable-languages=c,c++,fortran --with-build-time-tools=/opt/riscv64--musl--bleeding-edge-2020.08-1/riscv64-buildroot-linux-musl/bin --enable-shared --disable-libgomp Thread model: posix Supported LTO compression algorithms: zlib gcc version 10.2.0 (Buildroot 2020.08-14-ge5a2a90) COLLECT_GCC_OPTIONS='-mabi=lp64' '-fstack-protector-strong' '-march=rv64imafd' '-D' '_LARGEFILE_SOURCE' '-D' '_LARGEFILE64_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-Os' '-g0' '-static' '-D' 'NDEBUG' '-v' '-o' 'CMakeFiles/cmTC_5604d.dir/CMakeCCompilerABI.c.o' '-c' /tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/10.2.0/cc1 -quiet -v -iprefix /tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/ -isysroot /tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot -D _LARGEFILE_SOURCE -D _LARGEFILE64_SOURCE -D _FILE_OFFSET_BITS=64 -D NDEBUG /tmp/instance-5/output-1/host/share/cmake-3.16/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mabi=lp64 -march=rv64imafd -auxbase-strip CMakeFiles/cmTC_5604d.dir/CMakeCCompilerABI.c.o -g0 -Os -version -fstack-protector-strong -o /tmp/ccuObqa9.s GNU C17 (Buildroot 2020.08-14-ge5a2a90) version 10.2.0 (riscv64-buildroot-linux-musl) compiled by GNU C version 4.9.2, GMP version 6.1.2, MPFR version 4.0.2, MPC version 1.1.0, isl version none GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 ignoring nonexistent directory "/tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/local/include" ignoring duplicate directory "/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/../../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/include" ignoring duplicate directory "/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/../../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/include" #include "..." search starts here: #include <...> search starts here: /tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/include /tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/include /tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include End of search list. GNU C17 (Buildroot 2020.08-14-ge5a2a90) version 10.2.0 (riscv64-buildroot-linux-musl) compiled by GNU C version 4.9.2, GMP version 6.1.2, MPFR version 4.0.2, MPC version 1.1.0, isl version none GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: cf239d7b2d051d74e31adc67075923d4 COLLECT_GCC_OPTIONS='-mabi=lp64' '-fstack-protector-strong' '-march=rv64imafd' '-D' '_LARGEFILE_SOURCE' '-D' '_LARGEFILE64_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-Os' '-g0' '-static' '-D' 'NDEBUG' '-v' '-o' 'CMakeFiles/cmTC_5604d.dir/CMakeCCompilerABI.c.o' '-c' /tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/bin/as -v --traditional-format -march=rv64imafd -mabi=lp64 -o CMakeFiles/cmTC_5604d.dir/CMakeCCompilerABI.c.o /tmp/ccuObqa9.s GNU assembler version 2.34 (riscv64-buildroot-linux-musl) using BFD version (GNU Binutils) 2.34 COMPILER_PATH=/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/10.2.0/:/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/:/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/bin/ LIBRARY_PATH=/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/:/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/:/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/lib/:/tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot/lib/:/tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/ COLLECT_GCC_OPTIONS='-mabi=lp64' '-fstack-protector-strong' '-march=rv64imafd' '-D' '_LARGEFILE_SOURCE' '-D' '_LARGEFILE64_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-Os' '-g0' '-static' '-D' 'NDEBUG' '-v' '-o' 'CMakeFiles/cmTC_5604d.dir/CMakeCCompilerABI.c.o' '-c' Linking C executable cmTC_5604d /tmp/instance-5/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5604d.dir/link.txt --verbose=1 /tmp/instance-5/output-1/host/bin/riscv64-linux-gcc --sysroot=/tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -DNDEBUG -static -v CMakeFiles/cmTC_5604d.dir/CMakeCCompilerABI.c.o -o cmTC_5604d Using built-in specs. COLLECT_GCC=/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/riscv64-linux-gcc.br_real COLLECT_LTO_WRAPPER=/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/10.2.0/lto-wrapper Target: riscv64-buildroot-linux-musl Configured with: ./configure --prefix=/opt/riscv64--musl--bleeding-edge-2020.08-1 --sysconfdir=/opt/riscv64--musl--bleeding-edge-2020.08-1/etc --enable-static --target=riscv64-buildroot-linux-musl --with-sysroot=/opt/riscv64--musl--bleeding-edge-2020.08-1/riscv64-buildroot-linux-musl/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/opt/riscv64--musl--bleeding-edge-2020.08-1 --with-mpc=/opt/riscv64--musl--bleeding-edge-2020.08-1 --with-mpfr=/opt/riscv64--musl--bleeding-edge-2020.08-1 --with-pkgversion='Buildroot 2020.08-14-ge5a2a90' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libmpx --disable-libquadmath --disable-libquadmath-support --disable-libsanitizer --enable-tls --enable-threads --without-isl --without-cloog --with-arch=rv64imafd --with-abi=lp64 --enable-languages=c,c++,fortran --with-build-time-tools=/opt/riscv64--musl--bleeding-edge-2020.08-1/riscv64-buildroot-linux-musl/bin --enable-shared --disable-libgomp Thread model: posix Supported LTO compression algorithms: zlib gcc version 10.2.0 (Buildroot 2020.08-14-ge5a2a90) COMPILER_PATH=/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/10.2.0/:/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/:/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/bin/ LIBRARY_PATH=/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/:/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/:/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/lib/:/tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot/lib/:/tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/ COLLECT_GCC_OPTIONS='-mabi=lp64' '-fstack-protector-strong' '-march=rv64imafd' '-D' '_LARGEFILE_SOURCE' '-D' '_LARGEFILE64_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-Os' '-g0' '-static' '-D' 'NDEBUG' '-static' '-v' '-o' 'cmTC_5604d' /tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/10.2.0/collect2 -plugin /tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/10.2.0/liblto_plugin.so -plugin-opt=/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/10.2.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccFxlU05.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_eh -plugin-opt=-pass-through=-lc --sysroot=/tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot -melf64lriscv_lp64 -static -o cmTC_5604d /tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot/lib/crt1.o /tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/crti.o /tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/crtbeginT.o -L/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0 -L/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc -L/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/lib -L/tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot/lib -L/tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib CMakeFiles/cmTC_5604d.dir/CMakeCCompilerABI.c.o --start-group -lgcc -lgcc_eh -lc --end-group /tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/crtend.o /tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/crtn.o COLLECT_GCC_OPTIONS='-mabi=lp64' '-fstack-protector-strong' '-march=rv64imafd' '-D' '_LARGEFILE_SOURCE' '-D' '_LARGEFILE64_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-Os' '-g0' '-static' '-D' 'NDEBUG' '-static' '-v' '-o' 'cmTC_5604d' make[2]: Leaving directory '/tmp/instance-5/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp' make[1]: Leaving directory '/tmp/instance-5/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp' Parsed C implicit include dir info from above output: rv=done found start of include info found start of implicit include info add: [/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/include] add: [/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/include] add: [/tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include] end of search list found collapse include dir [/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/include] ==> [/tmp/instance-5/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include] collapse include dir [/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/include] ==> [/tmp/instance-5/output-1/host/opt/ext-toolchain/lib/gcc/riscv64-buildroot-linux-musl/10.2.0/include] collapse include dir [/tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include] ==> [/tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include] implicit include dirs: [/tmp/instance-5/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include;/tmp/instance-5/output-1/host/opt/ext-toolchain/lib/gcc/riscv64-buildroot-linux-musl/10.2.0/include;/tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include] Parsed C implicit link information from above output: link line regex: [^( *|.*[/\])(riscv64-linux-ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)] ignore line: [Change Dir: /tmp/instance-5/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp] ignore line: [] ignore line: [Run Build Command(s):/usr/bin/make cmTC_5604d/fast && make[1]: Entering directory '/tmp/instance-5/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp'] ignore line: [/usr/bin/make -f CMakeFiles/cmTC_5604d.dir/build.make CMakeFiles/cmTC_5604d.dir/build] ignore line: [make[2]: Entering directory '/tmp/instance-5/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp'] ignore line: [Building C object CMakeFiles/cmTC_5604d.dir/CMakeCCompilerABI.c.o] ignore line: [/tmp/instance-5/output-1/host/bin/riscv64-linux-gcc --sysroot=/tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -DNDEBUG -v -o CMakeFiles/cmTC_5604d.dir/CMakeCCompilerABI.c.o -c /tmp/instance-5/output-1/host/share/cmake-3.16/Modules/CMakeCCompilerABI.c] ignore line: [Using built-in specs.] ignore line: [COLLECT_GCC=/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/riscv64-linux-gcc.br_real] ignore line: [Target: riscv64-buildroot-linux-musl] ignore line: [Configured with: ./configure --prefix=/opt/riscv64--musl--bleeding-edge-2020.08-1 --sysconfdir=/opt/riscv64--musl--bleeding-edge-2020.08-1/etc --enable-static --target=riscv64-buildroot-linux-musl --with-sysroot=/opt/riscv64--musl--bleeding-edge-2020.08-1/riscv64-buildroot-linux-musl/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/opt/riscv64--musl--bleeding-edge-2020.08-1 --with-mpc=/opt/riscv64--musl--bleeding-edge-2020.08-1 --with-mpfr=/opt/riscv64--musl--bleeding-edge-2020.08-1 --with-pkgversion='Buildroot 2020.08-14-ge5a2a90' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libmpx --disable-libquadmath --disable-libquadmath-support --disable-libsanitizer --enable-tls --enable-threads --without-isl --without-cloog --with-arch=rv64imafd --with-abi=lp64 --enable-languages=c,c++,fortran --with-build-time-tools=/opt/riscv64--musl--bleeding-edge-2020.08-1/riscv64-buildroot-linux-musl/bin --enable-shared --disable-libgomp] ignore line: [Thread model: posix] ignore line: [Supported LTO compression algorithms: zlib] ignore line: [gcc version 10.2.0 (Buildroot 2020.08-14-ge5a2a90) ] ignore line: [COLLECT_GCC_OPTIONS='-mabi=lp64' '-fstack-protector-strong' '-march=rv64imafd' '-D' '_LARGEFILE_SOURCE' '-D' '_LARGEFILE64_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-Os' '-g0' '-static' '-D' 'NDEBUG' '-v' '-o' 'CMakeFiles/cmTC_5604d.dir/CMakeCCompilerABI.c.o' '-c'] ignore line: [ /tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/10.2.0/cc1 -quiet -v -iprefix /tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/ -isysroot /tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot -D _LARGEFILE_SOURCE -D _LARGEFILE64_SOURCE -D _FILE_OFFSET_BITS=64 -D NDEBUG /tmp/instance-5/output-1/host/share/cmake-3.16/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mabi=lp64 -march=rv64imafd -auxbase-strip CMakeFiles/cmTC_5604d.dir/CMakeCCompilerABI.c.o -g0 -Os -version -fstack-protector-strong -o /tmp/ccuObqa9.s] ignore line: [GNU C17 (Buildroot 2020.08-14-ge5a2a90) version 10.2.0 (riscv64-buildroot-linux-musl)] ignore line: [ compiled by GNU C version 4.9.2 GMP version 6.1.2 MPFR version 4.0.2 MPC version 1.1.0 isl version none] ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072] ignore line: [ignoring nonexistent directory "/tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/local/include"] ignore line: [ignoring duplicate directory "/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/../../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/include"] ignore line: [ignoring duplicate directory "/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/../../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/include"] ignore line: [#include "..." search starts here:] ignore line: [#include <...> search starts here:] ignore line: [ /tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/include] ignore line: [ /tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/include] ignore line: [ /tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include] ignore line: [End of search list.] ignore line: [GNU C17 (Buildroot 2020.08-14-ge5a2a90) version 10.2.0 (riscv64-buildroot-linux-musl)] ignore line: [ compiled by GNU C version 4.9.2 GMP version 6.1.2 MPFR version 4.0.2 MPC version 1.1.0 isl version none] ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072] ignore line: [Compiler executable checksum: cf239d7b2d051d74e31adc67075923d4] ignore line: [COLLECT_GCC_OPTIONS='-mabi=lp64' '-fstack-protector-strong' '-march=rv64imafd' '-D' '_LARGEFILE_SOURCE' '-D' '_LARGEFILE64_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-Os' '-g0' '-static' '-D' 'NDEBUG' '-v' '-o' 'CMakeFiles/cmTC_5604d.dir/CMakeCCompilerABI.c.o' '-c'] ignore line: [ /tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/bin/as -v --traditional-format -march=rv64imafd -mabi=lp64 -o CMakeFiles/cmTC_5604d.dir/CMakeCCompilerABI.c.o /tmp/ccuObqa9.s] ignore line: [GNU assembler version 2.34 (riscv64-buildroot-linux-musl) using BFD version (GNU Binutils) 2.34] ignore line: [COMPILER_PATH=/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/10.2.0/:/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/:/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/bin/] ignore line: [LIBRARY_PATH=/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/:/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/:/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/lib/:/tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot/lib/:/tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/] ignore line: [COLLECT_GCC_OPTIONS='-mabi=lp64' '-fstack-protector-strong' '-march=rv64imafd' '-D' '_LARGEFILE_SOURCE' '-D' '_LARGEFILE64_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-Os' '-g0' '-static' '-D' 'NDEBUG' '-v' '-o' 'CMakeFiles/cmTC_5604d.dir/CMakeCCompilerABI.c.o' '-c'] ignore line: [Linking C executable cmTC_5604d] ignore line: [/tmp/instance-5/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5604d.dir/link.txt --verbose=1] ignore line: [/tmp/instance-5/output-1/host/bin/riscv64-linux-gcc --sysroot=/tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -DNDEBUG -static -v CMakeFiles/cmTC_5604d.dir/CMakeCCompilerABI.c.o -o cmTC_5604d ] ignore line: [Using built-in specs.] ignore line: [COLLECT_GCC=/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/riscv64-linux-gcc.br_real] ignore line: [COLLECT_LTO_WRAPPER=/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/10.2.0/lto-wrapper] ignore line: [Target: riscv64-buildroot-linux-musl] ignore line: [Configured with: ./configure --prefix=/opt/riscv64--musl--bleeding-edge-2020.08-1 --sysconfdir=/opt/riscv64--musl--bleeding-edge-2020.08-1/etc --enable-static --target=riscv64-buildroot-linux-musl --with-sysroot=/opt/riscv64--musl--bleeding-edge-2020.08-1/riscv64-buildroot-linux-musl/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/opt/riscv64--musl--bleeding-edge-2020.08-1 --with-mpc=/opt/riscv64--musl--bleeding-edge-2020.08-1 --with-mpfr=/opt/riscv64--musl--bleeding-edge-2020.08-1 --with-pkgversion='Buildroot 2020.08-14-ge5a2a90' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libmpx --disable-libquadmath --disable-libquadmath-support --disable-libsanitizer --enable-tls --enable-threads --without-isl --without-cloog --with-arch=rv64imafd --with-abi=lp64 --enable-languages=c,c++,fortran --with-build-time-tools=/opt/riscv64--musl--bleeding-edge-2020.08-1/riscv64-buildroot-linux-musl/bin --enable-shared --disable-libgomp] ignore line: [Thread model: posix] ignore line: [Supported LTO compression algorithms: zlib] ignore line: [gcc version 10.2.0 (Buildroot 2020.08-14-ge5a2a90) ] ignore line: [COMPILER_PATH=/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/10.2.0/:/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/:/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/bin/] ignore line: [LIBRARY_PATH=/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/:/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/:/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/lib/:/tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot/lib/:/tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/] ignore line: [COLLECT_GCC_OPTIONS='-mabi=lp64' '-fstack-protector-strong' '-march=rv64imafd' '-D' '_LARGEFILE_SOURCE' '-D' '_LARGEFILE64_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-Os' '-g0' '-static' '-D' 'NDEBUG' '-static' '-v' '-o' 'cmTC_5604d'] link line: [ /tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/10.2.0/collect2 -plugin /tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/10.2.0/liblto_plugin.so -plugin-opt=/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/10.2.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccFxlU05.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_eh -plugin-opt=-pass-through=-lc --sysroot=/tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot -melf64lriscv_lp64 -static -o cmTC_5604d /tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot/lib/crt1.o /tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/crti.o /tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/crtbeginT.o -L/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0 -L/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc -L/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/lib -L/tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot/lib -L/tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib CMakeFiles/cmTC_5604d.dir/CMakeCCompilerABI.c.o --start-group -lgcc -lgcc_eh -lc --end-group /tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/crtend.o /tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/crtn.o] arg [/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/10.2.0/collect2] ==> ignore arg [-plugin] ==> ignore arg [/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/10.2.0/liblto_plugin.so] ==> ignore arg [-plugin-opt=/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/10.2.0/lto-wrapper] ==> ignore arg [-plugin-opt=-fresolution=/tmp/ccFxlU05.res] ==> ignore arg [-plugin-opt=-pass-through=-lgcc] ==> ignore arg [-plugin-opt=-pass-through=-lgcc_eh] ==> ignore arg [-plugin-opt=-pass-through=-lc] ==> ignore arg [--sysroot=/tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot] ==> ignore arg [-melf64lriscv_lp64] ==> ignore arg [-static] ==> ignore arg [-o] ==> ignore arg [cmTC_5604d] ==> ignore arg [/tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot/lib/crt1.o] ==> ignore arg [/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/crti.o] ==> ignore arg [/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/crtbeginT.o] ==> ignore arg [-L/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0] ==> dir [/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0] arg [-L/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc] ==> dir [/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc] arg [-L/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/lib] ==> dir [/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/lib] arg [-L/tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot/lib] ==> dir [/tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot/lib] arg [-L/tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib] ==> dir [/tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib] arg [CMakeFiles/cmTC_5604d.dir/CMakeCCompilerABI.c.o] ==> ignore arg [--start-group] ==> ignore arg [-lgcc] ==> lib [gcc] arg [-lgcc_eh] ==> lib [gcc_eh] arg [-lc] ==> lib [c] arg [--end-group] ==> ignore arg [/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/crtend.o] ==> ignore arg [/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/crtn.o] ==> ignore remove lib [gcc_eh] collapse library dir [/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0] ==> [/tmp/instance-5/output-1/host/opt/ext-toolchain/lib/gcc/riscv64-buildroot-linux-musl/10.2.0] collapse library dir [/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc] ==> [/tmp/instance-5/output-1/host/opt/ext-toolchain/lib/gcc] collapse library dir [/tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/lib] ==> [/tmp/instance-5/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/lib] collapse library dir [/tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot/lib] ==> [/tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot/lib] collapse library dir [/tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib] ==> [/tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib] implicit libs: [gcc;c] implicit dirs: [/tmp/instance-5/output-1/host/opt/ext-toolchain/lib/gcc/riscv64-buildroot-linux-musl/10.2.0;/tmp/instance-5/output-1/host/opt/ext-toolchain/lib/gcc;/tmp/instance-5/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/lib;/tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot/lib;/tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib] implicit fwks: [] Determining if the include file pthread.h exists passed with the following output: Change Dir: /tmp/instance-5/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_38158/fast && make[1]: Entering directory '/tmp/instance-5/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_38158.dir/build.make CMakeFiles/cmTC_38158.dir/build make[2]: Entering directory '/tmp/instance-5/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_38158.dir/CheckIncludeFile.c.o /tmp/instance-5/output-1/host/bin/riscv64-linux-gcc --sysroot=/tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -DNDEBUG -o CMakeFiles/cmTC_38158.dir/CheckIncludeFile.c.o -c /tmp/instance-5/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp/CheckIncludeFile.c Linking C executable cmTC_38158 /tmp/instance-5/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_38158.dir/link.txt --verbose=1 /tmp/instance-5/output-1/host/bin/riscv64-linux-gcc --sysroot=/tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -DNDEBUG -static CMakeFiles/cmTC_38158.dir/CheckIncludeFile.c.o -o cmTC_38158 make[2]: Leaving directory '/tmp/instance-5/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp' make[1]: Leaving directory '/tmp/instance-5/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp' Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD succeeded with the following output: Change Dir: /tmp/instance-5/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_3e47f/fast && make[1]: Entering directory '/tmp/instance-5/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_3e47f.dir/build.make CMakeFiles/cmTC_3e47f.dir/build make[2]: Entering directory '/tmp/instance-5/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_3e47f.dir/src.c.o /tmp/instance-5/output-1/host/bin/riscv64-linux-gcc --sysroot=/tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -DCMAKE_HAVE_LIBC_PTHREAD -DNDEBUG -o CMakeFiles/cmTC_3e47f.dir/src.c.o -c /tmp/instance-5/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp/src.c Linking C executable cmTC_3e47f /tmp/instance-5/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3e47f.dir/link.txt --verbose=1 /tmp/instance-5/output-1/host/bin/riscv64-linux-gcc --sysroot=/tmp/instance-5/output-1/host/riscv64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -DCMAKE_HAVE_LIBC_PTHREAD -DNDEBUG -static CMakeFiles/cmTC_3e47f.dir/src.c.o -o cmTC_3e47f make[2]: Leaving directory '/tmp/instance-5/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp' make[1]: Leaving directory '/tmp/instance-5/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp' Source file was: #include void* test_func(void* data) { return data; } int main(void) { pthread_t thread; pthread_create(&thread, NULL, test_func, NULL); pthread_detach(thread); pthread_join(thread, NULL); pthread_atfork(NULL, NULL, NULL); pthread_exit(NULL); return 0; }