We are currently migrating to Yocto v2.2(Morty) in RDKB devices which runs gcc6 and we are seeing the below configuration error.
| -- Looking for pthread.h
| -- Looking for pthread.h - found
| -- Looking for pthread_create
| -- Looking for pthread_create - not found
| -- Looking for pthread_create in pthreads
| -- Looking for pthread_create in pthreads - not found
| -- Looking for pthread_create in pthread
| -- Looking for pthread_create in pthread - not found
| -- Check if compiler accepts -pthread
| -- Check if compiler accepts -pthread - no
| CMake Error at /mnt/home/dthiya418/Yocto-2.2/txb6morty/tchxb6-morty/tmp/sysroots/x86_64-linux/usr/share/cmake-3.8/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
| Could NOT find Threads (missing: Threads_FOUND)
Attached
CMakeError.log
CMakeOutput.log