Performing C SOURCE FILE Test HAVE_C_TLS failed with the following output: Change Dir: /home/peko/autobuild/instance-0/output/build/monkey-1.6.9/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_5c4e2/fast" make[1]: Entering directory '/home/peko/autobuild/instance-0/output/build/monkey-1.6.9/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_5c4e2.dir/build.make CMakeFiles/cmTC_5c4e2.dir/build make[2]: Entering directory '/home/peko/autobuild/instance-0/output/build/monkey-1.6.9/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_5c4e2.dir/src.c.o /home/peko/autobuild/instance-0/output/host/bin/m68k-linux-gcc --sysroot=/home/peko/autobuild/instance-0/output/host/m68k-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -std=gnu99 -Wall -Wextra -D__FILENAME__='"CMakeFiles/CMakeTmp/src.c"' -DHAVE_C_TLS -DNDEBUG -o CMakeFiles/cmTC_5c4e2.dir/src.c.o -c /home/peko/autobuild/instance-0/output/build/monkey-1.6.9/CMakeFiles/CMakeTmp/src.c /home/peko/autobuild/instance-0/output/build/monkey-1.6.9/CMakeFiles/CMakeTmp/src.c: In function 'main': /home/peko/autobuild/instance-0/output/build/monkey-1.6.9/CMakeFiles/CMakeTmp/src.c:4:8: warning: implicit declaration of function '__tls_get_addr' [-Wimplicit-function-declaration] __tls_get_addr(0); ^~~~~~~~~~~~~~ Linking C executable cmTC_5c4e2 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5c4e2.dir/link.txt --verbose=1 /home/peko/autobuild/instance-0/output/host/bin/m68k-linux-gcc --sysroot=/home/peko/autobuild/instance-0/output/host/m68k-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -std=gnu99 -Wall -Wextra -D__FILENAME__='"$(subst /home/peko/autobuild/instance-0/output/build/monkey-1.6.9/,,$(abspath $<))"' -DHAVE_C_TLS -DNDEBUG CMakeFiles/cmTC_5c4e2.dir/src.c.o -o cmTC_5c4e2 -rdynamic CMakeFiles/cmTC_5c4e2.dir/src.c.o: In function `main': src.c:(.text.startup+0x8): undefined reference to `__tls_get_addr' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_5c4e2.dir/build.make:97: recipe for target 'cmTC_5c4e2' failed make[2]: *** [cmTC_5c4e2] Error 1 make[2]: Leaving directory '/home/peko/autobuild/instance-0/output/build/monkey-1.6.9/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_5c4e2/fast' failed make[1]: *** [cmTC_5c4e2/fast] Error 2 make[1]: Leaving directory '/home/peko/autobuild/instance-0/output/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/peko/autobuild/instance-0/output/build/monkey-1.6.9/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_1f3fe/fast" make[1]: Entering directory '/home/peko/autobuild/instance-0/output/build/monkey-1.6.9/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_1f3fe.dir/build.make CMakeFiles/cmTC_1f3fe.dir/build make[2]: Entering directory '/home/peko/autobuild/instance-0/output/build/monkey-1.6.9/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_1f3fe.dir/CheckSymbolExists.c.o /home/peko/autobuild/instance-0/output/host/bin/m68k-linux-gcc --sysroot=/home/peko/autobuild/instance-0/output/host/m68k-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -std=gnu99 -Wall -Wextra -D__FILENAME__='"CMakeFiles/CMakeTmp/CheckSymbolExists.c"' -fPIC -DNDEBUG -o CMakeFiles/cmTC_1f3fe.dir/CheckSymbolExists.c.o -c /home/peko/autobuild/instance-0/output/build/monkey-1.6.9/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/peko/autobuild/instance-0/output/build/monkey-1.6.9/CMakeFiles/CMakeTmp/CheckSymbolExists.c:2:22: fatal error: execinfo.h: No such file or directory #include ^ compilation terminated. CMakeFiles/cmTC_1f3fe.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_1f3fe.dir/CheckSymbolExists.c.o' failed make[2]: *** [CMakeFiles/cmTC_1f3fe.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/peko/autobuild/instance-0/output/build/monkey-1.6.9/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_1f3fe/fast' failed make[1]: *** [cmTC_1f3fe/fast] Error 2 make[1]: Leaving directory '/home/peko/autobuild/instance-0/output/build/monkey-1.6.9/CMakeFiles/CMakeTmp' File /home/peko/autobuild/instance-0/output/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 }