Desperado17

Results 51 comments of Desperado17

Ok, I arrived at the compile step and ran into the first problem (I had to censor proprietary parts with XXXXXX.): [ 76%] Building CXX object src/CMakeFiles/kcov.dir/parsers/elf.cc.o cd /home/user/Downloads/kcov/kcov/build/src &&...

Can you tell me in which Cmake file the -I includes for src/CMakeFiles/kcov.dir/parsers/elf.cc.o are specified?

CmakeLists.txt:294 if (LIBDW_FOUND) include_directories(${LIBDW_INCLUDE_DIRS}) endif (LIBDW_FOUND) Is this what should append the path including ?

Do these indicate a problem that may cause libdw include not getting added? CMake Warning (dev) at /opt/cmake-3.19.3-Linux-x86_64/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:426 (message): The package name passed to `find_package_handle_standard_args` (LIBBFD) does not match the...

Ok, apparently LIBDW_FOUND is never set. What determines whether this is found? LIBDW_LIBRARY and LIBDW_INCLUDE_DIR? If yes, how should these look like? Currently LIBDW_LIBRARY points directly at libdw.so.

Which command would set LIBDW_FOUND to true anyways? Edit: Overriding LIBDW_FOUND manually will allow compilation to proceed.

According to https://cmake.org/cmake/help/latest/command/find_package.html find_package would set the LIBDW_FOUND variable but I cannot find a find_package call with LIBDW. Where did you intend to have it set?

Another question: I managed to run kcov with the intended executable but it doesn't produce any coverage output (it does create the file structure in the output directory like index...

Where is find_package_handle_standard_args called for LIBDW? https://cmake.org/cmake/help/latest/module/FindPackageHandleStandardArgs.html "The _FOUND variable will be set to TRUE if all the variables ... are valid and any optional constraints are satisfied, and FALSE...

find_package_handle_standard_args(ElfUtils DEFAULT_MSG LIBDW_LIBRARY LIBDW_INCLUDE_DIR) If I understand the documentation of find_package_handle_standard_args right then the first parameter, ElfUtils, would have to be equivalent to LIBDW so LIBDW_FOUND=1 is set. Is that...