Determining if the function getexecname exists failed with the following output: Change Dir: /data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_a888e/fast && make[1]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_a888e.dir/build.make CMakeFiles/cmTC_a888e.dir/build make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_a888e.dir/CheckFunctionExists.c.o /data/buildroot/buildroot-test/instance-0/output/host/bin/sh4-linux-gcc --sysroot=/data/buildroot/buildroot-test/instance-0/output/host/sh4-buildroot-linux-uclibc/sysroot -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -fvisibility=hidden -Wall -Wno-sign-compare -fno-strict-aliasing -fmessage-length=0 -fno-omit-frame-pointer -DCHECK_FUNCTION_EXISTS=getexecname -DNDEBUG -o CMakeFiles/cmTC_a888e.dir/CheckFunctionExists.c.o -c /data/buildroot/buildroot-test/instance-0/output/host/share/cmake-3.15/Modules/CheckFunctionExists.c Linking C executable cmTC_a888e /data/buildroot/buildroot-test/instance-0/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a888e.dir/link.txt --verbose=1 /data/buildroot/buildroot-test/instance-0/output/host/bin/sh4-linux-gcc --sysroot=/data/buildroot/buildroot-test/instance-0/output/host/sh4-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -fvisibility=hidden -Wall -Wno-sign-compare -fno-strict-aliasing -fmessage-length=0 -fno-omit-frame-pointer -DCHECK_FUNCTION_EXISTS=getexecname -DNDEBUG -static CMakeFiles/cmTC_a888e.dir/CheckFunctionExists.c.o -o cmTC_a888e /data/buildroot/buildroot-test/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/sh4-buildroot-linux-uclibc/7.4.0/../../../../sh4-buildroot-linux-uclibc/bin/ld: CMakeFiles/cmTC_a888e.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x2c): undefined reference to `getexecname' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/cmTC_a888e.dir/build.make:87: cmTC_a888e] Error 1 make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:121: cmTC_a888e/fast] Error 2 make[1]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' Determining if the include file dwarf.h exists failed with the following output: Change Dir: /data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_7a38e/fast && make[1]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_7a38e.dir/build.make CMakeFiles/cmTC_7a38e.dir/build make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_7a38e.dir/CheckIncludeFile.c.o /data/buildroot/buildroot-test/instance-0/output/host/bin/sh4-linux-gcc --sysroot=/data/buildroot/buildroot-test/instance-0/output/host/sh4-buildroot-linux-uclibc/sysroot -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -fvisibility=hidden -Wall -Wno-sign-compare -fno-strict-aliasing -fmessage-length=0 -fno-omit-frame-pointer -DNDEBUG -o CMakeFiles/cmTC_7a38e.dir/CheckIncludeFile.c.o -c /data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0/CMakeFiles/CMakeTmp/CheckIncludeFile.c /data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: dwarf.h: No such file or directory #include ^~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/cmTC_7a38e.dir/build.make:66: CMakeFiles/cmTC_7a38e.dir/CheckIncludeFile.c.o] Error 1 make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:121: cmTC_7a38e/fast] Error 2 make[1]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' Determining if the include file libdwarf/dwarf.h exists failed with the following output: Change Dir: /data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_8ca68/fast && make[1]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_8ca68.dir/build.make CMakeFiles/cmTC_8ca68.dir/build make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_8ca68.dir/CheckIncludeFile.c.o /data/buildroot/buildroot-test/instance-0/output/host/bin/sh4-linux-gcc --sysroot=/data/buildroot/buildroot-test/instance-0/output/host/sh4-buildroot-linux-uclibc/sysroot -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -fvisibility=hidden -Wall -Wno-sign-compare -fno-strict-aliasing -fmessage-length=0 -fno-omit-frame-pointer -DNDEBUG -o CMakeFiles/cmTC_8ca68.dir/CheckIncludeFile.c.o -c /data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0/CMakeFiles/CMakeTmp/CheckIncludeFile.c /data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: libdwarf/dwarf.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/cmTC_8ca68.dir/build.make:66: CMakeFiles/cmTC_8ca68.dir/CheckIncludeFile.c.o] Error 1 make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:121: cmTC_8ca68/fast] Error 2 make[1]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' Performing C++ SOURCE FILE Test STATIC_LIBSTDCXX_PIC failed with the following output: Change Dir: /data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_3e3ae/fast && make[1]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_3e3ae.dir/build.make CMakeFiles/cmTC_3e3ae.dir/build make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_3e3ae.dir/src.cxx.o /data/buildroot/buildroot-test/instance-0/output/host/bin/sh4-linux-g++ --sysroot=/data/buildroot/buildroot-test/instance-0/output/host/sh4-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -static -fvisibility=hidden -std=gnu++11 -Wall -Wno-sign-compare -fno-strict-aliasing -fno-rtti -fno-exceptions -fmessage-length=0 -fno-omit-frame-pointer -DSTATIC_LIBSTDCXX_PIC -fPIC -DNDEBUG -o CMakeFiles/cmTC_3e3ae.dir/src.cxx.o -c /data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0/CMakeFiles/CMakeTmp/src.cxx Linking CXX executable cmTC_3e3ae /data/buildroot/buildroot-test/instance-0/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3e3ae.dir/link.txt --verbose=1 /data/buildroot/buildroot-test/instance-0/output/host/bin/sh4-linux-g++ --sysroot=/data/buildroot/buildroot-test/instance-0/output/host/sh4-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -static -fvisibility=hidden -std=gnu++11 -Wall -Wno-sign-compare -fno-strict-aliasing -fno-rtti -fno-exceptions -fmessage-length=0 -fno-omit-frame-pointer -DSTATIC_LIBSTDCXX_PIC -fPIC -DNDEBUG -static CMakeFiles/cmTC_3e3ae.dir/src.cxx.o -o cmTC_3e3ae -shared -static-libgcc -static-libstdc++ /data/buildroot/buildroot-test/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/sh4-buildroot-linux-uclibc/7.4.0/../../../../sh4-buildroot-linux-uclibc/bin/ld: /data/buildroot/buildroot-test/instance-0/output/host/sh4-buildroot-linux-uclibc/sysroot/usr/lib/libc.a(__uClibc_main.os): in function `__uClibc_fini': __uClibc_main.c:(.text+0x134): undefined reference to `__fini_array_start' /data/buildroot/buildroot-test/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/sh4-buildroot-linux-uclibc/7.4.0/../../../../sh4-buildroot-linux-uclibc/bin/ld: __uClibc_main.c:(.text+0x138): undefined reference to `__fini_array_end' /data/buildroot/buildroot-test/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/sh4-buildroot-linux-uclibc/7.4.0/../../../../sh4-buildroot-linux-uclibc/bin/ld: /data/buildroot/buildroot-test/instance-0/output/host/sh4-buildroot-linux-uclibc/sysroot/usr/lib/libc.a(__uClibc_main.os): in function `__uClibc_main': __uClibc_main.c:(.text+0x3f8): undefined reference to `__preinit_array_end' /data/buildroot/buildroot-test/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/sh4-buildroot-linux-uclibc/7.4.0/../../../../sh4-buildroot-linux-uclibc/bin/ld: __uClibc_main.c:(.text+0x400): undefined reference to `__preinit_array_start' /data/buildroot/buildroot-test/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/sh4-buildroot-linux-uclibc/7.4.0/../../../../sh4-buildroot-linux-uclibc/bin/ld: __uClibc_main.c:(.text+0x404): undefined reference to `__init_array_start' /data/buildroot/buildroot-test/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/sh4-buildroot-linux-uclibc/7.4.0/../../../../sh4-buildroot-linux-uclibc/bin/ld: __uClibc_main.c:(.text+0x408): undefined reference to `__init_array_end' /data/buildroot/buildroot-test/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/sh4-buildroot-linux-uclibc/7.4.0/../../../../sh4-buildroot-linux-uclibc/bin/ld: cmTC_3e3ae: hidden symbol `__fini_array_end' isn't defined /data/buildroot/buildroot-test/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/sh4-buildroot-linux-uclibc/7.4.0/../../../../sh4-buildroot-linux-uclibc/bin/ld: final link failed: bad value collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/cmTC_3e3ae.dir/build.make:87: cmTC_3e3ae] Error 1 make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:121: cmTC_3e3ae/fast] Error 2 make[1]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' Source file was: #include std::string s;