...okay, on further examination this means that cap_dwarf is somehow missing from your platform defines. What's $PLATFORM coming out of CMake? Any linux should have cap_dwarf enabled... ________________________________________ From: Jim Galarowicz <j...@krellinst.org> Sent: Tuesday, October 3, 2017 2:16 PM To: Bill Williams; dyninst-api@cs.wisc.edu Cc: j...@krellinst.org Subject: Re: [DynInst_API:] DyninstAPI: Compile error while building top of tree
Hi Bill, I made this change, but it didn't seem to help with the compile error. diff --git a/cmake/shared.cmake b/cmake/shared.cmake index 0b49ccd..41bc676 100644 --- a/cmake/shared.cmake +++ b/cmake/shared.cmake @@ -99,7 +99,7 @@ include (${DYNINST_ROOT}/cmake/options.cmake) include (${DYNINST_ROOT}/cmake/optimization.cmake) # Check for cotire-gcc compatibility -set(USE_COTIRE true) +set(USE_COTIRE false) IF(CMAKE_COMPILER_IS_GNUCC) execute_process(COMMAND ${CMAKE_C_COMPILER} -dumpversion OUTPUT_VARIABLE GCC_VERSION) string(REGEX MATCHALL "[0-9]+" GCC_VERSION_COMPONENTS ${GCC_VERSION}) Jim G On 10/03/2017 01:54 PM, Bill Williams wrote: > First step here is disabling cotire; it's great when it works but it seems to > have gotten very brittle on HPC systems. IIRC top of tree should have that as > an explicit cache variable. If not I'll make sure I push a patch up... > > If that doesn't do the trick it should just be a missing include I'd think. > ________________________________________ > From: Dyninst-api <dyninst-api-boun...@cs.wisc.edu> on behalf of Jim > Galarowicz <j...@krellinst.org> > Sent: Tuesday, October 3, 2017 1:47 PM > To: dyninst-api@cs.wisc.edu > Subject: [DynInst_API:] DyninstAPI: Compile error while building top of tree > > Hi all, > > Just tried to build the top of tree (from a few minutes ago). I'm seeing > this error on a power 8 cluster. > > Thanks, > > Jim G > > > 19%] Building CXX object > symtabAPI/CMakeFiles/symtabAPI.dir/src/Object-elf.C.o > In file included from > /home/jeg/OpenSpeedShop_ROOT/BUILD/p8-node.creativec.com/dyninst-20171003/symtabAPI/cotire/symtabAPI_CXX_prefix.cxx:22:0, > from > /home/jeg/OpenSpeedShop_ROOT/BUILD/p8-node.creativec.com/dyninst-20171003/symtabAPI/cotire/symtabAPI_CXX_prefix.hxx:4: > /home/jeg/OpenSpeedShop_ROOT/BUILD/p8-node.creativec.com/dyninst-20171003/symtabAPI/src/Object-elf.C: > In function ‘int read_except_table_gcc3(Dwarf*, mach_relative_info&, > Dyninst::Elf_X_Shdr*, Dyninst::Elf_X_Shdr*, > std::vector<Dyninst::SymtabAPI::ExceptionBlock>&)’: > /home/jeg/OpenSpeedShop_ROOT/BUILD/p8-node.creativec.com/dyninst-20171003/symtabAPI/src/Object-elf.C:3418:12: > error: ‘DW_CIE_ID_64’ was not declared in this scope > if(dwarf_cfi_cie_p(&entry)) > ^ > make[2]: *** [symtabAPI/CMakeFiles/symtabAPI.dir/src/Object-elf.C.o] Error 1 > make[1]: *** [symtabAPI/CMakeFiles/symtabAPI.dir/all] Error 2 > make: *** [all] Error 2 > > _______________________________________________ > Dyninst-api mailing list > Dyninst-api@cs.wisc.edu > https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api _______________________________________________ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api