The target system is: Buildroot - 1 - m68k 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-4/output-1/host/bin/m68k-linux-gcc Build flags: -D_LARGEFILE_SOURCE;-D_LARGEFILE64_SOURCE;-D_FILE_OFFSET_BITS=64;-Os;-g0;-fno-dwarf2-cfi-asm;-Wl,-elf2flt;-static Id flags: The output was: 0 Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out" Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out.gdb" The C compiler identification is GNU, found in "/tmp/instance-4/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-4/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_a55c5/fast && make[1]: Entering directory '/tmp/instance-4/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_a55c5.dir/build.make CMakeFiles/cmTC_a55c5.dir/build make[2]: Entering directory '/tmp/instance-4/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_a55c5.dir/testCCompiler.c.o /tmp/instance-4/output-1/host/bin/m68k-linux-gcc --sysroot=/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -o CMakeFiles/cmTC_a55c5.dir/testCCompiler.c.o -c /tmp/instance-4/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp/testCCompiler.c Linking C executable cmTC_a55c5 /tmp/instance-4/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a55c5.dir/link.txt --verbose=1 /tmp/instance-4/output-1/host/bin/m68k-linux-gcc --sysroot=/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -Wl,-elf2flt -static CMakeFiles/cmTC_a55c5.dir/testCCompiler.c.o -o cmTC_a55c5 make[2]: Leaving directory '/tmp/instance-4/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp' make[1]: Leaving directory '/tmp/instance-4/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp' Detecting C compiler ABI info compiled with the following output: Change Dir: /tmp/instance-4/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_971bf/fast && make[1]: Entering directory '/tmp/instance-4/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_971bf.dir/build.make CMakeFiles/cmTC_971bf.dir/build make[2]: Entering directory '/tmp/instance-4/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_971bf.dir/CMakeCCompilerABI.c.o /tmp/instance-4/output-1/host/bin/m68k-linux-gcc --sysroot=/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -v -o CMakeFiles/cmTC_971bf.dir/CMakeCCompilerABI.c.o -c /tmp/instance-4/output-1/host/share/cmake-3.16/Modules/CMakeCCompilerABI.c Using built-in specs. COLLECT_GCC=/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/m68k-linux-gcc.br_real Target: m68k-buildroot-uclinux-uclibc Configured with: ./configure --prefix=/opt/m68k-coldfire--uclibc--stable-2020.08-1 --sysconfdir=/opt/m68k-coldfire--uclibc--stable-2020.08-1/etc --enable-static --target=m68k-buildroot-uclinux-uclibc --with-sysroot=/opt/m68k-coldfire--uclibc--stable-2020.08-1/m68k-buildroot-uclinux-uclibc/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/opt/m68k-coldfire--uclibc--stable-2020.08-1 --with-mpc=/opt/m68k-coldfire--uclibc--stable-2020.08-1 --with-mpfr=/opt/m68k-coldfire--uclibc--stable-2020.08-1 --with-pkgversion='Buildroot 2020.08-14-ge5a2a90' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libquadmath --disable-libquadmath-support --disable-libsanitizer --disable-tls --enable-threads --without-isl --without-cloog --with-cpu=5208 --enable-languages=c,c++,fortran --with-build-time-tools=/opt/m68k-coldfire--uclibc--stable-2020.08-1/m68k-buildroot-uclinux-uclibc/bin --disable-shared --disable-libgomp Thread model: posix gcc version 9.3.0 (Buildroot 2020.08-14-ge5a2a90) COLLECT_GCC_OPTIONS='-msoft-float' '-mcpu=5208' '-D' '_LARGEFILE_SOURCE' '-D' '_LARGEFILE64_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-Os' '-g0' '-fno-dwarf2-cfi-asm' '-static' '-v' '-o' 'CMakeFiles/cmTC_971bf.dir/CMakeCCompilerABI.c.o' '-c' /tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/cc1 -quiet -v -iprefix /tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/ -isysroot /tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot -D _LARGEFILE_SOURCE -D _LARGEFILE64_SOURCE -D _FILE_OFFSET_BITS=64 /tmp/instance-4/output-1/host/share/cmake-3.16/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -msoft-float -mcpu=5208 -auxbase-strip CMakeFiles/cmTC_971bf.dir/CMakeCCompilerABI.c.o -g0 -Os -version -fno-dwarf2-cfi-asm -o /tmp/ccDJxpmY.s GNU C17 (Buildroot 2020.08-14-ge5a2a90) version 9.3.0 (m68k-buildroot-uclinux-uclibc) 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 duplicate directory "/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/../../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/include" ignoring nonexistent directory "/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/local/include" ignoring duplicate directory "/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/../../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/include-fixed" ignoring duplicate directory "/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/../../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/../../../../m68k-buildroot-uclinux-uclibc/include" #include "..." search starts here: #include <...> search starts here: /tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/include /tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/include-fixed /tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/../../../../m68k-buildroot-uclinux-uclibc/include /tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include End of search list. GNU C17 (Buildroot 2020.08-14-ge5a2a90) version 9.3.0 (m68k-buildroot-uclinux-uclibc) 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: b7377d38f874c66a5c8974146d17d46d COLLECT_GCC_OPTIONS='-msoft-float' '-mcpu=5208' '-D' '_LARGEFILE_SOURCE' '-D' '_LARGEFILE64_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-Os' '-g0' '-fno-dwarf2-cfi-asm' '-static' '-v' '-o' 'CMakeFiles/cmTC_971bf.dir/CMakeCCompilerABI.c.o' '-c' /tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/../../../../m68k-buildroot-uclinux-uclibc/bin/as -mno-float -mcpu=5208 -o CMakeFiles/cmTC_971bf.dir/CMakeCCompilerABI.c.o /tmp/ccDJxpmY.s COMPILER_PATH=/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/:/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/:/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/../../../../m68k-buildroot-uclinux-uclibc/bin/ LIBRARY_PATH=/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/:/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/:/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/../../../../m68k-buildroot-uclinux-uclibc/lib/:/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/lib/:/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/lib/ COLLECT_GCC_OPTIONS='-msoft-float' '-mcpu=5208' '-D' '_LARGEFILE_SOURCE' '-D' '_LARGEFILE64_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-Os' '-g0' '-fno-dwarf2-cfi-asm' '-static' '-v' '-o' 'CMakeFiles/cmTC_971bf.dir/CMakeCCompilerABI.c.o' '-c' Linking C executable cmTC_971bf /tmp/instance-4/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_971bf.dir/link.txt --verbose=1 /tmp/instance-4/output-1/host/bin/m68k-linux-gcc --sysroot=/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -Wl,-elf2flt -static -v CMakeFiles/cmTC_971bf.dir/CMakeCCompilerABI.c.o -o cmTC_971bf Using built-in specs. COLLECT_GCC=/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/m68k-linux-gcc.br_real COLLECT_LTO_WRAPPER=/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/lto-wrapper Target: m68k-buildroot-uclinux-uclibc Configured with: ./configure --prefix=/opt/m68k-coldfire--uclibc--stable-2020.08-1 --sysconfdir=/opt/m68k-coldfire--uclibc--stable-2020.08-1/etc --enable-static --target=m68k-buildroot-uclinux-uclibc --with-sysroot=/opt/m68k-coldfire--uclibc--stable-2020.08-1/m68k-buildroot-uclinux-uclibc/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/opt/m68k-coldfire--uclibc--stable-2020.08-1 --with-mpc=/opt/m68k-coldfire--uclibc--stable-2020.08-1 --with-mpfr=/opt/m68k-coldfire--uclibc--stable-2020.08-1 --with-pkgversion='Buildroot 2020.08-14-ge5a2a90' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libquadmath --disable-libquadmath-support --disable-libsanitizer --disable-tls --enable-threads --without-isl --without-cloog --with-cpu=5208 --enable-languages=c,c++,fortran --with-build-time-tools=/opt/m68k-coldfire--uclibc--stable-2020.08-1/m68k-buildroot-uclinux-uclibc/bin --disable-shared --disable-libgomp Thread model: posix gcc version 9.3.0 (Buildroot 2020.08-14-ge5a2a90) COMPILER_PATH=/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/:/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/:/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/../../../../m68k-buildroot-uclinux-uclibc/bin/ LIBRARY_PATH=/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/:/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/:/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/../../../../m68k-buildroot-uclinux-uclibc/lib/:/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/lib/:/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/lib/ COLLECT_GCC_OPTIONS='-msoft-float' '-mcpu=5208' '-D' '_LARGEFILE_SOURCE' '-D' '_LARGEFILE64_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-Os' '-g0' '-fno-dwarf2-cfi-asm' '-static' '-static' '-v' '-o' 'cmTC_971bf' /tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/collect2 -plugin /tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/liblto_plugin.so -plugin-opt=/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccQWu5A5.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc --sysroot=/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot -elf2flt -o cmTC_971bf /tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/lib/crt1.o /tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/lib/crti.o /tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/crtbegin.o -L/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0 -L/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc -L/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/../../../../m68k-buildroot-uclinux-uclibc/lib -L/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/lib -L/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/lib -elf2flt -elf2flt -elf2flt CMakeFiles/cmTC_971bf.dir/CMakeCCompilerABI.c.o --start-group -lgcc -lc --end-group /tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/crtend.o /tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/lib/crtn.o COLLECT_GCC_OPTIONS='-msoft-float' '-mcpu=5208' '-D' '_LARGEFILE_SOURCE' '-D' '_LARGEFILE64_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-Os' '-g0' '-fno-dwarf2-cfi-asm' '-static' '-static' '-v' '-o' 'cmTC_971bf' make[2]: Leaving directory '/tmp/instance-4/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp' make[1]: Leaving directory '/tmp/instance-4/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-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/include] add: [/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/include-fixed] add: [/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/../../../../m68k-buildroot-uclinux-uclibc/include] add: [/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include] end of search list found collapse include dir [/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/include] ==> [/tmp/instance-4/output-1/host/opt/ext-toolchain/lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/include] collapse include dir [/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/include-fixed] ==> [/tmp/instance-4/output-1/host/opt/ext-toolchain/lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/include-fixed] collapse include dir [/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/../../../../m68k-buildroot-uclinux-uclibc/include] ==> [/tmp/instance-4/output-1/host/opt/ext-toolchain/m68k-buildroot-uclinux-uclibc/include] collapse include dir [/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include] ==> [/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include] implicit include dirs: [/tmp/instance-4/output-1/host/opt/ext-toolchain/lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/include;/tmp/instance-4/output-1/host/opt/ext-toolchain/lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/include-fixed;/tmp/instance-4/output-1/host/opt/ext-toolchain/m68k-buildroot-uclinux-uclibc/include;/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include] Parsed C implicit link information from above output: link line regex: [^( *|.*[/\])(m68k-linux-ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)] ignore line: [Change Dir: /tmp/instance-4/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp] ignore line: [] ignore line: [Run Build Command(s):/usr/bin/make cmTC_971bf/fast && make[1]: Entering directory '/tmp/instance-4/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp'] ignore line: [/usr/bin/make -f CMakeFiles/cmTC_971bf.dir/build.make CMakeFiles/cmTC_971bf.dir/build] ignore line: [make[2]: Entering directory '/tmp/instance-4/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp'] ignore line: [Building C object CMakeFiles/cmTC_971bf.dir/CMakeCCompilerABI.c.o] ignore line: [/tmp/instance-4/output-1/host/bin/m68k-linux-gcc --sysroot=/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fno-dwarf2-cfi-asm -Wl -elf2flt -static -v -o CMakeFiles/cmTC_971bf.dir/CMakeCCompilerABI.c.o -c /tmp/instance-4/output-1/host/share/cmake-3.16/Modules/CMakeCCompilerABI.c] ignore line: [Using built-in specs.] ignore line: [COLLECT_GCC=/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/m68k-linux-gcc.br_real] ignore line: [Target: m68k-buildroot-uclinux-uclibc] ignore line: [Configured with: ./configure --prefix=/opt/m68k-coldfire--uclibc--stable-2020.08-1 --sysconfdir=/opt/m68k-coldfire--uclibc--stable-2020.08-1/etc --enable-static --target=m68k-buildroot-uclinux-uclibc --with-sysroot=/opt/m68k-coldfire--uclibc--stable-2020.08-1/m68k-buildroot-uclinux-uclibc/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/opt/m68k-coldfire--uclibc--stable-2020.08-1 --with-mpc=/opt/m68k-coldfire--uclibc--stable-2020.08-1 --with-mpfr=/opt/m68k-coldfire--uclibc--stable-2020.08-1 --with-pkgversion='Buildroot 2020.08-14-ge5a2a90' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libquadmath --disable-libquadmath-support --disable-libsanitizer --disable-tls --enable-threads --without-isl --without-cloog --with-cpu=5208 --enable-languages=c,c++,fortran --with-build-time-tools=/opt/m68k-coldfire--uclibc--stable-2020.08-1/m68k-buildroot-uclinux-uclibc/bin --disable-shared --disable-libgomp] ignore line: [Thread model: posix] ignore line: [gcc version 9.3.0 (Buildroot 2020.08-14-ge5a2a90) ] ignore line: [COLLECT_GCC_OPTIONS='-msoft-float' '-mcpu=5208' '-D' '_LARGEFILE_SOURCE' '-D' '_LARGEFILE64_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-Os' '-g0' '-fno-dwarf2-cfi-asm' '-static' '-v' '-o' 'CMakeFiles/cmTC_971bf.dir/CMakeCCompilerABI.c.o' '-c'] ignore line: [ /tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/cc1 -quiet -v -iprefix /tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/ -isysroot /tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot -D _LARGEFILE_SOURCE -D _LARGEFILE64_SOURCE -D _FILE_OFFSET_BITS=64 /tmp/instance-4/output-1/host/share/cmake-3.16/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -msoft-float -mcpu=5208 -auxbase-strip CMakeFiles/cmTC_971bf.dir/CMakeCCompilerABI.c.o -g0 -Os -version -fno-dwarf2-cfi-asm -o /tmp/ccDJxpmY.s] ignore line: [GNU C17 (Buildroot 2020.08-14-ge5a2a90) version 9.3.0 (m68k-buildroot-uclinux-uclibc)] 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 duplicate directory "/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/../../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/include"] ignore line: [ignoring nonexistent directory "/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/local/include"] ignore line: [ignoring duplicate directory "/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/../../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/include-fixed"] ignore line: [ignoring duplicate directory "/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/../../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/../../../../m68k-buildroot-uclinux-uclibc/include"] ignore line: [#include "..." search starts here:] ignore line: [#include <...> search starts here:] ignore line: [ /tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/include] ignore line: [ /tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/include-fixed] ignore line: [ /tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/../../../../m68k-buildroot-uclinux-uclibc/include] ignore line: [ /tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include] ignore line: [End of search list.] ignore line: [GNU C17 (Buildroot 2020.08-14-ge5a2a90) version 9.3.0 (m68k-buildroot-uclinux-uclibc)] 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: b7377d38f874c66a5c8974146d17d46d] ignore line: [COLLECT_GCC_OPTIONS='-msoft-float' '-mcpu=5208' '-D' '_LARGEFILE_SOURCE' '-D' '_LARGEFILE64_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-Os' '-g0' '-fno-dwarf2-cfi-asm' '-static' '-v' '-o' 'CMakeFiles/cmTC_971bf.dir/CMakeCCompilerABI.c.o' '-c'] ignore line: [ /tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/../../../../m68k-buildroot-uclinux-uclibc/bin/as -mno-float -mcpu=5208 -o CMakeFiles/cmTC_971bf.dir/CMakeCCompilerABI.c.o /tmp/ccDJxpmY.s] ignore line: [COMPILER_PATH=/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/:/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/:/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/../../../../m68k-buildroot-uclinux-uclibc/bin/] ignore line: [LIBRARY_PATH=/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/:/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/:/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/../../../../m68k-buildroot-uclinux-uclibc/lib/:/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/lib/:/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/lib/] ignore line: [COLLECT_GCC_OPTIONS='-msoft-float' '-mcpu=5208' '-D' '_LARGEFILE_SOURCE' '-D' '_LARGEFILE64_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-Os' '-g0' '-fno-dwarf2-cfi-asm' '-static' '-v' '-o' 'CMakeFiles/cmTC_971bf.dir/CMakeCCompilerABI.c.o' '-c'] ignore line: [Linking C executable cmTC_971bf] ignore line: [/tmp/instance-4/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_971bf.dir/link.txt --verbose=1] ignore line: [/tmp/instance-4/output-1/host/bin/m68k-linux-gcc --sysroot=/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fno-dwarf2-cfi-asm -Wl -elf2flt -static -Wl -elf2flt -static -v CMakeFiles/cmTC_971bf.dir/CMakeCCompilerABI.c.o -o cmTC_971bf ] ignore line: [Using built-in specs.] ignore line: [COLLECT_GCC=/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/m68k-linux-gcc.br_real] ignore line: [COLLECT_LTO_WRAPPER=/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/lto-wrapper] ignore line: [Target: m68k-buildroot-uclinux-uclibc] ignore line: [Configured with: ./configure --prefix=/opt/m68k-coldfire--uclibc--stable-2020.08-1 --sysconfdir=/opt/m68k-coldfire--uclibc--stable-2020.08-1/etc --enable-static --target=m68k-buildroot-uclinux-uclibc --with-sysroot=/opt/m68k-coldfire--uclibc--stable-2020.08-1/m68k-buildroot-uclinux-uclibc/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/opt/m68k-coldfire--uclibc--stable-2020.08-1 --with-mpc=/opt/m68k-coldfire--uclibc--stable-2020.08-1 --with-mpfr=/opt/m68k-coldfire--uclibc--stable-2020.08-1 --with-pkgversion='Buildroot 2020.08-14-ge5a2a90' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libquadmath --disable-libquadmath-support --disable-libsanitizer --disable-tls --enable-threads --without-isl --without-cloog --with-cpu=5208 --enable-languages=c,c++,fortran --with-build-time-tools=/opt/m68k-coldfire--uclibc--stable-2020.08-1/m68k-buildroot-uclinux-uclibc/bin --disable-shared --disable-libgomp] ignore line: [Thread model: posix] ignore line: [gcc version 9.3.0 (Buildroot 2020.08-14-ge5a2a90) ] ignore line: [COMPILER_PATH=/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/:/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/:/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/../../../../m68k-buildroot-uclinux-uclibc/bin/] ignore line: [LIBRARY_PATH=/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/:/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/:/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/../../../../m68k-buildroot-uclinux-uclibc/lib/:/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/lib/:/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/lib/] ignore line: [COLLECT_GCC_OPTIONS='-msoft-float' '-mcpu=5208' '-D' '_LARGEFILE_SOURCE' '-D' '_LARGEFILE64_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-Os' '-g0' '-fno-dwarf2-cfi-asm' '-static' '-static' '-v' '-o' 'cmTC_971bf'] link line: [ /tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/collect2 -plugin /tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/liblto_plugin.so -plugin-opt=/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccQWu5A5.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc --sysroot=/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot -elf2flt -o cmTC_971bf /tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/lib/crt1.o /tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/lib/crti.o /tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/crtbegin.o -L/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0 -L/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc -L/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/../../../../m68k-buildroot-uclinux-uclibc/lib -L/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/lib -L/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/lib -elf2flt -elf2flt -elf2flt CMakeFiles/cmTC_971bf.dir/CMakeCCompilerABI.c.o --start-group -lgcc -lc --end-group /tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/crtend.o /tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/lib/crtn.o] arg [/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/collect2] ==> ignore arg [-plugin] ==> ignore arg [/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/liblto_plugin.so] ==> ignore arg [-plugin-opt=/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/lto-wrapper] ==> ignore arg [-plugin-opt=-fresolution=/tmp/ccQWu5A5.res] ==> ignore arg [-plugin-opt=-pass-through=-lgcc] ==> ignore arg [-plugin-opt=-pass-through=-lc] ==> ignore arg [--sysroot=/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot] ==> ignore arg [-elf2flt] ==> ignore arg [-o] ==> ignore arg [cmTC_971bf] ==> ignore arg [/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/lib/crt1.o] ==> ignore arg [/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/lib/crti.o] ==> ignore arg [/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/crtbegin.o] ==> ignore arg [-L/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0] ==> dir [/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0] arg [-L/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc] ==> dir [/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc] arg [-L/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/../../../../m68k-buildroot-uclinux-uclibc/lib] ==> dir [/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/../../../../m68k-buildroot-uclinux-uclibc/lib] arg [-L/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/lib] ==> dir [/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/lib] arg [-L/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/lib] ==> dir [/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/lib] arg [-elf2flt] ==> ignore arg [-elf2flt] ==> ignore arg [-elf2flt] ==> ignore arg [CMakeFiles/cmTC_971bf.dir/CMakeCCompilerABI.c.o] ==> ignore arg [--start-group] ==> ignore arg [-lgcc] ==> lib [gcc] arg [-lc] ==> lib [c] arg [--end-group] ==> ignore arg [/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/crtend.o] ==> ignore arg [/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/lib/crtn.o] ==> ignore collapse library dir [/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0] ==> [/tmp/instance-4/output-1/host/opt/ext-toolchain/lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0] collapse library dir [/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc] ==> [/tmp/instance-4/output-1/host/opt/ext-toolchain/lib/gcc] collapse library dir [/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0/../../../../m68k-buildroot-uclinux-uclibc/lib] ==> [/tmp/instance-4/output-1/host/opt/ext-toolchain/m68k-buildroot-uclinux-uclibc/lib] collapse library dir [/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/lib] ==> [/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/lib] collapse library dir [/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/lib] ==> [/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/lib] implicit libs: [gcc;c] implicit dirs: [/tmp/instance-4/output-1/host/opt/ext-toolchain/lib/gcc/m68k-buildroot-uclinux-uclibc/9.3.0;/tmp/instance-4/output-1/host/opt/ext-toolchain/lib/gcc;/tmp/instance-4/output-1/host/opt/ext-toolchain/m68k-buildroot-uclinux-uclibc/lib;/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/lib;/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/lib] implicit fwks: [] Determining if the include file pthread.h exists passed with the following output: Change Dir: /tmp/instance-4/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_6774c/fast && make[1]: Entering directory '/tmp/instance-4/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_6774c.dir/build.make CMakeFiles/cmTC_6774c.dir/build make[2]: Entering directory '/tmp/instance-4/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_6774c.dir/CheckIncludeFile.c.o /tmp/instance-4/output-1/host/bin/m68k-linux-gcc --sysroot=/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -o CMakeFiles/cmTC_6774c.dir/CheckIncludeFile.c.o -c /tmp/instance-4/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp/CheckIncludeFile.c Linking C executable cmTC_6774c /tmp/instance-4/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6774c.dir/link.txt --verbose=1 /tmp/instance-4/output-1/host/bin/m68k-linux-gcc --sysroot=/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -Wl,-elf2flt -static CMakeFiles/cmTC_6774c.dir/CheckIncludeFile.c.o -o cmTC_6774c make[2]: Leaving directory '/tmp/instance-4/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp' make[1]: Leaving directory '/tmp/instance-4/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-4/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_899d5/fast && make[1]: Entering directory '/tmp/instance-4/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_899d5.dir/build.make CMakeFiles/cmTC_899d5.dir/build make[2]: Entering directory '/tmp/instance-4/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_899d5.dir/src.c.o /tmp/instance-4/output-1/host/bin/m68k-linux-gcc --sysroot=/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -DCMAKE_HAVE_LIBC_PTHREAD -o CMakeFiles/cmTC_899d5.dir/src.c.o -c /tmp/instance-4/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp/src.c /tmp/instance-4/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp/src.c: In function 'main': /tmp/instance-4/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp/src.c:14:3: warning: implicit declaration of function 'pthread_atfork'; did you mean 'pthread_join'? [-Wimplicit-function-declaration] 14 | pthread_atfork(NULL, NULL, NULL); | ^~~~~~~~~~~~~~ | pthread_join Linking C executable cmTC_899d5 /tmp/instance-4/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_899d5.dir/link.txt --verbose=1 /tmp/instance-4/output-1/host/bin/m68k-linux-gcc --sysroot=/tmp/instance-4/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -DCMAKE_HAVE_LIBC_PTHREAD -Wl,-elf2flt -static CMakeFiles/cmTC_899d5.dir/src.c.o -o cmTC_899d5 make[2]: Leaving directory '/tmp/instance-4/output-1/build/optee-client-3.13.0/CMakeFiles/CMakeTmp' make[1]: Leaving directory '/tmp/instance-4/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; }