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_b22b4/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_b22b4.dir/build.make CMakeFiles/cmTC_b22b4.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_b22b4.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-linux-uclibcgnueabi/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_b22b4.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_b22b4 /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b22b4.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-linux-uclibcgnueabi/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_b22b4.dir/CheckFunctionExists.c.o -o cmTC_b22b4 /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/7.4.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: CMakeFiles/cmTC_b22b4.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x10): undefined reference to `getexecname' collect2: error: ld returned 1 exit status gmake[2]: *** [cmTC_b22b4] 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_b22b4/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_23b71/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_23b71.dir/build.make CMakeFiles/cmTC_23b71.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_23b71.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-linux-uclibcgnueabi/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_23b71.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_23b71.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_23b71/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_ba3c0/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_ba3c0.dir/build.make CMakeFiles/cmTC_ba3c0.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_ba3c0.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-linux-uclibcgnueabi/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_ba3c0.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_ba3c0.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_ba3c0/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_2adda/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_2adda.dir/build.make CMakeFiles/cmTC_2adda.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_2adda.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-linux-uclibcgnueabi/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_2adda.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_2adda /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2adda.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-linux-uclibcgnueabi/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_2adda.dir/src.cxx.o -o cmTC_2adda -shared -static-libgcc -static-libstdc++ /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/7.4.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/7.4.0/../../../../arm-buildroot-linux-uclibcgnueabi/lib/libstdc++.a(eh_globals.o)(.text.__cxa_get_globals_fast+0x14): R_ARM_TLS_LE32 relocation not permitted in shared object /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/7.4.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/7.4.0/../../../../arm-buildroot-linux-uclibcgnueabi/lib/libstdc++.a(eh_globals.o): in function `__cxa_get_globals_fast': eh_globals.cc:(.text.__cxa_get_globals_fast+0x14): dangerous relocation: unsupported relocation /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/7.4.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/7.4.0/../../../../arm-buildroot-linux-uclibcgnueabi/lib/libstdc++.a(eh_globals.o)(.text.__cxa_get_globals+0x14): R_ARM_TLS_LE32 relocation not permitted in shared object /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/7.4.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/7.4.0/../../../../arm-buildroot-linux-uclibcgnueabi/lib/libstdc++.a(eh_globals.o): in function `__cxa_get_globals': eh_globals.cc:(.text.__cxa_get_globals+0x14): dangerous relocation: unsupported relocation /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/7.4.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libc.a(__uClibc_main.os): in function `__uClibc_fini': __uClibc_main.c:(.text+0x15c): undefined reference to `__fini_array_start' /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/7.4.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: __uClibc_main.c:(.text+0x160): undefined reference to `__fini_array_end' /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/7.4.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: __uClibc_main.c:(.text+0x164): undefined reference to `__fini_array_start' /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/7.4.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libc.a(__uClibc_main.os): in function `__uClibc_main': __uClibc_main.c:(.text+0x590): undefined reference to `__preinit_array_end' /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/7.4.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: __uClibc_main.c:(.text+0x594): undefined reference to `__preinit_array_start' /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/7.4.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: __uClibc_main.c:(.text+0x598): undefined reference to `__preinit_array_start' /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/7.4.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: __uClibc_main.c:(.text+0x59c): undefined reference to `__init_array_end' /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/7.4.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: __uClibc_main.c:(.text+0x5a0): undefined reference to `__init_array_start' /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/7.4.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: __uClibc_main.c:(.text+0x5a4): undefined reference to `__init_array_start' /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/7.4.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: cmTC_2adda: hidden symbol `__fini_array_end' isn't defined /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/7.4.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: final link failed: bad value collect2: error: ld returned 1 exit status gmake[2]: *** [cmTC_2adda] 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_2adda/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;