Determining if the function getexecname exists failed with the following output: Change Dir: /home/buildroot/autobuild/instance-1/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_87dbb/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_87dbb.dir/build.make CMakeFiles/cmTC_87dbb.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_87dbb.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/instance-1/output-1/host/bin/m68k-linux-gcc --sysroot=/home/buildroot/autobuild/instance-1/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -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_87dbb.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/instance-1/output-1/host/share/cmake-3.15/Modules/CheckFunctionExists.c Linking C executable cmTC_87dbb /home/buildroot/autobuild/instance-1/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_87dbb.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-1/output-1/host/bin/m68k-linux-gcc --sysroot=/home/buildroot/autobuild/instance-1/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -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_87dbb.dir/CheckFunctionExists.c.o -o cmTC_87dbb /home/buildroot/autobuild/instance-1/output-1/host/opt/ext-toolchain/m68k-buildroot-uclinux-uclibc/bin/ld.real: CMakeFiles/cmTC_87dbb.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x6): undefined reference to `getexecname' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_87dbb.dir/build.make:86: recipe for target 'cmTC_87dbb' failed make[2]: *** [cmTC_87dbb] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_87dbb/fast' failed make[1]: *** [cmTC_87dbb/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp' Determining if the include file dwarf.h exists failed with the following output: Change Dir: /home/buildroot/autobuild/instance-1/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_ba77a/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_ba77a.dir/build.make CMakeFiles/cmTC_ba77a.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_ba77a.dir/CheckIncludeFile.c.o /home/buildroot/autobuild/instance-1/output-1/host/bin/m68k-linux-gcc --sysroot=/home/buildroot/autobuild/instance-1/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -fvisibility=hidden -Wall -Wno-sign-compare -fno-strict-aliasing -fmessage-length=0 -fno-omit-frame-pointer -DNDEBUG -o CMakeFiles/cmTC_ba77a.dir/CheckIncludeFile.c.o -c /home/buildroot/autobuild/instance-1/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/buildroot/autobuild/instance-1/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: dwarf.h: No such file or directory #include ^~~~~~~~~ compilation terminated. CMakeFiles/cmTC_ba77a.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_ba77a.dir/CheckIncludeFile.c.o' failed make[2]: *** [CMakeFiles/cmTC_ba77a.dir/CheckIncludeFile.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_ba77a/fast' failed make[1]: *** [cmTC_ba77a/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-1/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/buildroot/autobuild/instance-1/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_7709c/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_7709c.dir/build.make CMakeFiles/cmTC_7709c.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_7709c.dir/CheckIncludeFile.c.o /home/buildroot/autobuild/instance-1/output-1/host/bin/m68k-linux-gcc --sysroot=/home/buildroot/autobuild/instance-1/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -fvisibility=hidden -Wall -Wno-sign-compare -fno-strict-aliasing -fmessage-length=0 -fno-omit-frame-pointer -DNDEBUG -o CMakeFiles/cmTC_7709c.dir/CheckIncludeFile.c.o -c /home/buildroot/autobuild/instance-1/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/buildroot/autobuild/instance-1/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. CMakeFiles/cmTC_7709c.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_7709c.dir/CheckIncludeFile.c.o' failed make[2]: *** [CMakeFiles/cmTC_7709c.dir/CheckIncludeFile.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_7709c/fast' failed make[1]: *** [cmTC_7709c/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp' Performing C++ SOURCE FILE Test STATIC_LIBSTDCXX_PIC failed with the following output: Change Dir: /home/buildroot/autobuild/instance-1/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_fb19b/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_fb19b.dir/build.make CMakeFiles/cmTC_fb19b.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_fb19b.dir/src.cxx.o /home/buildroot/autobuild/instance-1/output-1/host/bin/m68k-linux-g++ --sysroot=/home/buildroot/autobuild/instance-1/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -fno-dwarf2-cfi-asm -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_fb19b.dir/src.cxx.o -c /home/buildroot/autobuild/instance-1/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp/src.cxx Linking CXX executable cmTC_fb19b /home/buildroot/autobuild/instance-1/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_fb19b.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-1/output-1/host/bin/m68k-linux-g++ --sysroot=/home/buildroot/autobuild/instance-1/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -fno-dwarf2-cfi-asm -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_fb19b.dir/src.cxx.o -o cmTC_fb19b -shared -static-libgcc -static-libstdc++ /home/buildroot/autobuild/instance-1/output-1/host/opt/ext-toolchain/m68k-buildroot-uclinux-uclibc/bin/ld.real: /home/buildroot/autobuild/instance-1/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/lib/crt1.o: in function `_start': (.text+0x1c): undefined reference to `main' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_fb19b.dir/build.make:86: recipe for target 'cmTC_fb19b' failed make[2]: *** [cmTC_fb19b] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_fb19b/fast' failed make[1]: *** [cmTC_fb19b/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/apitrace-9.0/CMakeFiles/CMakeTmp' Source file was: #include std::string s;