Re: [DynInst_API:] Dyninst-9.2 compile error on Intel Phi


Date: Wed, 06 Jul 2016 12:38:42 -0500
From: Jim Galarowicz <jeg@xxxxxxxxxxxxx>
Subject: Re: [DynInst_API:] Dyninst-9.2 compile error on Intel Phi
Hi Bill,

Adding Type.h didn't change the behaviour unless it needs to be in a specific location in the include block?
This is the front-end build for MIC, so it is a x86_64 build.
I don't have this problem on my x864_64 laptop though.

Jim G


grep typeRef */*/*
dyninstAPI/src/BPatch_typePrivate.h:#define DYNINST_CLASS_NAME BPatch_typeRef
dyninstAPI/src/BPatch_typePrivate.h:class BPATCH_DLL_EXPORT BPatch_typeRef : public BPatch_type, public BPatch_fieldListInterface, public BPatch_rangedInterface {
dyninstAPI/src/BPatch_typePrivate.h:   BPatch_typeRef(int _ID, BPatch_type *_refType, const char *_name = NULL);
dyninstAPI/src/BPatch_typePrivate.h:   ~BPatch_typeRef() { refType->decrRefCount(); }
symtabAPI/doc/2-Abstractions.tex:            node [class2] (typeRef) {typeRef}
symtabAPI/doc/2-Abstractions.tex:            node [class2, below of=typeRef] (typePointer) {typePointer}
symtabAPI/doc/symtab-text.txt:typeRef *getRefType()
symtabAPI/doc/symtab-text.txt:    If this Type object represents a Reference type, then return the object casting the Type object to typeRef otherwise return NULL.
symtabAPI/doc/symtab-text.txt:6.2.7.3 Class typeRef
symtabAPI/doc/symtab-text.txt:static typeRef *create(string &name, Type *ptr, int size,
symtabAPI/h/Type.h:class typeRef;
symtabAPI/h/Type.h:   typeRef *getRefType();
symtabAPI/h/Type.h:class SYMTAB_EXPORT typeRef : public derivedType {
symtabAPI/h/Type.h:   typeRef();
symtabAPI/h/Type.h:   typeRef(typeId_t ID, Type *refType, std::string name);
symtabAPI/h/Type.h:   typeRef(Type *refType, std::string name);
symtabAPI/h/Type.h:   static typeRef *create(std::string &name, Type *ptr, Symtab * obj = NULL);
symtabAPI/src/Type.C:    max_size = MAX(sizeof(typeRef), max_size);
symtabAPI/src/Type.C:typeRef *Type::getRefType(){
symtabAPI/src/Type.C:    return dynamic_cast<typeRef *>(this);
symtabAPI/src/Type.C:    if (getRefType()) return std::string("typeRef");
symtabAPI/src/Type.C:typeRef::typeRef(int ID, Type *refType, std::string name) :
symtabAPI/src/Type.C:typeRef::typeRef(Type *refType, std::string name) :
symtabAPI/src/Type.C:typeRef *typeRef::create(std::string &name, Type *ref, Symtab *obj)
symtabAPI/src/Type.C:   typeRef *typ = new typeRef(ref, name);
symtabAPI/src/Type.C:bool typeRef::operator==(const Type &otype) const {
symtabAPI/src/Type.C:      const typeRef &oReftype = dynamic_cast<const typeRef &>(otype);
symtabAPI/src/Type.C:bool typeRef::isCompatible(Type *otype) {
symtabAPI/src/Type.C:   typeRef *oReftype = dynamic_cast< typeRef *>(otype);
symtabAPI/src/Type.C:void typeRef::fixupUnknowns(Module *module)
symtabAPI/src/Type.C:typeRef::typeRef() {}
symtabAPI/src/Type.C:                newt = new typeRef(ID_, NULL, name_);
symtabAPI/src/Type.C:void typeRef::serialize_specific(SerializerBase *sb) THROW_SPEC(SerializerError)
symtabAPI/src/Type.C:    ifxml_start_element(sb, "typeRef");
symtabAPI/src/Type.C:    ifxml_end_element(sb, "typeRef");
symtabAPI/src/Type.C:void typeRef::serialize_specific(SerializerBase *) THROW_SPEC(SerializerError)
symtabAPI/src/dwarfWalker.C:         indirectType = new typeRef(type_id(), typePointedTo, curName());
symtabAPI/src/dwarfWalker.C:         indirectType = tc()->addOrUpdateType((typeRef *) indirectType );
symtabAPI/src/parseStab.C:    typeRef *newType = new typeRef(ID, ptrType, tName);
PBS maia97 50>

symtabAPI/src/Object-elf.C:#include "Type.h"
symtabAPI/src/Object.C:#include "Type.h"
symtabAPI/src/Type.C:#include "Type.h"
symtabAPI/src/dwarfWalker.C:#include "Type.h"
symtabAPI/src/parseDwarf.C:#include "Type.h"
dyninstAPI/src/BPatch_module.C:#include "symtabAPI/h/Type.h"    // For BPatch_type related stuff
dyninstAPI/src/BPatch_snippet.C:#include "symtabAPI/h/Type.h"




On 07/06/2016 11:04 AM, Bill Williams wrote:
On 07/05/2016 09:11 PM, Jim Galarowicz wrote:
Hi Bill,

Thanks!   Adding the .c_str() got me quite a bit farther.
Now I'm getting this error.

Hrm. First question is whether adding "Type.h" to the include block fixes this--I'm surprised gnu doesn't have an issue with this instantiation.

--bw

Jim G

[ 26%] Building CXX object symtabAPI/CMakeFiles/symtabAPI.dir/src/emitElfStatic.C.o
[ 26%] Building CXX object symtabAPI/CMakeFiles/symtabAPI.dir/src/dwarfWalker.C.o
[ 26%] Building CXX object symtabAPI/CMakeFiles/symtabAPI.dir/src/emitElfStatic-x86.C.o
[ 27%] Building CXX object symtabAPI/CMakeFiles/symtabAPI.dir/src/relocationEntry-elf-x86.C.o
Linking CXX shared library libsymtabAPI.so
CMakeFiles/symtabAPI.dir/src/dwarfWalker.C.o: In function `Dyninst::SymtabAPI::DwarfWalker::parseTypeReferences()':
/nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia98/dyninst-9.2.0/symtabAPI/src/dwarfWalker.C:1270: undefined reference to `Dyninst::SymtabAPI::typeRef* Dyninst::SymtabAPI::typeCollection::addOrUpdateType<Dyninst::SymtabAPI::typeRef>(Dyninst::SymtabAPI::typeRef*)'
make[2]: *** [symtabAPI/libsymtabAPI.so.9.2.0] Error 1
make[1]: *** [symtabAPI/CMakeFiles/symtabAPI.dir/all] Error 2
make: *** [all] Error 2
[  0%] Building DyninstRT
[ 50%] Built target dyninstAPI_RT
[100%] Built target dyninstAPI_RT_static
[  0%] Built target DyninstRT
[ 11%] Built target common
[ 12%] Built target dynElf
[ 13%] Built target dynDwarf
[ 14%] Built target symLite
[ 18%] Built target instructionAPI
Linking CXX shared library libsymtabAPI.so
CMakeFiles/symtabAPI.dir/src/dwarfWalker.C.o: In function `Dyninst::SymtabAPI::DwarfWalker::parseTypeReferences()':
/nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia98/dyninst-9.2.0/symtabAPI/src/dwarfWalker.C:1270: undefined reference to `Dyninst::SymtabAPI::typeRef* Dyninst::SymtabAPI::typeCollection::addOrUpdateType<Dyninst::SymtabAPI::typeRef>(Dyninst::SymtabAPI::typeRef*)'
make[2]: *** [symtabAPI/libsymtabAPI.so.9.2.0] Error 1
make[1]: *** [symtabAPI/CMakeFiles/symtabAPI.dir/all] Error 2
make: *** [all] Error 2
/nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia98 /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT
/nobackupnfs2/jgalarow/OpenSpeedShop_ROOT
DYNINST FAILED TO BUILD - TERMINATING BUILD SCRIPT.  Please check for errors.



The complete build output for Dyninst:


Continuing the dyninst build process.

cp: cannot stat `SOURCES/dyninst-9.2.0.patch': No such file or directory
/nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia98 /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT
/nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia98/dyninst-9.2.0 /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia98 /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT
checking for /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/SOURCES/dyninst-9.2.0.patch
-- The C compiler identification is Intel 15.0.0.20140723
-- The CXX compiler identification is Intel 15.0.0.20140723
-- Check for working C compiler: /nasa/intel/Compiler/2015.0.090/composer_xe_2015.0.090/bin/intel64/icc
-- Check for working C compiler: /nasa/intel/Compiler/2015.0.090/composer_xe_2015.0.090/bin/intel64/icc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /nasa/intel/Compiler/2015.0.090/composer_xe_2015.0.090/bin/intel64/icpc
-- Check for working CXX compiler: /nasa/intel/Compiler/2015.0.090/composer_xe_2015.0.090/bin/intel64/icpc -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- -- Input platform:
-- -- Attempting to automatically identify platform: x86_64-unknown-linux2.4
-- Found LibElf: /nobackupnfs2/jgalarow/maia/krellroot_v2.2.3/lib64/libelf.so 
-- Found LibDwarf: /nobackupnfs2/jgalarow/maia/krellroot_v2.2.3/lib64/libdwarf.so 
-- Found libiberty: /nobackupnfs2/jgalarow/maia/krellroot_v2.2.3/lib64/libiberty_pic.a
-- Using libiberty /nobackupnfs2/jgalarow/maia/krellroot_v2.2.3/lib64/libiberty_pic.a
-- Found Thread_Db: /usr/lib64/libthread_db.so 
-- Disabling Boost's own CMake--known buggy in many cases
-- Boost version: 1.53.0
-- Found the following Boost libraries:
--   thread
--   system
-- Boost includes: //nobackupnfs2/jgalarow/maia/krellroot_v2.2.3/include
-- Boost library dirs: //nobackupnfs2/jgalarow/maia/krellroot_v2.2.3/lib
-- Boost thread library: //nobackupnfs2/jgalarow/maia/krellroot_v2.2.3/lib/libboost_thread.so
-- Boost libraries: //nobackupnfs2/jgalarow/maia/krellroot_v2.2.3/lib/libboost_thread.so;//nobackupnfs2/jgalarow/maia/krellroot_v2.2.3/lib/libboost_system.so
-- Performing Test _HAS_CXX11_FLAG
-- Performing Test _HAS_CXX11_FLAG - Success
-- Checking C++11 support for "__func__"
-- Checking C++11 support for "__func__": works
-- Checking C++11 support for "auto"
-- Checking C++11 support for "auto": works
-- Checking C++11 support for "auto_ret_type"
-- Checking C++11 support for "auto_ret_type": works
-- Checking C++11 support for "class_override_final"
-- Checking C++11 support for "class_override_final": not supported
-- Checking C++11 support for "constexpr"
-- Checking C++11 support for "constexpr": works
-- Checking C++11 support for "cstdint"
-- Checking C++11 support for "cstdint": works
-- Checking C++11 support for "decltype"
-- Checking C++11 support for "decltype": works
-- Checking C++11 support for "initializer_list"
-- Checking C++11 support for "initializer_list": not supported
-- Checking C++11 support for "lambda"
-- Checking C++11 support for "lambda": works
-- Checking C++11 support for "long_long"
-- Checking C++11 support for "long_long": works
-- Checking C++11 support for "nullptr"
-- Checking C++11 support for "nullptr": works
-- Checking C++11 support for "regex"
-- Checking C++11 support for "regex": not supported
-- Checking C++11 support for "rvalue-references"
-- Checking C++11 support for "rvalue-references": works
-- Checking C++11 support for "sizeof_member"
-- Checking C++11 support for "sizeof_member": works
-- Checking C++11 support for "static_assert"
-- Checking C++11 support for "static_assert": works
-- Checking C++11 support for "variadic_templates"
-- Checking C++11 support for "variadic_templates": works
-- C++11 support found, required flags are: -std=c++11
-- Enabling ThreadDB support
-- Set arch and platform based definitions
-- Options set
-- Set optimization flags
-- Building common...
-- Processing dependent target /nobackupnfs2/jgalarow/maia/krellroot_v2.2.3/lib64/libiberty_pic.a...
-- Building dynElf...
-- Processing dependent target /nobackupnfs2/jgalarow/maia/krellroot_v2.2.3/lib64/libelf.so...
-- Building dynDwarf...
-- Processing dependent target dynElf...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia98/dyninst-9.2.0/elf
-- Processing dependent target common...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia98/dyninst-9.2.0/common
-- Processing dependent target /nobackupnfs2/jgalarow/maia/krellroot_v2.2.3/lib64/libdwarf.so...
-- Processing dependent target /nobackupnfs2/jgalarow/maia/krellroot_v2.2.3/lib64/libelf.so...
-- Building symLite...
-- Processing dependent target common...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia98/dyninst-9.2.0/common
-- Processing dependent target dynElf...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia98/dyninst-9.2.0/elf
-- Building dynC_API...
-- Processing dependent target dyninstAPI...
-- Building instructionAPI...
-- Processing dependent target common...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia98/dyninst-9.2.0/common
-- Building symtabAPI...
-- Processing dependent target common...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia98/dyninst-9.2.0/common
-- Processing dependent target dynElf...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia98/dyninst-9.2.0/elf
-- Processing dependent target /nobackupnfs2/jgalarow/maia/krellroot_v2.2.3/lib64/libelf.so...
-- Processing dependent target dynDwarf...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia98/dyninst-9.2.0/dwarf
-- Processing dependent target /nobackupnfs2/jgalarow/maia/krellroot_v2.2.3/lib64/libdwarf.so...
-- Processing dependent target /nobackupnfs2/jgalarow/maia/krellroot_v2.2.3/lib64/libelf.so...
-- Building parseAPI...
-- Processing dependent target common...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia98/dyninst-9.2.0/common
-- Processing dependent target instructionAPI...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia98/dyninst-9.2.0/instructionAPI
-- Processing dependent target symtabAPI...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia98/dyninst-9.2.0/symtabAPI
-- Building pcontrol...
-- Processing dependent target common...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia98/dyninst-9.2.0/common
-- Processing dependent target symtabAPI...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia98/dyninst-9.2.0/symtabAPI
-- Building stackwalk...
-- Processing dependent target common...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia98/dyninst-9.2.0/common
-- Processing dependent target instructionAPI...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia98/dyninst-9.2.0/instructionAPI
-- Processing dependent target pcontrol...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia98/dyninst-9.2.0/proccontrol
-- Processing dependent target dynDwarf...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia98/dyninst-9.2.0/dwarf
-- Processing dependent target dynElf...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia98/dyninst-9.2.0/elf
-- Processing dependent target symtabAPI...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia98/dyninst-9.2.0/symtabAPI
-- Processing dependent target parseAPI...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia98/dyninst-9.2.0/parseAPI
-- Building patchAPI...
-- Processing dependent target common...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia98/dyninst-9.2.0/common
-- Processing dependent target instructionAPI...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia98/dyninst-9.2.0/instructionAPI
-- Processing dependent target parseAPI...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia98/dyninst-9.2.0/parseAPI
-- Building dyninstAPI...
-- Processing dependent target common...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia98/dyninst-9.2.0/common
-- Processing dependent target instructionAPI...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia98/dyninst-9.2.0/instructionAPI
-- Processing dependent target stackwalk...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia98/dyninst-9.2.0/stackwalk
-- Processing dependent target pcontrol...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia98/dyninst-9.2.0/proccontrol
-- Processing dependent target patchAPI...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia98/dyninst-9.2.0/patchAPI
-- Processing dependent target parseAPI...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia98/dyninst-9.2.0/parseAPI
-- Processing dependent target symtabAPI...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia98/dyninst-9.2.0/symtabAPI
-- Configuring DyninstAPI_RT
-- Configuring RT library
-- Configuring DyninstAPI_RT
-- Configuring RT library
-- The C compiler identification is Intel 15.0.0.20140723
-- Check for working C compiler: /nasa/intel/Compiler/2015.0.090/composer_xe_2015.0.090/bin/intel64/icc
-- Check for working C compiler: /nasa/intel/Compiler/2015.0.090/composer_xe_2015.0.090/bin/intel64/icc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- -- Input platform: x86_64-unknown-linux2.4
-- Set arch and platform based definitions
-- Options set
-- Set optimization flags
-- The ASM compiler identification is Intel
-- Found assembler: /nasa/intel/Compiler/2015.0.090/composer_xe_2015.0.090/bin/intel64/icc
-- dyninstAPI RT library SOVERSION: 9.2
-- dyninstAPI RT library LIBVERSION: 9.2.0
-- 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: /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia98/dyninst-9.2.0/dyninstAPI_RT
-- Could NOT find LATEX (missing:  LATEX_COMPILER)
-- LaTeX not found
-- Adding Unix-specific dependencies
-- Added libdwarf_imp and libelf_imp dependencies
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CHECK_RTLIB_32
    IBERTY_LIBRARY


-- Build files have been written to: /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia98/dyninst-9.2.0
Scanning dependencies of target DyninstRT
[  0%] Building DyninstRT
Scanning dependencies of target dyninstAPI_RT
[  3%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTcommon.c.o
[  7%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTmemEmulator.c.o
[ 10%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTposix.c.o
[ 14%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTlinux.c.o
[ 17%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTheap.c.o
[ 21%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTheap-linux.c.o
[ 25%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTthread.c.o
[ 28%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTspace.S.o
[ 32%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTsignal.c.o
[ 35%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTstatic_ctors_dtors_begin.c.o
[ 39%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTstatic_ctors_dtors_end.c.o
[ 42%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTthread-x86-64.c.o
[ 46%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTtlsgetaddr-x86.S.o
[ 50%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTstatic_ctors_dtors-x86.c.o
Linking C shared library libdyninstAPI_RT.so
[ 50%] Built target dyninstAPI_RT
Scanning dependencies of target dyninstAPI_RT_static
[ 53%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTcommon.c.o
[ 57%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTmemEmulator.c.o
[ 60%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTposix.c.o
[ 64%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTlinux.c.o
[ 67%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTheap.c.o
[ 71%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTheap-linux.c.o
[ 75%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTthread.c.o
[ 78%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTspace.S.o
[ 82%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTsignal.c.o
[ 85%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTstatic_ctors_dtors_begin.c.o
[ 89%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTstatic_ctors_dtors_end.c.o
[ 92%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTthread-x86-64.c.o
[ 96%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTtlsgetaddr-x86.S.o
[100%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTstatic_ctors_dtors-x86.c.o
Linking C static library libdyninstAPI_RT.a
[100%] Built target dyninstAPI_RT_static
[  0%] Built target DyninstRT
Scanning dependencies of target common
[  0%] Building CXX object common/CMakeFiles/common.dir/src/Ident.C.o
[  0%] Building CXX object common/CMakeFiles/common.dir/src/string-regex.C.o
[  1%] Building CXX object common/CMakeFiles/common.dir/src/Timer.C.o
[  1%] Building CXX object common/CMakeFiles/common.dir/src/Types.C.o
[  1%] Building CXX object common/CMakeFiles/common.dir/src/debugOstream.C.o
[  2%] Building CXX object common/CMakeFiles/common.dir/src/lprintf.C.o
[  2%] Building CXX object common/CMakeFiles/common.dir/src/pathName.C.o
[  2%] Building CXX object common/CMakeFiles/common.dir/src/Time.C.o
[  3%] Building CXX object common/CMakeFiles/common.dir/src/fraction.C.o
[  3%] Building CXX object common/CMakeFiles/common.dir/src/timing.C.o
[  3%] Building CXX object common/CMakeFiles/common.dir/src/stats.C.o
[  3%] Building CXX object common/CMakeFiles/common.dir/src/Annotatable.C.o
[  4%] Building CXX object common/CMakeFiles/common.dir/src/MappedFile.C.o
[  4%] Building CXX object common/CMakeFiles/common.dir/src/sha1.C.o
[  4%] Building CXX object common/CMakeFiles/common.dir/src/serialize-bin.C.o
[  5%] Building CXX object common/CMakeFiles/common.dir/src/serialize-xml.C.o
[  5%] Building CXX object common/CMakeFiles/common.dir/src/util.C.o
[  5%] Building CXX object common/CMakeFiles/common.dir/src/Node.C.o
[  6%] Building CXX object common/CMakeFiles/common.dir/src/Graph.C.o
[  6%] Building CXX object common/CMakeFiles/common.dir/src/Edge.C.o
[  6%] Building CXX object common/CMakeFiles/common.dir/src/DOT.C.o
[  6%] Building CXX object common/CMakeFiles/common.dir/src/dyn_regs.C.o
[  7%] Building CXX object common/CMakeFiles/common.dir/src/AST.C.o
[  7%] Building CXX object common/CMakeFiles/common.dir/src/addrtranslate.C.o
[  7%] Building CXX object common/CMakeFiles/common.dir/src/arch-x86.C.o
[  8%] Building CXX object common/CMakeFiles/common.dir/src/arch-power.C.o
[  8%] Building CXX object common/CMakeFiles/common.dir/src/arch-aarch64.C.o
[  8%] Building CXX object common/CMakeFiles/common.dir/src/debug_common.C.o
[  9%] Building CXX object common/CMakeFiles/common.dir/src/VariableLocation.C.o
[  9%] Building CXX object common/CMakeFiles/common.dir/src/Buffer.C.o
[  9%] Building CXX object common/CMakeFiles/common.dir/src/MachSyscall.C.o
[ 10%] Building CXX object common/CMakeFiles/common.dir/src/linuxKludges.C.o
[ 10%] Building CXX object common/CMakeFiles/common.dir/src/timing-linux.C.o
[ 10%] Building CXX object common/CMakeFiles/common.dir/src/parseauxv.C.o
[ 10%] Building CXX object common/CMakeFiles/common.dir/src/addrtranslate-sysv.C.o
[ 11%] Building CXX object common/CMakeFiles/common.dir/src/addrtranslate-auxv.C.o
[ 11%] Building CXX object common/CMakeFiles/common.dir/src/addrtranslate-linux.C.o
Linking CXX shared library libcommon.so
[ 11%] Built target common
Scanning dependencies of target dynElf
[ 12%] Building CXX object elf/CMakeFiles/dynElf.dir/src/Elf_X.C.o
Linking CXX shared library libdynElf.so
[ 12%] Built target dynElf
Scanning dependencies of target dynDwarf
[ 13%] Building CXX object dwarf/CMakeFiles/dynDwarf.dir/src/dwarfResult.C.o
[ 13%] Building CXX object dwarf/CMakeFiles/dynDwarf.dir/src/dwarfExprParser.C.o
[ 13%] Building CXX object dwarf/CMakeFiles/dynDwarf.dir/src/dwarfFrameParser.C.o
[ 13%] Building CXX object dwarf/CMakeFiles/dynDwarf.dir/src/dwarfHandle.C.o
Linking CXX shared library libdynDwarf.so
[ 13%] Built target dynDwarf
Scanning dependencies of target symLite
[ 14%] Building CXX object symlite/CMakeFiles/symLite.dir/src/SymLite-elf.C.o
Linking CXX shared library libsymLite.so
[ 14%] Built target symLite
Scanning dependencies of target instructionAPI
[ 14%] Building CXX object instructionAPI/CMakeFiles/instructionAPI.dir/src/Instruction.C.o
[ 14%] Building CXX object instructionAPI/CMakeFiles/instructionAPI.dir/src/InstructionAST.C.o
[ 15%] Building CXX object instructionAPI/CMakeFiles/instructionAPI.dir/src/Operation.C.o
[ 15%] Building CXX object instructionAPI/CMakeFiles/instructionAPI.dir/src/Operand.C.o
[ 15%] Building CXX object instructionAPI/CMakeFiles/instructionAPI.dir/src/Register.C.o
[ 15%] Building CXX object instructionAPI/CMakeFiles/instructionAPI.dir/src/_expression_.C.o
[ 16%] Building CXX object instructionAPI/CMakeFiles/instructionAPI.dir/src/BinaryFunction.C.o
[ 16%] Building CXX object instructionAPI/CMakeFiles/instructionAPI.dir/src/InstructionCategories.C.o
[ 16%] Building CXX object instructionAPI/CMakeFiles/instructionAPI.dir/src/Immediate.C.o
[ 17%] Building CXX object instructionAPI/CMakeFiles/instructionAPI.dir/src/InstructionDecoder.C.o
[ 17%] Building CXX object instructionAPI/CMakeFiles/instructionAPI.dir/src/InstructionDecoder-x86.C.o
[ 17%] Building CXX object instructionAPI/CMakeFiles/instructionAPI.dir/src/InstructionDecoder-power.C.o
[ 18%] Building CXX object instructionAPI/CMakeFiles/instructionAPI.dir/src/InstructionDecoder-aarch64.C.o
[ 18%] Building CXX object instructionAPI/CMakeFiles/instructionAPI.dir/src/InstructionDecoderImpl.C.o
Linking CXX shared library libinstructionAPI.so
[ 18%] Built target instructionAPI
Scanning dependencies of target symtabAPI
[ 18%] Building CXX object symtabAPI/CMakeFiles/symtabAPI.dir/src/Object.C.o
[ 18%] Building CXX object symtabAPI/CMakeFiles/symtabAPI.dir/src/Aggregate.C.o
[ 19%] Building CXX object symtabAPI/CMakeFiles/symtabAPI.dir/src/Function.C.o
[ 19%] Building CXX object symtabAPI/CMakeFiles/symtabAPI.dir/src/Variable.C.o
[ 19%] Building CXX object symtabAPI/CMakeFiles/symtabAPI.dir/src/Symbol.C.o
[ 20%] Building CXX object symtabAPI/CMakeFiles/symtabAPI.dir/src/LineInformation.C.o
[ 20%] Building CXX object symtabAPI/CMakeFiles/symtabAPI.dir/src/Symtab.C.o
[ 20%] Building CXX object symtabAPI/CMakeFiles/symtabAPI.dir/src/Symtab-edit.C.o
[ 20%] Building CXX object symtabAPI/CMakeFiles/symtabAPI.dir/src/Symtab-lookup.C.o
[ 21%] Building CXX object symtabAPI/CMakeFiles/symtabAPI.dir/src/Symtab-deprecated.C.o
[ 21%] Building CXX object symtabAPI/CMakeFiles/symtabAPI.dir/src/Module.C.o
[ 21%] Building CXX object symtabAPI/CMakeFiles/symtabAPI.dir/src/Region.C.o
[ 22%] Building CXX object symtabAPI/CMakeFiles/symtabAPI.dir/src/Collections.C.o
[ 22%] Building CXX object symtabAPI/CMakeFiles/symtabAPI.dir/src/Type.C.o
[ 22%] Building CXX object symtabAPI/CMakeFiles/symtabAPI.dir/src/AddrLookup.C.o
[ 23%] Building CXX object symtabAPI/CMakeFiles/symtabAPI.dir/src/annotations.C.o
[ 23%] Building CXX object symtabAPI/CMakeFiles/symtabAPI.dir/src/debug.C.o
[ 23%] Building CXX object symtabAPI/CMakeFiles/symtabAPI.dir/src/SymtabReader.C.o
[ 23%] Building CXX object symtabAPI/CMakeFiles/symtabAPI.dir/src/Object-elf.C.o
[ 24%] Building CXX object symtabAPI/CMakeFiles/symtabAPI.dir/src/Archive.C.o
[ 24%] Building CXX object symtabAPI/CMakeFiles/symtabAPI.dir/src/Archive-elf.C.o
[ 24%] Building CXX object symtabAPI/CMakeFiles/symtabAPI.dir/src/parseDwarf.C.o
[ 25%] Building CXX object symtabAPI/CMakeFiles/symtabAPI.dir/src/parseStab.C.o
[ 25%] Building CXX object symtabAPI/CMakeFiles/symtabAPI.dir/src/LinkMap.C.o
[ 25%] Building CXX object symtabAPI/CMakeFiles/symtabAPI.dir/src/emitElf.C.o
[ 26%] Building CXX object symtabAPI/CMakeFiles/symtabAPI.dir/src/emitElfStatic.C.o
[ 26%] Building CXX object symtabAPI/CMakeFiles/symtabAPI.dir/src/dwarfWalker.C.o
[ 26%] Building CXX object symtabAPI/CMakeFiles/symtabAPI.dir/src/emitElfStatic-x86.C.o
[ 27%] Building CXX object symtabAPI/CMakeFiles/symtabAPI.dir/src/relocationEntry-elf-x86.C.o
Linking CXX shared library libsymtabAPI.so
CMakeFiles/symtabAPI.dir/src/dwarfWalker.C.o: In function `Dyninst::SymtabAPI::DwarfWalker::parseTypeReferences()':
/nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia98/dyninst-9.2.0/symtabAPI/src/dwarfWalker.C:1270: undefined reference to `Dyninst::SymtabAPI::typeRef* Dyninst::SymtabAPI::typeCollection::addOrUpdateType<Dyninst::SymtabAPI::typeRef>(Dyninst::SymtabAPI::typeRef*)'
make[2]: *** [symtabAPI/libsymtabAPI.so.9.2.0] Error 1
make[1]: *** [symtabAPI/CMakeFiles/symtabAPI.dir/all] Error 2
make: *** [all] Error 2
[  0%] Building DyninstRT
[ 50%] Built target dyninstAPI_RT
[100%] Built target dyninstAPI_RT_static
[  0%] Built target DyninstRT
[ 11%] Built target common
[ 12%] Built target dynElf
[ 13%] Built target dynDwarf
[ 14%] Built target symLite
[ 18%] Built target instructionAPI
Linking CXX shared library libsymtabAPI.so
CMakeFiles/symtabAPI.dir/src/dwarfWalker.C.o: In function `Dyninst::SymtabAPI::DwarfWalker::parseTypeReferences()':
/nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia98/dyninst-9.2.0/symtabAPI/src/dwarfWalker.C:1270: undefined reference to `Dyninst::SymtabAPI::typeRef* Dyninst::SymtabAPI::typeCollection::addOrUpdateType<Dyninst::SymtabAPI::typeRef>(Dyninst::SymtabAPI::typeRef*)'
make[2]: *** [symtabAPI/libsymtabAPI.so.9.2.0] Error 1
make[1]: *** [symtabAPI/CMakeFiles/symtabAPI.dir/all] Error 2
make: *** [all] Error 2
/nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia98 /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT
/nobackupnfs2/jgalarow/OpenSpeedShop_ROOT
DYNINST FAILED TO BUILD - TERMINATING BUILD SCRIPT.  Please check for errors.

On 07/05/2016 03:16 PM, Bill Williams wrote:
On 07/05/2016 03:08 PM, Jim Galarowicz wrote:
Hi Bill, Dyninst team,

I'm trying to compile Dyninst for the Intel Phi and got the error below.

PBS maia97 28> icc -v
icc version 15.0.0 (gcc version 4.3.0 compatibility)

Is this due to the very old gcc that the Intel compiler is using under the hood for cxx11 checks, etc.?

Possibly. C++11 allows std::ifstream to be constructed from a string, but C++98 only allows a const char*. How old is that icc, anyway?

Easy enough to fix by adding a trailing .c_str() to the constructor arg, though.

--bw

Thanks,
Jim G


Continuing the dyninst build process.
/nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia97 /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT
/nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia97/dyninst-9.2.0 /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia97 /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT
checking for /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/SOURCES/dyninst-9.2.0.patch
-- The C compiler identification is Intel 15.0.0.20140723
-- The CXX compiler identification is Intel 15.0.0.20140723
-- Check for working C compiler: /nasa/intel/Compiler/2015.0.090/composer_xe_2015.0.090/bin/intel64/icc
-- Check for working C compiler: /nasa/intel/Compiler/2015.0.090/composer_xe_2015.0.090/bin/intel64/icc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /nasa/intel/Compiler/2015.0.090/composer_xe_2015.0.090/bin/intel64/icpc
-- Check for working CXX compiler: /nasa/intel/Compiler/2015.0.090/composer_xe_2015.0.090/bin/intel64/icpc -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- -- Input platform:
-- -- Attempting to automatically identify platform: x86_64-unknown-linux2.4
-- Found LibElf: /nobackupnfs2/jgalarow/maia/krellroot_v2.2.3/lib64/libelf.so
-- Found LibDwarf: /nobackupnfs2/jgalarow/maia/krellroot_v2.2.3/lib64/libdwarf.so
-- Found libiberty: /nobackupnfs2/jgalarow/maia/krellroot_v2.2.3/lib64/libiberty_pic.a
-- Using libiberty /nobackupnfs2/jgalarow/maia/krellroot_v2.2.3/lib64/libiberty_pic.a
-- Found Thread_Db: /usr/lib64/libthread_db.so
-- Disabling Boost's own CMake--known buggy in many cases
-- Boost version: 1.53.0
-- Found the following Boost libraries:
--   thread
--   system
-- Boost includes: //nobackupnfs2/jgalarow/maia/krellroot_v2.2.3/include
-- Boost library dirs: //nobackupnfs2/jgalarow/maia/krellroot_v2.2.3/lib
-- Boost thread library: //nobackupnfs2/jgalarow/maia/krellroot_v2.2.3/lib/libboost_thread.so
-- Boost libraries: //nobackupnfs2/jgalarow/maia/krellroot_v2.2.3/lib/libboost_thread.so;//nobackupnfs2/jgalarow/maia/krellroot_v2.2.3/lib/libboost_system.so
-- Performing Test _HAS_CXX11_FLAG
-- Performing Test _HAS_CXX11_FLAG - Success
-- Checking C++11 support for "__func__"
-- Checking C++11 support for "__func__": works
-- Checking C++11 support for "auto"
-- Checking C++11 support for "auto": works
-- Checking C++11 support for "auto_ret_type"
-- Checking C++11 support for "auto_ret_type": works
-- Checking C++11 support for "class_override_final"
-- Checking C++11 support for "class_override_final": not supported
-- Checking C++11 support for "constexpr"
-- Checking C++11 support for "constexpr": works
-- Checking C++11 support for "cstdint"
-- Checking C++11 support for "cstdint": works
-- Checking C++11 support for "decltype"
-- Checking C++11 support for "decltype": works
-- Checking C++11 support for "initializer_list"
-- Checking C++11 support for "initializer_list": not supported
-- Checking C++11 support for "lambda"
-- Checking C++11 support for "lambda": works
-- Checking C++11 support for "long_long"
-- Checking C++11 support for "long_long": works
-- Checking C++11 support for "nullptr"
-- Checking C++11 support for "nullptr": works
-- Checking C++11 support for "regex"
-- Checking C++11 support for "regex": not supported
-- Checking C++11 support for "rvalue-references"
-- Checking C++11 support for "rvalue-references": works
-- Checking C++11 support for "sizeof_member"
-- Checking C++11 support for "sizeof_member": works
-- Checking C++11 support for "static_assert"
-- Checking C++11 support for "static_assert": works
-- Checking C++11 support for "variadic_templates"
-- Checking C++11 support for "variadic_templates": works
-- C++11 support found, required flags are: -std=c++11
-- Enabling ThreadDB support
-- Set arch and platform based definitions
-- Options set
-- Set optimization flags
-- Building common...
-- Processing dependent target /nobackupnfs2/jgalarow/maia/krellroot_v2.2.3/lib64/libiberty_pic.a...
-- Building dynElf...
-- Processing dependent target /nobackupnfs2/jgalarow/maia/krellroot_v2.2.3/lib64/libelf.so...
-- Building dynDwarf...
-- Processing dependent target dynElf...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia97/dyninst-9.2.0/elf
-- Processing dependent target common...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia97/dyninst-9.2.0/common
-- Processing dependent target /nobackupnfs2/jgalarow/maia/krellroot_v2.2.3/lib64/libdwarf.so...
-- Processing dependent target /nobackupnfs2/jgalarow/maia/krellroot_v2.2.3/lib64/libelf.so...
-- Building symLite...
-- Processing dependent target common...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia97/dyninst-9.2.0/common
-- Processing dependent target dynElf...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia97/dyninst-9.2.0/elf
-- Building dynC_API...
-- Processing dependent target dyninstAPI...
-- Building instructionAPI...
-- Processing dependent target common...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia97/dyninst-9.2.0/common
-- Building symtabAPI...
-- Processing dependent target common...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia97/dyninst-9.2.0/common
-- Processing dependent target dynElf...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia97/dyninst-9.2.0/elf
-- Processing dependent target /nobackupnfs2/jgalarow/maia/krellroot_v2.2.3/lib64/libelf.so...
-- Processing dependent target dynDwarf...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia97/dyninst-9.2.0/dwarf
-- Processing dependent target /nobackupnfs2/jgalarow/maia/krellroot_v2.2.3/lib64/libdwarf.so...
-- Processing dependent target /nobackupnfs2/jgalarow/maia/krellroot_v2.2.3/lib64/libelf.so...
-- Building parseAPI...
-- Processing dependent target common...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia97/dyninst-9.2.0/common
-- Processing dependent target instructionAPI...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia97/dyninst-9.2.0/instructionAPI
-- Processing dependent target symtabAPI...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia97/dyninst-9.2.0/symtabAPI
-- Building pcontrol...
-- Processing dependent target common...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia97/dyninst-9.2.0/common
-- Processing dependent target symtabAPI...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia97/dyninst-9.2.0/symtabAPI
-- Building stackwalk...
-- Processing dependent target common...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia97/dyninst-9.2.0/common
-- Processing dependent target instructionAPI...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia97/dyninst-9.2.0/instructionAPI
-- Processing dependent target pcontrol...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia97/dyninst-9.2.0/proccontrol
-- Processing dependent target dynDwarf...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia97/dyninst-9.2.0/dwarf
-- Processing dependent target dynElf...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia97/dyninst-9.2.0/elf
-- Processing dependent target symtabAPI...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia97/dyninst-9.2.0/symtabAPI
-- Processing dependent target parseAPI...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia97/dyninst-9.2.0/parseAPI
-- Building patchAPI...
-- Processing dependent target common...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia97/dyninst-9.2.0/common
-- Processing dependent target instructionAPI...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia97/dyninst-9.2.0/instructionAPI
-- Processing dependent target parseAPI...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia97/dyninst-9.2.0/parseAPI
-- Building dyninstAPI...
-- Processing dependent target common...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia97/dyninst-9.2.0/common
-- Processing dependent target instructionAPI...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia97/dyninst-9.2.0/instructionAPI
-- Processing dependent target stackwalk...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia97/dyninst-9.2.0/stackwalk
-- Processing dependent target pcontrol...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia97/dyninst-9.2.0/proccontrol
-- Processing dependent target patchAPI...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia97/dyninst-9.2.0/patchAPI
-- Processing dependent target parseAPI...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia97/dyninst-9.2.0/parseAPI
-- Processing dependent target symtabAPI...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia97/dyninst-9.2.0/symtabAPI
-- Configuring DyninstAPI_RT
-- Configuring RT library
-- Configuring DyninstAPI_RT
-- Configuring RT library
-- The C compiler identification is Intel 15.0.0.20140723
-- Check for working C compiler: /nasa/intel/Compiler/2015.0.090/composer_xe_2015.0.090/bin/intel64/icc
-- Check for working C compiler: /nasa/intel/Compiler/2015.0.090/composer_xe_2015.0.090/bin/intel64/icc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- -- Input platform: x86_64-unknown-linux2.4
-- Set arch and platform based definitions
-- Options set
-- Set optimization flags
-- The ASM compiler identification is Intel
-- Found assembler: /nasa/intel/Compiler/2015.0.090/composer_xe_2015.0.090/bin/intel64/icc
-- dyninstAPI RT library SOVERSION: 9.2
-- dyninstAPI RT library LIBVERSION: 9.2.0
-- 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: /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia97/dyninst-9.2.0/dyninstAPI_RT
-- Could NOT find LATEX (missing:  LATEX_COMPILER)
-- LaTeX not found
-- Adding Unix-specific dependencies
-- Added libdwarf_imp and libelf_imp dependencies
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CHECK_RTLIB_32
    IBERTY_LIBRARY


-- Build files have been written to: /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia97/dyninst-9.2.0
Scanning dependencies of target DyninstRT
[  0%] Building DyninstRT
Scanning dependencies of target dyninstAPI_RT
[  3%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTcommon.c.o
[  7%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTmemEmulator.c.o
[ 10%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTposix.c.o
[ 14%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTlinux.c.o
[ 17%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTheap.c.o
[ 21%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTheap-linux.c.o
[ 25%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTthread.c.o
[ 28%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTspace.S.o
[ 32%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTsignal.c.o
[ 35%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTstatic_ctors_dtors_begin.c.o
[ 39%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTstatic_ctors_dtors_end.c.o
[ 42%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTthread-x86-64.c.o
[ 46%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTtlsgetaddr-x86.S.o
[ 50%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTstatic_ctors_dtors-x86.c.o
Linking C shared library libdyninstAPI_RT.so
[ 50%] Built target dyninstAPI_RT
Scanning dependencies of target dyninstAPI_RT_static
[ 53%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTcommon.c.o
[ 57%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTmemEmulator.c.o
[ 60%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTposix.c.o
[ 64%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTlinux.c.o
[ 67%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTheap.c.o
[ 71%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTheap-linux.c.o
[ 75%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTthread.c.o
[ 78%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTspace.S.o
[ 82%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTsignal.c.o
[ 85%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTstatic_ctors_dtors_begin.c.o
[ 89%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTstatic_ctors_dtors_end.c.o
[ 92%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTthread-x86-64.c.o
[ 96%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTtlsgetaddr-x86.S.o
[100%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTstatic_ctors_dtors-x86.c.o
Linking C static library libdyninstAPI_RT.a
[100%] Built target dyninstAPI_RT_static
[  0%] Built target DyninstRT
Scanning dependencies of target common
[  0%] Building CXX object common/CMakeFiles/common.dir/src/Ident.C.o
[  0%] Building CXX object common/CMakeFiles/common.dir/src/string-regex.C.o
[  1%] Building CXX object common/CMakeFiles/common.dir/src/Timer.C.o
[  1%] Building CXX object common/CMakeFiles/common.dir/src/Types.C.o
[  1%] Building CXX object common/CMakeFiles/common.dir/src/debugOstream.C.o
[  2%] Building CXX object common/CMakeFiles/common.dir/src/lprintf.C.o
[  2%] Building CXX object common/CMakeFiles/common.dir/src/pathName.C.o
[  2%] Building CXX object common/CMakeFiles/common.dir/src/Time.C.o
[  3%] Building CXX object common/CMakeFiles/common.dir/src/fraction.C.o
[  3%] Building CXX object common/CMakeFiles/common.dir/src/timing.C.o
[  3%] Building CXX object common/CMakeFiles/common.dir/src/stats.C.o
[  3%] Building CXX object common/CMakeFiles/common.dir/src/Annotatable.C.o
[  4%] Building CXX object common/CMakeFiles/common.dir/src/MappedFile.C.o
[  4%] Building CXX object common/CMakeFiles/common.dir/src/sha1.C.o
[  4%] Building CXX object common/CMakeFiles/common.dir/src/serialize-bin.C.o
[  5%] Building CXX object common/CMakeFiles/common.dir/src/serialize-xml.C.o
[  5%] Building CXX object common/CMakeFiles/common.dir/src/util.C.o
[  5%] Building CXX object common/CMakeFiles/common.dir/src/Node.C.o
[  6%] Building CXX object common/CMakeFiles/common.dir/src/Graph.C.o
[  6%] Building CXX object common/CMakeFiles/common.dir/src/Edge.C.o
[  6%] Building CXX object common/CMakeFiles/common.dir/src/DOT.C.o
[  6%] Building CXX object common/CMakeFiles/common.dir/src/dyn_regs.C.o
[  7%] Building CXX object common/CMakeFiles/common.dir/src/AST.C.o
[  7%] Building CXX object common/CMakeFiles/common.dir/src/addrtranslate.C.o
[  7%] Building CXX object common/CMakeFiles/common.dir/src/arch-x86.C.o
[  8%] Building CXX object common/CMakeFiles/common.dir/src/arch-power.C.o
[  8%] Building CXX object common/CMakeFiles/common.dir/src/arch-aarch64.C.o
[  8%] Building CXX object common/CMakeFiles/common.dir/src/debug_common.C.o
[  9%] Building CXX object common/CMakeFiles/common.dir/src/VariableLocation.C.o
[  9%] Building CXX object common/CMakeFiles/common.dir/src/Buffer.C.o
[  9%] Building CXX object common/CMakeFiles/common.dir/src/MachSyscall.C.o
[ 10%] Building CXX object common/CMakeFiles/common.dir/src/linuxKludges.C.o
/nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia97/dyninst-9.2.0/common/src/linuxKludges.C(1018): error: no instance of constructor "std::basic_ifstream<_CharT, _Traits>::basic_ifstream [with _CharT=char, _Traits=std::char_traits<char>]" matches the argument list
            argument types are: (std::basic_string<char, std::char_traits<char>, std::allocator<char>>)
     std::ifstream maps_file(maps_filename.str());
                             ^

compilation aborted for /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia97/dyninst-9.2.0/common/src/linuxKludges.C (code 2)
make[2]: *** [common/CMakeFiles/common.dir/src/linuxKludges.C.o] Error 2
make[1]: *** [common/CMakeFiles/common.dir/all] Error 2
make: *** [all] Error 2
[  0%] Building DyninstRT
[ 50%] Built target dyninstAPI_RT
[100%] Built target dyninstAPI_RT_static
[  0%] Built target DyninstRT
[  1%] Building CXX object common/CMakeFiles/common.dir/src/linuxKludges.C.o
/nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia97/dyninst-9.2.0/common/src/linuxKludges.C(1018): error: no instance of constructor "std::basic_ifstream<_CharT, _Traits>::basic_ifstream [with _CharT=char, _Traits=std::char_traits<char>]" matches the argument list
            argument types are: (std::basic_string<char, std::char_traits<char>, std::allocator<char>>)
     std::ifstream maps_file(maps_filename.str());
                             ^

compilation aborted for /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia97/dyninst-9.2.0/common/src/linuxKludges.C (code 2)
make[2]: *** [common/CMakeFiles/common.dir/src/linuxKludges.C.o] Error 2
make[1]: *** [common/CMakeFiles/common.dir/all] Error 2
make: *** [all] Error 2
/nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia97 /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT
/nobackupnfs2/jgalarow/OpenSpeedShop_ROOT
DYNINST FAILED TO BUILD - TERMINATING BUILD SCRIPT.  Please check for errors.


_______________________________________________
Dyninst-api mailing list
Dyninst-api@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

_______________________________________________
Dyninst-api mailing list
Dyninst-api@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api



[← Prev in Thread] Current Thread [Next in Thread→]