Performing C SOURCE FILE Test HAVE_C_TLS failed with the following output: Change Dir: /home/naourr/work/instance-2/output-1/build/monkey-1.6.9/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_e140e/fast && gmake[1]: Entering directory '/home/naourr/work/instance-2/output-1/build/monkey-1.6.9/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_e140e.dir/build.make CMakeFiles/cmTC_e140e.dir/build gmake[2]: Entering directory '/home/naourr/work/instance-2/output-1/build/monkey-1.6.9/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_e140e.dir/src.c.o /home/naourr/work/instance-2/output-1/host/bin/m68k-linux-gcc --sysroot=/home/naourr/work/instance-2/output-1/host/m68k-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g2 -std=gnu99 -Wall -Wextra -D__FILENAME__='"CMakeFiles/CMakeTmp/src.c"' -DHAVE_C_TLS -o CMakeFiles/cmTC_e140e.dir/src.c.o -c /home/naourr/work/instance-2/output-1/build/monkey-1.6.9/CMakeFiles/CMakeTmp/src.c /home/naourr/work/instance-2/output-1/build/monkey-1.6.9/CMakeFiles/CMakeTmp/src.c: In function 'main': /home/naourr/work/instance-2/output-1/build/monkey-1.6.9/CMakeFiles/CMakeTmp/src.c:4:8: warning: implicit declaration of function '__tls_get_addr'; did you mean '__emutls_get_address'? [-Wimplicit-function-declaration] __tls_get_addr(0); ^~~~~~~~~~~~~~ __emutls_get_address Linking C executable cmTC_e140e /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e140e.dir/link.txt --verbose=1 /home/naourr/work/instance-2/output-1/host/bin/m68k-linux-gcc --sysroot=/home/naourr/work/instance-2/output-1/host/m68k-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g2 -std=gnu99 -Wall -Wextra -D__FILENAME__='"$(subst /home/naourr/work/instance-2/output-1/build/monkey-1.6.9/,,$(abspath $<))"' -DHAVE_C_TLS CMakeFiles/cmTC_e140e.dir/src.c.o -o cmTC_e140e /home/naourr/work/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-linux-uclibc/8.3.0/../../../../m68k-buildroot-linux-uclibc/bin/ld: CMakeFiles/cmTC_e140e.dir/src.c.o: in function `main': /home/naourr/work/instance-2/output-1/build/monkey-1.6.9/CMakeFiles/CMakeTmp/src.c:4: undefined reference to `__tls_get_addr' collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/cmTC_e140e.dir/build.make:107: cmTC_e140e] Error 1 gmake[2]: Leaving directory '/home/naourr/work/instance-2/output-1/build/monkey-1.6.9/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:141: cmTC_e140e/fast] Error 2 gmake[1]: Leaving directory '/home/naourr/work/instance-2/output-1/build/monkey-1.6.9/CMakeFiles/CMakeTmp' Source file was: __thread int a; int main() { __tls_get_addr(0); return 0; } Determining if the backtrace exist failed with the following output: Change Dir: /home/naourr/work/instance-2/output-1/build/monkey-1.6.9/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_691b8/fast && gmake[1]: Entering directory '/home/naourr/work/instance-2/output-1/build/monkey-1.6.9/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_691b8.dir/build.make CMakeFiles/cmTC_691b8.dir/build gmake[2]: Entering directory '/home/naourr/work/instance-2/output-1/build/monkey-1.6.9/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_691b8.dir/CheckSymbolExists.c.o /home/naourr/work/instance-2/output-1/host/bin/m68k-linux-gcc --sysroot=/home/naourr/work/instance-2/output-1/host/m68k-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g2 -std=gnu99 -Wall -Wextra -D__FILENAME__='"CMakeFiles/CMakeTmp/CheckSymbolExists.c"' -fPIC -o CMakeFiles/cmTC_691b8.dir/CheckSymbolExists.c.o -c /home/naourr/work/instance-2/output-1/build/monkey-1.6.9/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/naourr/work/instance-2/output-1/build/monkey-1.6.9/CMakeFiles/CMakeTmp/CheckSymbolExists.c:2:10: fatal error: execinfo.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. gmake[2]: *** [CMakeFiles/cmTC_691b8.dir/build.make:86: CMakeFiles/cmTC_691b8.dir/CheckSymbolExists.c.o] Error 1 gmake[2]: Leaving directory '/home/naourr/work/instance-2/output-1/build/monkey-1.6.9/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:141: cmTC_691b8/fast] Error 2 gmake[1]: Leaving directory '/home/naourr/work/instance-2/output-1/build/monkey-1.6.9/CMakeFiles/CMakeTmp' File /home/naourr/work/instance-2/output-1/build/monkey-1.6.9/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef backtrace return ((int*)(&backtrace))[argc]; #else (void)argc; return 0; #endif }