Determining if the function getexecname exists failed with the following output: Change Dir: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/apitrace-9.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_a4bf3/fast && gmake[1]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_a4bf3.dir/build.make CMakeFiles/cmTC_a4bf3.dir/build gmake[2]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_a4bf3.dir/CheckFunctionExists.c.o /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/arm-linux-gcc --sysroot=/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/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_a4bf3.dir/CheckFunctionExists.c.o -c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/share/cmake-3.15/Modules/CheckFunctionExists.c Linking C executable cmTC_a4bf3 /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a4bf3.dir/link.txt --verbose=1 /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/arm-linux-gcc --sysroot=/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/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_a4bf3.dir/CheckFunctionExists.c.o -o cmTC_a4bf3 /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/opt/ext-toolchain/arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: CMakeFiles/cmTC_a4bf3.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]: *** [cmTC_a4bf3] Error 1 gmake[2]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTC_a4bf3/fast] Error 2 gmake[1]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' Determining if the include file dwarf.h exists failed with the following output: Change Dir: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/apitrace-9.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_442fe/fast && gmake[1]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_442fe.dir/build.make CMakeFiles/cmTC_442fe.dir/build gmake[2]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_442fe.dir/CheckIncludeFile.c.o /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/arm-linux-gcc --sysroot=/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/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_442fe.dir/CheckIncludeFile.c.o -c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/apitrace-9.0/CMakeFiles/CMakeTmp/CheckIncludeFile.c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/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_442fe.dir/CheckIncludeFile.c.o] Error 1 gmake[2]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTC_442fe/fast] Error 2 gmake[1]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' Determining if the include file libdwarf/dwarf.h exists failed with the following output: Change Dir: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/apitrace-9.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_d3edb/fast && gmake[1]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_d3edb.dir/build.make CMakeFiles/cmTC_d3edb.dir/build gmake[2]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_d3edb.dir/CheckIncludeFile.c.o /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/arm-linux-gcc --sysroot=/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/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_d3edb.dir/CheckIncludeFile.c.o -c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/apitrace-9.0/CMakeFiles/CMakeTmp/CheckIncludeFile.c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/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_d3edb.dir/CheckIncludeFile.c.o] Error 1 gmake[2]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTC_d3edb/fast] Error 2 gmake[1]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' Performing C++ SOURCE FILE Test STATIC_LIBSTDCXX_PIC failed with the following output: Change Dir: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/apitrace-9.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_10620/fast && gmake[1]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_10620.dir/build.make CMakeFiles/cmTC_10620.dir/build gmake[2]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_10620.dir/src.cxx.o /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/arm-linux-g++ --sysroot=/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/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_10620.dir/src.cxx.o -c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/apitrace-9.0/CMakeFiles/CMakeTmp/src.cxx Linking CXX executable cmTC_10620 /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_10620.dir/link.txt --verbose=1 /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/arm-linux-g++ --sysroot=/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/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_10620.dir/src.cxx.o -o cmTC_10620 -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]: *** [cmTC_10620] Error 1 gmake[2]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTC_10620/fast] Error 2 gmake[1]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/build/apitrace-9.0/CMakeFiles/CMakeTmp' Source file was: #include std::string s;