Determining if the function getexecname exists failed with the following output: Change Dir: /home/naourr/work/instance-2/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_66c04/fast gmake[1]: Entering directory '/home/naourr/work/instance-2/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_66c04.dir/build.make CMakeFiles/cmTC_66c04.dir/build gmake[2]: Entering directory '/home/naourr/work/instance-2/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_66c04.dir/CheckFunctionExists.c.o /home/naourr/work/instance-2/output-1/host/bin/arm-linux-gcc --sysroot=/home/naourr/work/instance-2/output-1/host/arm-buildroot-uclinux-uclibcgnueabi/sysroot -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -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_66c04.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c Linking C executable cmTC_66c04 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_66c04.dir/link.txt --verbose=1 /home/naourr/work/instance-2/output-1/host/bin/arm-linux-gcc --sysroot=/home/naourr/work/instance-2/output-1/host/arm-buildroot-uclinux-uclibcgnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -fvisibility=hidden -Wall -Wno-sign-compare -fno-strict-aliasing -fmessage-length=0 -fno-omit-frame-pointer -DCHECK_FUNCTION_EXISTS=getexecname -DNDEBUG -Wl,-elf2flt -static CMakeFiles/cmTC_66c04.dir/CheckFunctionExists.c.o -o cmTC_66c04 /home/naourr/work/instance-2/output-1/host/opt/ext-toolchain/arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: CMakeFiles/cmTC_66c04.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x8): undefined reference to `getexecname' collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/cmTC_66c04.dir/build.make:87: cmTC_66c04] Error 1 gmake[2]: Leaving directory '/home/naourr/work/instance-2/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:121: cmTC_66c04/fast] Error 2 gmake[1]: Leaving directory '/home/naourr/work/instance-2/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp' Determining if the include file dwarf.h exists failed with the following output: Change Dir: /home/naourr/work/instance-2/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_3df97/fast gmake[1]: Entering directory '/home/naourr/work/instance-2/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_3df97.dir/build.make CMakeFiles/cmTC_3df97.dir/build gmake[2]: Entering directory '/home/naourr/work/instance-2/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_3df97.dir/CheckIncludeFile.c.o /home/naourr/work/instance-2/output-1/host/bin/arm-linux-gcc --sysroot=/home/naourr/work/instance-2/output-1/host/arm-buildroot-uclinux-uclibcgnueabi/sysroot -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -fvisibility=hidden -Wall -Wno-sign-compare -fno-strict-aliasing -fmessage-length=0 -fno-omit-frame-pointer -DNDEBUG -o CMakeFiles/cmTC_3df97.dir/CheckIncludeFile.c.o -c /home/naourr/work/instance-2/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/naourr/work/instance-2/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: dwarf.h: No such file or directory #include ^~~~~~~~~ compilation terminated. gmake[2]: *** [CMakeFiles/cmTC_3df97.dir/build.make:66: CMakeFiles/cmTC_3df97.dir/CheckIncludeFile.c.o] Error 1 gmake[2]: Leaving directory '/home/naourr/work/instance-2/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:121: cmTC_3df97/fast] Error 2 gmake[1]: Leaving directory '/home/naourr/work/instance-2/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp' Determining if the include file libdwarf/dwarf.h exists failed with the following output: Change Dir: /home/naourr/work/instance-2/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_1b335/fast gmake[1]: Entering directory '/home/naourr/work/instance-2/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_1b335.dir/build.make CMakeFiles/cmTC_1b335.dir/build gmake[2]: Entering directory '/home/naourr/work/instance-2/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_1b335.dir/CheckIncludeFile.c.o /home/naourr/work/instance-2/output-1/host/bin/arm-linux-gcc --sysroot=/home/naourr/work/instance-2/output-1/host/arm-buildroot-uclinux-uclibcgnueabi/sysroot -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -fvisibility=hidden -Wall -Wno-sign-compare -fno-strict-aliasing -fmessage-length=0 -fno-omit-frame-pointer -DNDEBUG -o CMakeFiles/cmTC_1b335.dir/CheckIncludeFile.c.o -c /home/naourr/work/instance-2/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/naourr/work/instance-2/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: libdwarf/dwarf.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. gmake[2]: *** [CMakeFiles/cmTC_1b335.dir/build.make:66: CMakeFiles/cmTC_1b335.dir/CheckIncludeFile.c.o] Error 1 gmake[2]: Leaving directory '/home/naourr/work/instance-2/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:121: cmTC_1b335/fast] Error 2 gmake[1]: Leaving directory '/home/naourr/work/instance-2/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp' Performing C++ SOURCE FILE Test STATIC_LIBSTDCXX_PIC failed with the following output: Change Dir: /home/naourr/work/instance-2/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_c693f/fast gmake[1]: Entering directory '/home/naourr/work/instance-2/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_c693f.dir/build.make CMakeFiles/cmTC_c693f.dir/build gmake[2]: Entering directory '/home/naourr/work/instance-2/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_c693f.dir/src.cxx.o /home/naourr/work/instance-2/output-1/host/bin/arm-linux-g++ --sysroot=/home/naourr/work/instance-2/output-1/host/arm-buildroot-uclinux-uclibcgnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wl,-elf2flt -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_c693f.dir/src.cxx.o -c /home/naourr/work/instance-2/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp/src.cxx Linking CXX executable cmTC_c693f /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c693f.dir/link.txt --verbose=1 /home/naourr/work/instance-2/output-1/host/bin/arm-linux-g++ --sysroot=/home/naourr/work/instance-2/output-1/host/arm-buildroot-uclinux-uclibcgnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wl,-elf2flt -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 -Wl,-elf2flt -static CMakeFiles/cmTC_c693f.dir/src.cxx.o -o cmTC_c693f -shared -static-libgcc -static-libstdc++ ld (ld-elf2flt): -shared used without passing a shared library ID collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/cmTC_c693f.dir/build.make:87: cmTC_c693f] Error 1 gmake[2]: Leaving directory '/home/naourr/work/instance-2/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:121: cmTC_c693f/fast] Error 2 gmake[1]: Leaving directory '/home/naourr/work/instance-2/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp' Source file was: #include std::string s;