Determining if the pthread_create exist failed with the following output: Change Dir: /data/steve/genivi-13/m3sk/y-baseline/build/tmp/work/aarch64-poky-linux/audiomanager/7.6-r0/build/CMakeFiles/CMakeTmp Run Build Command:"/data/steve/genivi-13/m3sk/y-baseline/build/tmp/hosttools/make" "cmTC_9587e/fast" make -f CMakeFiles/cmTC_9587e.dir/build.make CMakeFiles/cmTC_9587e.dir/build make[1]: Entering directory '/data/steve/genivi-13/m3sk/y-baseline/build/tmp/work/aarch64-poky-linux/audiomanager/7.6-r0/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_9587e.dir/CheckSymbolExists.c.o /data/steve/genivi-13/m3sk/y-baseline/build/tmp/work/aarch64-poky-linux/audiomanager/7.6-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc -march=armv8-a -mtune=cortex-a57.cortex-a53 --sysroot=/data/steve/genivi-13/m3sk/y-baseline/build/tmp/work/aarch64-poky-linux/audiomanager/7.6-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/data/steve/genivi-13/m3sk/y-baseline/build/tmp/work/aarch64-poky-linux/audiomanager/7.6-r0=/usr/src/debug/audiomanager/7.6-r0 -fdebug-prefix-map=/data/steve/genivi-13/m3sk/y-baseline/build/tmp/work/aarch64-poky-linux/audiomanager/7.6-r0/recipe-sysroot-native= -fdebug-prefix-map=/data/steve/genivi-13/m3sk/y-baseline/build/tmp/work/aarch64-poky-linux/audiomanager/7.6-r0/recipe-sysroot= -march=armv8-a -mtune=cortex-a57.cortex-a53 --sysroot=/data/steve/genivi-13/m3sk/y-baseline/build/tmp/work/aarch64-poky-linux/audiomanager/7.6-r0/recipe-sysroot -o CMakeFiles/cmTC_9587e.dir/CheckSymbolExists.c.o -c /data/steve/genivi-13/m3sk/y-baseline/build/tmp/work/aarch64-poky-linux/audiomanager/7.6-r0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTC_9587e /data/steve/genivi-13/m3sk/y-baseline/build/tmp/work/aarch64-poky-linux/audiomanager/7.6-r0/recipe-sysroot-native/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9587e.dir/link.txt --verbose=1 /data/steve/genivi-13/m3sk/y-baseline/build/tmp/work/aarch64-poky-linux/audiomanager/7.6-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc -march=armv8-a -mtune=cortex-a57.cortex-a53 --sysroot=/data/steve/genivi-13/m3sk/y-baseline/build/tmp/work/aarch64-poky-linux/audiomanager/7.6-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/data/steve/genivi-13/m3sk/y-baseline/build/tmp/work/aarch64-poky-linux/audiomanager/7.6-r0=/usr/src/debug/audiomanager/7.6-r0 -fdebug-prefix-map=/data/steve/genivi-13/m3sk/y-baseline/build/tmp/work/aarch64-poky-linux/audiomanager/7.6-r0/recipe-sysroot-native= -fdebug-prefix-map=/data/steve/genivi-13/m3sk/y-baseline/build/tmp/work/aarch64-poky-linux/audiomanager/7.6-r0/recipe-sysroot= -march=armv8-a -mtune=cortex-a57.cortex-a53 --sysroot=/data/steve/genivi-13/m3sk/y-baseline/build/tmp/work/aarch64-poky-linux/audiomanager/7.6-r0/recipe-sysroot -march=armv8-a -mtune=cortex-a57.cortex-a53 --sysroot=/data/steve/genivi-13/m3sk/y-baseline/build/tmp/work/aarch64-poky-linux/audiomanager/7.6-r0/recipe-sysroot -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed CMakeFiles/cmTC_9587e.dir/CheckSymbolExists.c.o -o cmTC_9587e -rdynamic CMakeFiles/cmTC_9587e.dir/CheckSymbolExists.c.o: In function `main': /usr/src/debug/audiomanager/7.6-r0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8: undefined reference to `pthread_create' /usr/src/debug/audiomanager/7.6-r0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8: undefined reference to `pthread_create' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_9587e.dir/build.make:97: recipe for target 'cmTC_9587e' failed make[1]: *** [cmTC_9587e] Error 1 make[1]: Leaving directory '/data/steve/genivi-13/m3sk/y-baseline/build/tmp/work/aarch64-poky-linux/audiomanager/7.6-r0/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_9587e/fast' failed make: *** [cmTC_9587e/fast] Error 2 File /data/steve/genivi-13/m3sk/y-baseline/build/tmp/work/aarch64-poky-linux/audiomanager/7.6-r0/build/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: /data/steve/genivi-13/m3sk/y-baseline/build/tmp/work/aarch64-poky-linux/audiomanager/7.6-r0/build/CMakeFiles/CMakeTmp Run Build Command:"/data/steve/genivi-13/m3sk/y-baseline/build/tmp/hosttools/make" "cmTC_282fe/fast" make -f CMakeFiles/cmTC_282fe.dir/build.make CMakeFiles/cmTC_282fe.dir/build make[1]: Entering directory '/data/steve/genivi-13/m3sk/y-baseline/build/tmp/work/aarch64-poky-linux/audiomanager/7.6-r0/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_282fe.dir/CheckFunctionExists.c.o /data/steve/genivi-13/m3sk/y-baseline/build/tmp/work/aarch64-poky-linux/audiomanager/7.6-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc -march=armv8-a -mtune=cortex-a57.cortex-a53 --sysroot=/data/steve/genivi-13/m3sk/y-baseline/build/tmp/work/aarch64-poky-linux/audiomanager/7.6-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/data/steve/genivi-13/m3sk/y-baseline/build/tmp/work/aarch64-poky-linux/audiomanager/7.6-r0=/usr/src/debug/audiomanager/7.6-r0 -fdebug-prefix-map=/data/steve/genivi-13/m3sk/y-baseline/build/tmp/work/aarch64-poky-linux/audiomanager/7.6-r0/recipe-sysroot-native= -fdebug-prefix-map=/data/steve/genivi-13/m3sk/y-baseline/build/tmp/work/aarch64-poky-linux/audiomanager/7.6-r0/recipe-sysroot= -march=armv8-a -mtune=cortex-a57.cortex-a53 --sysroot=/data/steve/genivi-13/m3sk/y-baseline/build/tmp/work/aarch64-poky-linux/audiomanager/7.6-r0/recipe-sysroot -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_282fe.dir/CheckFunctionExists.c.o -c /data/steve/genivi-13/m3sk/y-baseline/build/tmp/work/aarch64-poky-linux/audiomanager/7.6-r0/recipe-sysroot-native/usr/share/cmake-3.7/Modules/CheckFunctionExists.c Linking C executable cmTC_282fe /data/steve/genivi-13/m3sk/y-baseline/build/tmp/work/aarch64-poky-linux/audiomanager/7.6-r0/recipe-sysroot-native/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_282fe.dir/link.txt --verbose=1 /data/steve/genivi-13/m3sk/y-baseline/build/tmp/work/aarch64-poky-linux/audiomanager/7.6-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc -march=armv8-a -mtune=cortex-a57.cortex-a53 --sysroot=/data/steve/genivi-13/m3sk/y-baseline/build/tmp/work/aarch64-poky-linux/audiomanager/7.6-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/data/steve/genivi-13/m3sk/y-baseline/build/tmp/work/aarch64-poky-linux/audiomanager/7.6-r0=/usr/src/debug/audiomanager/7.6-r0 -fdebug-prefix-map=/data/steve/genivi-13/m3sk/y-baseline/build/tmp/work/aarch64-poky-linux/audiomanager/7.6-r0/recipe-sysroot-native= -fdebug-prefix-map=/data/steve/genivi-13/m3sk/y-baseline/build/tmp/work/aarch64-poky-linux/audiomanager/7.6-r0/recipe-sysroot= -march=armv8-a -mtune=cortex-a57.cortex-a53 --sysroot=/data/steve/genivi-13/m3sk/y-baseline/build/tmp/work/aarch64-poky-linux/audiomanager/7.6-r0/recipe-sysroot -DCHECK_FUNCTION_EXISTS=pthread_create -march=armv8-a -mtune=cortex-a57.cortex-a53 --sysroot=/data/steve/genivi-13/m3sk/y-baseline/build/tmp/work/aarch64-poky-linux/audiomanager/7.6-r0/recipe-sysroot -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed CMakeFiles/cmTC_282fe.dir/CheckFunctionExists.c.o -o cmTC_282fe -rdynamic -lpthreads /data/steve/genivi-13/m3sk/y-baseline/build/tmp/work/aarch64-poky-linux/audiomanager/7.6-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/5.3.1/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status CMakeFiles/cmTC_282fe.dir/build.make:97: recipe for target 'cmTC_282fe' failed make[1]: *** [cmTC_282fe] Error 1 make[1]: Leaving directory '/data/steve/genivi-13/m3sk/y-baseline/build/tmp/work/aarch64-poky-linux/audiomanager/7.6-r0/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_282fe/fast' failed make: *** [cmTC_282fe/fast] Error 2