Re: [DynInst_API:] Status of Dyninst 10


Date: Mon, 22 Oct 2018 16:32:19 -0400
From: Stan Cox <scox@xxxxxxxxxx>
Subject: Re: [DynInst_API:] Status of Dyninst 10
I have not been able to dive into this but mentioning in case there is an obvious change to configuring and building the new-parallel-parsing branch.

With fedora 28
Âcmake -DCMAKE_INSTALL_PREFIX=.../dyninst/install -DCMAKE_BUILD_TYPE=debug .../dyninst/src/CMakeLists.txt
In CMakeError.log I see (-lpthread on linux)
Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /work/scox/dyninst/src/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/gmake" "cmTC_3252e/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_3252e.dir/build.make CMakeFiles/cmTC_3252e.dir/build
gmake[1]: Entering directory '.../dyninst/src/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_3252e.dir/CheckFunctionExists.c.o
/usr/bin/gccÂÂ -DCHECK_FUNCTION_EXISTS=pthread_createÂÂ -o CMakeFiles/cmTC_3252e.dir/CheckFunctionExists.c.oÂÂ -c /usr/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_3252e
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3252e.dir/link.txt --verbose=1
/usr/bin/gcc -DCHECK_FUNCTION_EXISTS=pthread_create -rdynamic CMakeFiles/cmTC_3252e.dir/CheckFunctionExists.c.o -o cmTC_3252e -lpthreads
/usr/bin/ld: cannot find -lpthreads
[← Prev in Thread] Current Thread [Next in Thread→]