Determining if the pthread_create exist failed with the following output: Change Dir: /home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_9823e/fast" make[1]: Entering directory '/home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_9823e.dir/build.make CMakeFiles/cmTC_9823e.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_9823e.dir/CheckSymbolExists.c.o /home/buildroot/autobuild/run/instance-2/output/host/bin/aarch64_be-linux-gnu-gcc --sysroot=/home/buildroot/autobuild/run/instance-2/output/host/aarch64_be-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DNDEBUG -o CMakeFiles/cmTC_9823e.dir/CheckSymbolExists.c.o -c /home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTC_9823e /home/buildroot/autobuild/run/instance-2/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9823e.dir/link.txt --verbose=1 /home/buildroot/autobuild/run/instance-2/output/host/bin/aarch64_be-linux-gnu-gcc --sysroot=/home/buildroot/autobuild/run/instance-2/output/host/aarch64_be-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DNDEBUG -rdynamic CMakeFiles/cmTC_9823e.dir/CheckSymbolExists.c.o -o cmTC_9823e CMakeFiles/cmTC_9823e.dir/CheckSymbolExists.c.o: In function `main': CheckSymbolExists.c:(.text.startup+0x0): undefined reference to `pthread_create' CheckSymbolExists.c:(.text.startup+0x4): undefined reference to `pthread_create' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_9823e.dir/build.make:97: recipe for target 'cmTC_9823e' failed make[2]: *** [cmTC_9823e] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_9823e/fast' failed make[1]: *** [cmTC_9823e/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp' File /home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef pthread_create return ((int*)(&pthread_create))[argc]; #else (void)argc; return 0; #endif } Determining if the function pthread_create exists in the pthreads failed with the following output: Change Dir: /home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_f5ec3/fast" make[1]: Entering directory '/home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_f5ec3.dir/build.make CMakeFiles/cmTC_f5ec3.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_f5ec3.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/run/instance-2/output/host/bin/aarch64_be-linux-gnu-gcc --sysroot=/home/buildroot/autobuild/run/instance-2/output/host/aarch64_be-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DCHECK_FUNCTION_EXISTS=pthread_create -DNDEBUG -o CMakeFiles/cmTC_f5ec3.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/run/instance-2/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_f5ec3 /home/buildroot/autobuild/run/instance-2/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f5ec3.dir/link.txt --verbose=1 /home/buildroot/autobuild/run/instance-2/output/host/bin/aarch64_be-linux-gnu-gcc --sysroot=/home/buildroot/autobuild/run/instance-2/output/host/aarch64_be-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DCHECK_FUNCTION_EXISTS=pthread_create -DNDEBUG -rdynamic CMakeFiles/cmTC_f5ec3.dir/CheckFunctionExists.c.o -o cmTC_f5ec3 -lpthreads /home/buildroot/autobuild/run/instance-2/output/host/opt/ext-toolchain/bin/../lib/gcc/aarch64_be-linux-gnu/7.3.1/../../../../aarch64_be-linux-gnu/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status CMakeFiles/cmTC_f5ec3.dir/build.make:97: recipe for target 'cmTC_f5ec3' failed make[2]: *** [cmTC_f5ec3] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_f5ec3/fast' failed make[1]: *** [cmTC_f5ec3/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp' Performing C++ SOURCE FILE Test _SSL_LEAK_SUPPRESS_AVAILABLE failed with the following output: Change Dir: /home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_72e08/fast" make[1]: Entering directory '/home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_72e08.dir/build.make CMakeFiles/cmTC_72e08.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_72e08.dir/src.cxx.o /home/buildroot/autobuild/run/instance-2/output/host/bin/aarch64_be-linux-gnu-g++ --sysroot=/home/buildroot/autobuild/run/instance-2/output/host/aarch64_be-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -latomic -std=c++11 -fno-strict-aliasing -D_SSL_LEAK_SUPPRESS_AVAILABLE -DNDEBUG -o CMakeFiles/cmTC_72e08.dir/src.cxx.o -c /home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp/src.cxx In file included from /home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp/src.cxx:2:0: /home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp/src.cxx: In function 'int main()': /home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp/src.cxx:5:9: error: expected id-expression before 'while' ::SSL_COMP_free_compression_methods(); ^ CMakeFiles/cmTC_72e08.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_72e08.dir/src.cxx.o' failed make[2]: *** [CMakeFiles/cmTC_72e08.dir/src.cxx.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_72e08/fast' failed make[1]: *** [cmTC_72e08/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp' Source file was: #include int main() { ::SSL_COMP_free_compression_methods(); }