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_52bac/fast gmake[1]: Entering directory '/home/naourr/work/instance-2/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_52bac.dir/build.make CMakeFiles/cmTC_52bac.dir/build gmake[2]: Entering directory '/home/naourr/work/instance-2/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_52bac.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_52bac.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c Linking C executable cmTC_52bac /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_52bac.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_52bac.dir/CheckFunctionExists.c.o -o cmTC_52bac /home/naourr/work/instance-2/output-1/host/opt/ext-toolchain/arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: CMakeFiles/cmTC_52bac.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_52bac.dir/build.make:87: cmTC_52bac] Error 1 gmake[2]: Leaving directory '/home/naourr/work/instance-2/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:121: cmTC_52bac/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_afe92/fast gmake[1]: Entering directory '/home/naourr/work/instance-2/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_afe92.dir/build.make CMakeFiles/cmTC_afe92.dir/build gmake[2]: Entering directory '/home/naourr/work/instance-2/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_afe92.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_afe92.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_afe92.dir/build.make:66: CMakeFiles/cmTC_afe92.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_afe92/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_90525/fast gmake[1]: Entering directory '/home/naourr/work/instance-2/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_90525.dir/build.make CMakeFiles/cmTC_90525.dir/build gmake[2]: Entering directory '/home/naourr/work/instance-2/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_90525.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_90525.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_90525.dir/build.make:66: CMakeFiles/cmTC_90525.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_90525/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_4a8ed/fast gmake[1]: Entering directory '/home/naourr/work/instance-2/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_4a8ed.dir/build.make CMakeFiles/cmTC_4a8ed.dir/build gmake[2]: Entering directory '/home/naourr/work/instance-2/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_4a8ed.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_4a8ed.dir/src.cxx.o -c /home/naourr/work/instance-2/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp/src.cxx Linking CXX executable cmTC_4a8ed /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4a8ed.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_4a8ed.dir/src.cxx.o -o cmTC_4a8ed -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_4a8ed.dir/build.make:87: cmTC_4a8ed] Error 1 gmake[2]: Leaving directory '/home/naourr/work/instance-2/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:121: cmTC_4a8ed/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;