Date: | Fri, 27 Apr 2018 12:11:52 +0200 |
---|---|
From: | Alberto Olmo <aolmo.uab@xxxxxxxxx> |
Subject: | Re: [DynInst_API:] FATAL 68 Dyninst |
Dear Xiaozhu, Thanks to your advice I have managed to know in what lines the problems stems from and, as you pointed out, the error comes from these two lines: bool result = SymtabAPI::Symtab::openFile(symt_obj, fileName); Apparently, the var resultÂbecomes 0 after the openFile function fails. The value that symt_obj has is 0 (after the call ends) and the fileName is just the name of my app. Maybe I am missing something... In addition, I have tried to install the PR that you sent me but I am getting another error while executing the cmake: it cannot find ddb.db, params.db norÂunistd.db from unstrip_src. I am attaching the whole configure log to this email in the event you wanted to see it. Thank you ! Alberto Olmo. 2018-04-26 19:17 GMT+02:00 Xiaozhu Meng <xmeng@xxxxxxxxxxx>:
-- -- Input platform: -- -- Attempting to automatically identify platform: x86_64-unknown-linux2.4 -- Found libiberty: /usr/lib64/libiberty.a -- Using libiberty /usr/lib64/libiberty.a -- Disabling Boost's own CMake--known buggy in many cases -- Boost version: 1.62.0 -- Found the following Boost libraries: -- thread -- system -- date_time -- chrono -- atomic -- Boost includes: /home/aolmo/soft/boost_1_62_0 -- Boost library dirs: /home/aolmo/soft/boost_1_62_0/stage/lib -- Boost thread library: /home/aolmo/soft/boost_1_62_0/stage/lib/libboost_thread.so -- Boost libraries: /home/aolmo/soft/boost_1_62_0/stage/lib/libboost_thread.so;/home/aolmo/soft/boost_1_62_0/stage/lib/libboost_system.so;/home/aolmo/soft/boost_1_62_0/stage/lib/libboost_date_time.so;/home/aolmo/soft/boost_1_62_0/stage/lib/libboost_chrono.so;/home/aolmo/soft/boost_1_62_0/stage/lib/libboost_atomic.so -- C++11 support found, required flags are: -std=c++11 -- Enabling ThreadDB support -- Set arch and platform based definitions -- Found g++, enabling -fvisibility=hidden -- Options set -- Set optimization flags -- cotire 1.7.8 loaded. -- Building common... -- Processing dependent target /usr/lib64/libiberty.a... -- Building dynElf... -- Processing dependent target /usr/local/lib/libelf.so.1... -- Building dynDwarf... -- Processing dependent target dynElf... -- Found dependency location /home/aolmo/soft/dyninst-master/elf -- Processing dependent target common... -- Found dependency location /home/aolmo/soft/dyninst-master/common -- Processing dependent target /usr/local/lib64/libdw.so... -- Processing dependent target /usr/local/lib/libelf.so.1... -- Building symLite... -- Processing dependent target common... -- Found dependency location /home/aolmo/soft/dyninst-master/common -- Processing dependent target dynElf... -- Found dependency location /home/aolmo/soft/dyninst-master/elf -- Building instructionAPI... -- Processing dependent target common... -- Found dependency location /home/aolmo/soft/dyninst-master/common -- Building symtabAPI... -- Processing dependent target common... -- Found dependency location /home/aolmo/soft/dyninst-master/common -- Processing dependent target dynElf... -- Found dependency location /home/aolmo/soft/dyninst-master/elf -- Processing dependent target /usr/local/lib/libelf.so.1... -- Processing dependent target dynDwarf... -- Found dependency location /home/aolmo/soft/dyninst-master/dwarf -- Processing dependent target /usr/local/lib64/libdw.so... -- Building parseAPI... -- Processing dependent target common... -- Found dependency location /home/aolmo/soft/dyninst-master/common -- Processing dependent target instructionAPI... -- Found dependency location /home/aolmo/soft/dyninst-master/instructionAPI -- Processing dependent target symtabAPI... -- Found dependency location /home/aolmo/soft/dyninst-master/symtabAPI -- Building pcontrol... -- Processing dependent target common... -- Found dependency location /home/aolmo/soft/dyninst-master/common -- Processing dependent target symtabAPI... -- Found dependency location /home/aolmo/soft/dyninst-master/symtabAPI -- Building stackwalk... -- Processing dependent target common... -- Found dependency location /home/aolmo/soft/dyninst-master/common -- Processing dependent target instructionAPI... -- Found dependency location /home/aolmo/soft/dyninst-master/instructionAPI -- Processing dependent target pcontrol... -- Found dependency location /home/aolmo/soft/dyninst-master/proccontrol -- Processing dependent target dynDwarf... -- Found dependency location /home/aolmo/soft/dyninst-master/dwarf -- Processing dependent target dynElf... -- Found dependency location /home/aolmo/soft/dyninst-master/elf -- Processing dependent target symtabAPI... -- Found dependency location /home/aolmo/soft/dyninst-master/symtabAPI -- Processing dependent target parseAPI... -- Found dependency location /home/aolmo/soft/dyninst-master/parseAPI -- Building patchAPI... -- Processing dependent target common... -- Found dependency location /home/aolmo/soft/dyninst-master/common -- Processing dependent target instructionAPI... -- Found dependency location /home/aolmo/soft/dyninst-master/instructionAPI -- Processing dependent target parseAPI... -- Found dependency location /home/aolmo/soft/dyninst-master/parseAPI CMake Error at examples/CMakeLists.txt:12 (file): file COPY cannot find "/home/aolmo/soft/dyninst-master/examples/unstrip_src/ddb.db". CMake Error at examples/CMakeLists.txt:13 (file): file COPY cannot find "/home/aolmo/soft/dyninst-master/examples/unstrip_src/params.db". CMake Error at examples/CMakeLists.txt:14 (file): file COPY cannot find "/home/aolmo/soft/dyninst-master/examples/unstrip_src/unistd.db". -- Building dyninstAPI... -- Processing dependent target common... -- Found dependency location /home/aolmo/soft/dyninst-master/common -- Processing dependent target instructionAPI... -- Found dependency location /home/aolmo/soft/dyninst-master/instructionAPI -- Processing dependent target stackwalk... -- Found dependency location /home/aolmo/soft/dyninst-master/stackwalk -- Processing dependent target pcontrol... -- Found dependency location /home/aolmo/soft/dyninst-master/proccontrol -- Processing dependent target patchAPI... -- Found dependency location /home/aolmo/soft/dyninst-master/patchAPI -- Processing dependent target parseAPI... -- Found dependency location /home/aolmo/soft/dyninst-master/parseAPI -- Processing dependent target symtabAPI... -- Found dependency location /home/aolmo/soft/dyninst-master/symtabAPI -- Building dynC_API... -- Processing dependent target dyninstAPI... -- Found dependency location /home/aolmo/soft/dyninst-master/dyninstAPI -- Configuring DyninstAPI_RT -- Configuring RT library -- The C compiler identification is GNU 4.8.5 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- -- Input platform: x86_64-unknown-linux2.4 -- Set arch and platform based definitions -- Options set -- Set optimization flags -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/cc -- dyninstAPI RT library SOVERSION: 9.3 -- dyninstAPI RT library LIBVERSION: 9.3.2 -- Checking for 32-bit runtime library... -- Performing Test CHECK_RT_LIB_32 -- Performing Test CHECK_RT_LIB_32 - Failed -- Disabling 32-bit runtime library; change BUILD_RTLIB_32 to ON and install 32-bit build environment to enable -- Configuring done -- Generating done -- Build files have been written to: /home/aolmo/soft/dyninst-master/dyninstAPI_RT -- Could NOT find LATEX (missing: LATEX_COMPILER) -- LaTeX not found -- Adding Unix-specific dependencies -- Added libdwarf_imp and libelf_imp dependencies -- Configuring incomplete, errors occurred! See also "/home/aolmo/soft/dyninst-master/CMakeFiles/CMakeOutput.log". See also "/home/aolmo/soft/dyninst-master/CMakeFiles/CMakeError.log". |
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | [DynInst_API:] [dyninst/dyninst] 938491: Adding Equal Operation case for emitImm., Sasha Nicolas |
---|---|
Next by Date: | Re: [DynInst_API:] FATAL 68 Dyninst, Xiaozhu Meng |
Previous by Thread: | Re: [DynInst_API:] FATAL 68 Dyninst, Xiaozhu Meng |
Next by Thread: | Re: [DynInst_API:] FATAL 68 Dyninst, Xiaozhu Meng |
Indexes: | [Date] [Thread] |