[DynInst_API:] Compiler error with Dyninst master on Power9 system.


Date: Mon, 15 Oct 2018 17:05:47 -0500
From: Jim Galarowicz <jgalarowicz@xxxxxxxxx>
Subject: [DynInst_API:] Compiler error with Dyninst master on Power9 system.

    Hi all,
I'm seeing this compile error with dyninst master on a IBM Power 9 system - (master as of Oct 15, 2018 5 pm CT.).
Thanks,
Jim G.

==> libiberty is already installed in /home/jeg/spack/opt/spack/linux-centos7-ppc64le/gcc-4.8.5/libiberty-2.31.1-ignef7ht5g7phjabqd2252uhpfy7c2dr
==> Installing dyninst
==> Cloning git repository: https://github.com/dyninst/dyninst.git on branch master
==> No checksum needed when fetching with git
==> Already staged dyninst-develop-a4xv5a53d47brdku5nthviq3zzm6euq5 in /home/jeg/spack/var/spack/stage/dyninst-develop-a4xv5a53d47brdku5nthviq3zzm6euq5
==> No patches needed for dyninst
==> Building dyninst [Package]
==> Executing phase: 'install'
==> Error: ProcessError: Command exited with status 2:
    'make' '-j160'

4 errors found in build log:
     2263    [ 93%] Building CXX object dyninstAPI/CMakeFiles/dyninstAPI.dir/src/syscallNotification.C.o
     2264    [ 93%] Building CXX object dyninstAPI/CMakeFiles/dyninstAPI.dir/src/syscall-linux.C.o
     2265    cd /tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/spack-build/dyninstAPI && /home/jeg/spack/lib/spack/env/gcc/g++  -DBOOST_ALL_NO_LI
             B=1 -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION -DBPATCH_DLL_BUILD -DUSE_PARSE_API -DWITHOUT_SYMLITE -DWITH_SYMTAB_API -Darch_64bit -Da
             rch_power -Darch_ppc_little_endian -Dbug_force_terminate_failure -Dbug_registers_after_exit -Dbug_syscall_changepc_rewind -Dcap_32_64
              -Dcap_async_events -Dcap_binary_rewriter -Dcap_dwarf -Dcap_dynamic_heap -Dcap_liveness -Dcap_mutatee_traps -Dcap_ptrace -Dcap_regist
             ers -Dcap_thread_db -Dcap_threads -Dcap_toc_64 -DdyninstAPI_EXPORTS -Dos_linux -Dppc64_linux -I/home/jeg/spack/opt/spack/linux-centos
             7-ppc64le/gcc-4.8.5/elfutils-0.173-klqjzo2qjunbryiykm3fdqzromtoq3ju/include/libelf -I/home/jeg/spack/opt/spack/linux-centos7-ppc64le/
             gcc-4.8.5/elfutils-0.173-klqjzo2qjunbryiykm3fdqzromtoq3ju/include -I/home/jeg/spack/opt/spack/linux-centos7-ppc64le/gcc-4.8.5/boost-1
             .68.0-f4oci35ae2bbwkqgkc32gkw2fbx6ui5a/include -I/tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/spack-build -I/tmp/jeg/spack-stage/s
             pack-stage-5wK0IO/dyninst/spack-build/common/h -I/tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/common/h -I/tmp/jeg/spack-stage/spac
             k-stage-5wK0IO/dyninst/dataflowAPI/h -I/tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/dyninstAPI/h -I/tmp/jeg/spack-stage/spack-stag
             e-5wK0IO/dyninst/instructionAPI/h -I/tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/parseAPI/h -I/tmp/jeg/spack-stage/spack-stage-5wK
             0IO/dyninst/patchAPI/h -I/tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/proccontrol/h -I/tmp/jeg/spack-stage/spack-stage-5wK0IO/dyni
             nst/stackwalk/h -I/tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/symtabAPI/h -I/tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/dwarf
             /h -I/tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/elf/h -I/tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/symlite/h -I/tmp/jeg/spa
             ck-stage/spack-stage-5wK0IO/dyninst -I/tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/external -I/tmp/jeg/spack-stage/spack-stage-5wK
             0IO/dyninst/dyninstAPI/src  -std=c++11 -m64  -fvisibility=hidden -fvisibility-inlines-hidden -W -Wall -Wpointer-arith -Wcast-qual -Wo
             verloaded-virtual -Wcast-align -Wno-non-template-friend -Wno-unused-local-typedefs -Wno-deprecated-declarations -O2 -g  -fPIC   -Winv
             alid-pch -include /tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/spack-build/dyninstAPI/cotire/dyninstAPI_CXX_prefix.hxx -o CMakeFil
             es/dyninstAPI.dir/src/syscallNotification.C.o -c /tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/dyninstAPI/src/syscallNotification.C
     2266    cd /tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/spack-build/dyninstAPI && /home/jeg/spack/lib/spack/env/gcc/g++  -DBOOST_ALL_NO_LI
             B=1 -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION -DBPATCH_DLL_BUILD -DUSE_PARSE_API -DWITHOUT_SYMLITE -DWITH_SYMTAB_API -Darch_64bit -Da
             rch_power -Darch_ppc_little_endian -Dbug_force_terminate_failure -Dbug_registers_after_exit -Dbug_syscall_changepc_rewind -Dcap_32_64
              -Dcap_async_events -Dcap_binary_rewriter -Dcap_dwarf -Dcap_dynamic_heap -Dcap_liveness -Dcap_mutatee_traps -Dcap_ptrace -Dcap_regist
             ers -Dcap_thread_db -Dcap_threads -Dcap_toc_64 -DdyninstAPI_EXPORTS -Dos_linux -Dppc64_linux -I/home/jeg/spack/opt/spack/linux-centos
             7-ppc64le/gcc-4.8.5/elfutils-0.173-klqjzo2qjunbryiykm3fdqzromtoq3ju/include/libelf -I/home/jeg/spack/opt/spack/linux-centos7-ppc64le/
             gcc-4.8.5/elfutils-0.173-klqjzo2qjunbryiykm3fdqzromtoq3ju/include -I/home/jeg/spack/opt/spack/linux-centos7-ppc64le/gcc-4.8.5/boost-1
             .68.0-f4oci35ae2bbwkqgkc32gkw2fbx6ui5a/include -I/tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/spack-build -I/tmp/jeg/spack-stage/s
             pack-stage-5wK0IO/dyninst/spack-build/common/h -I/tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/common/h -I/tmp/jeg/spack-stage/spac
             k-stage-5wK0IO/dyninst/dataflowAPI/h -I/tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/dyninstAPI/h -I/tmp/jeg/spack-stage/spack-stag
             e-5wK0IO/dyninst/instructionAPI/h -I/tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/parseAPI/h -I/tmp/jeg/spack-stage/spack-stage-5wK
             0IO/dyninst/patchAPI/h -I/tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/proccontrol/h -I/tmp/jeg/spack-stage/spack-stage-5wK0IO/dyni
             nst/stackwalk/h -I/tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/symtabAPI/h -I/tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/dwarf
             /h -I/tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/elf/h -I/tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/symlite/h -I/tmp/jeg/spa
             ck-stage/spack-stage-5wK0IO/dyninst -I/tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/external -I/tmp/jeg/spack-stage/spack-stage-5wK
             0IO/dyninst/dyninstAPI/src  -std=c++11 -m64  -fvisibility=hidden -fvisibility-inlines-hidden -W -Wall -Wpointer-arith -Wcast-qual -Wo
             verloaded-virtual -Wcast-align -Wno-non-template-friend -Wno-unused-local-typedefs -Wno-deprecated-declarations -O2 -g  -fPIC   -Winv
             alid-pch -include /tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/spack-build/dyninstAPI/cotire/dyninstAPI_CXX_prefix.hxx -o CMakeFil
             es/dyninstAPI.dir/src/syscall-linux.C.o -c /tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/dyninstAPI/src/syscall-linux.C
     2267    [ 94%] Building CXX object dyninstAPI/CMakeFiles/dyninstAPI.dir/src/linux-power.C.o
     2268    cd /tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/spack-build/dyninstAPI && /home/jeg/spack/lib/spack/env/gcc/g++  -DBOOST_ALL_NO_LI
             B=1 -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION -DBPATCH_DLL_BUILD -DUSE_PARSE_API -DWITHOUT_SYMLITE -DWITH_SYMTAB_API -Darch_64bit -Da
             rch_power -Darch_ppc_little_endian -Dbug_force_terminate_failure -Dbug_registers_after_exit -Dbug_syscall_changepc_rewind -Dcap_32_64
              -Dcap_async_events -Dcap_binary_rewriter -Dcap_dwarf -Dcap_dynamic_heap -Dcap_liveness -Dcap_mutatee_traps -Dcap_ptrace -Dcap_regist
             ers -Dcap_thread_db -Dcap_threads -Dcap_toc_64 -DdyninstAPI_EXPORTS -Dos_linux -Dppc64_linux -I/home/jeg/spack/opt/spack/linux-centos
             7-ppc64le/gcc-4.8.5/elfutils-0.173-klqjzo2qjunbryiykm3fdqzromtoq3ju/include/libelf -I/home/jeg/spack/opt/spack/linux-centos7-ppc64le/
             gcc-4.8.5/elfutils-0.173-klqjzo2qjunbryiykm3fdqzromtoq3ju/include -I/home/jeg/spack/opt/spack/linux-centos7-ppc64le/gcc-4.8.5/boost-1
             .68.0-f4oci35ae2bbwkqgkc32gkw2fbx6ui5a/include -I/tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/spack-build -I/tmp/jeg/spack-stage/s
             pack-stage-5wK0IO/dyninst/spack-build/common/h -I/tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/common/h -I/tmp/jeg/spack-stage/spac
             k-stage-5wK0IO/dyninst/dataflowAPI/h -I/tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/dyninstAPI/h -I/tmp/jeg/spack-stage/spack-stag
             e-5wK0IO/dyninst/instructionAPI/h -I/tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/parseAPI/h -I/tmp/jeg/spack-stage/spack-stage-5wK
             0IO/dyninst/patchAPI/h -I/tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/proccontrol/h -I/tmp/jeg/spack-stage/spack-stage-5wK0IO/dyni
             nst/stackwalk/h -I/tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/symtabAPI/h -I/tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/dwarf
             /h -I/tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/elf/h -I/tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/symlite/h -I/tmp/jeg/spa
             ck-stage/spack-stage-5wK0IO/dyninst -I/tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/external -I/tmp/jeg/spack-stage/spack-stage-5wK
             0IO/dyninst/dyninstAPI/src  -std=c++11 -m64  -fvisibility=hidden -fvisibility-inlines-hidden -W -Wall -Wpointer-arith -Wcast-qual -Wo
             verloaded-virtual -Wcast-align -Wno-non-template-friend -Wno-unused-local-typedefs -Wno-deprecated-declarations -O2 -g  -fPIC   -Winv
             alid-pch -include /tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/spack-build/dyninstAPI/cotire/dyninstAPI_CXX_prefix.hxx -o CMakeFil
             es/dyninstAPI.dir/src/linux-power.C.o -c /tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/dyninstAPI/src/linux-power.C
  >> 2269    /tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/dyninstAPI/src/codegen-power.C:211:56: error: no âvoid insnCodeGen::generateInterFu
             nctionBranch(codeGen&, Dyninst::Address, Dyninst::Address, bool)â member function declared in class âinsnCodeGenâ
     2270                                                   bool link) {
     2271                                                            ^
     2272    /tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/dyninstAPI/src/codegen-power.C: In function âinstPoint* GetInstPointPower(codeGen&,
              Dyninst::Address)â:
     2273    /tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/dyninstAPI/src/codegen-power.C:462:21: warning: unused variable âfuncâ [-Wunused-
             variable]
     2274         func_instance * func;
     2275                         ^

     ...

     2327     bool EmitterPOWER64Stat::emitCallInstruction(codeGen &gen,
     2328          ^
     2329    /tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/dyninstAPI/src/inst-power.C: In member function âvirtual bool EmitterPOWER::emitCal
             lInstruction(codeGen&, func_instance*, bool, Dyninst::Address)â:
     2330    /tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/dyninstAPI/src/inst-power.C:3404:10: warning: variable âshouldJumpToCMODâ set but
              not used [-Wunused-but-set-variable]
     2331         bool shouldJumpToCMOD = false;
     2332              ^
  >> 2333    make[2]: *** [dyninstAPI/CMakeFiles/dyninstAPI.dir/src/codegen-power.C.o] Error 1
     2334    make[2]: *** Waiting for unfinished jobs....
     2335    /tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/dyninstAPI/src/parse-power.C: In member function âvoid parse_func::parseOMPFunc(boo
             l)â:
     2336    /tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/dyninstAPI/src/parse-power.C:373:8: warning: variable âregValuesâ set but not use
             d [-Wunused-but-set-variable]
     2337        int regValues[10 + 1];  /* Only care about registers 3-10 (params) */
     2338            ^
     2339    /tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/dyninstAPI/src/BPatch_object.C:605:6: warning: unused parameter âmodsâ [-Wunused-
             parameter]

     ...

     2357             bool foundFini = false;
     2358                  ^
     2359    /tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/dyninstAPI/src/BPatch_function.C:1110:6: warning: unused parameter âmodsâ [-Wunus
             ed-parameter]
     2360     bool BPatch_function::addMods(std::set<StackMod*> mods)
     2361          ^
     2362    make[2]: Leaving directory `/tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/spack-build'
  >> 2363    make[1]: *** [dyninstAPI/CMakeFiles/dyninstAPI.dir/all] Error 2
     2364    make[1]: Leaving directory `/tmp/jeg/spack-stage/spack-stage-5wK0IO/dyninst/spack-build'
  >> 2365    make: *** [all] Error 2

See build log for details:
  /home/jeg/spack/var/spack/stage/dyninst-develop-a4xv5a53d47brdku5nthviq3zzm6euq5/dyninst/spack-build.out
[jeg@p9-4V100-01 linux-centos7-ppc64le]$ 
[← Prev in Thread] Current Thread [Next in Thread→]