Re: [DynInst_API:] Question about building Dyninst-9.1 release with Intel compilers


Date: Wed, 13 Jan 2016 11:55:33 -0800
From: Jim Galarowicz <jeg@xxxxxxxxxxxxx>
Subject: Re: [DynInst_API:] Question about building Dyninst-9.1 release with Intel compilers

On 01/13/2016 09:49 AM, Josh Stone wrote:
On 01/13/2016 08:40 AM, Jim Galarowicz wrote:
[ 10%] Building CXX object common/CMakeFiles/common.dir/src/linuxKludges.C.o
/nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia112/dyninst-9.1.0/common/src/linuxKludges.C(1032):
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());
                              ^
The ifstream(string) constructor is a C++11 addition.
Is icc still using gcc's libstdc++?
_______________________________________________
Dyninst-api mailing list
Dyninst-api@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

Hi Josh, Bill,

I added -std=c++11 to the compiler export:
       export cc="icc -std=c++11"
       export CXX="icpc -std=c++11"
       export CC="icc -std=c++11"
and it seems the Intel compilers have the c++11 support, or at least Dyninst says they do (see below).
But we get the same compile error.

Thanks,
Jim G


checking for /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/SOURCES/dyninst-9.1.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.2/lib64/libelf.so -- Found LibDwarf: /nobackupnfs2/jgalarow/maia/krellroot_v2.2.2/lib64/libdwarf.so -- Found libiberty: /nobackupnfs2/jgalarow/maia/krellroot_v2.2.2/lib64/libiberty_pic.a -- Using libiberty /nobackupnfs2/jgalarow/maia/krellroot_v2.2.2/lib64/libiberty_pic.a
-- Found Thread_Db: /usr/lib64/libthread_db.so
-- Disabling Boost's own CMake--known buggy in many cases
-- [ /nobackupp8/jgalarow/maia/cmake/share/cmake-3.2/Modules/FindBoost.cmake:515 ] _boost_TEST_VERSIONS = 1.47;1.47.0;1.48;1.48.0;1.49;1.49.0;1.50;1.50.0;1.51;1.51.0;1.52;1.52.0;1.53;1.53.0;1.54;1.54.0;1.55;1.55.0;1.56;1.56.0;1.57;1.57.0;1.58;1.58.0;1.59;1.59.0;1.58.0;1.58;1.57.0;1.57;1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53;1.52.0;1.52;1.51.0;1.51;1.50.0;1.50;1.49.0;1.49;1.48.0;1.48;1.47.0;1.47;1.46.1;1.46.0;1.46;1.45.0;1.45;1.44.0;1.44;1.43.0;1.43;1.42.0;1.42;1.41.0;1.41;1.40.0;1.40;1.39.0;1.39;1.38.0;1.38;1.37.0;1.37;1.36.1;1.36.0;1.36;1.35.1;1.35.0;1.35;1.34.1;1.34.0;1.34;1.33.1;1.33.0;1.33 -- [ /nobackupp8/jgalarow/maia/cmake/share/cmake-3.2/Modules/FindBoost.cmake:517 ] Boost_USE_MULTITHREADED = ON -- [ /nobackupp8/jgalarow/maia/cmake/share/cmake-3.2/Modules/FindBoost.cmake:519 ] Boost_USE_STATIC_LIBS = -- [ /nobackupp8/jgalarow/maia/cmake/share/cmake-3.2/Modules/FindBoost.cmake:521 ] Boost_USE_STATIC_RUNTIME = OFF -- [ /nobackupp8/jgalarow/maia/cmake/share/cmake-3.2/Modules/FindBoost.cmake:523 ] Boost_ADDITIONAL_VERSIONS = 1.47;1.47.0;1.48;1.48.0;1.49;1.49.0;1.50;1.50.0;1.51;1.51.0;1.52;1.52.0;1.53;1.53.0;1.54;1.54.0;1.55;1.55.0;1.56;1.56.0;1.57;1.57.0;1.58;1.58.0;1.59;1.59.0 -- [ /nobackupp8/jgalarow/maia/cmake/share/cmake-3.2/Modules/FindBoost.cmake:525 ] Boost_NO_SYSTEM_PATHS = ON -- [ /nobackupp8/jgalarow/maia/cmake/share/cmake-3.2/Modules/FindBoost.cmake:577 ] Declared as CMake or Environmental Variables: -- [ /nobackupp8/jgalarow/maia/cmake/share/cmake-3.2/Modules/FindBoost.cmake:579 ] BOOST_ROOT = -- [ /nobackupp8/jgalarow/maia/cmake/share/cmake-3.2/Modules/FindBoost.cmake:581 ] BOOST_INCLUDEDIR = -- [ /nobackupp8/jgalarow/maia/cmake/share/cmake-3.2/Modules/FindBoost.cmake:583 ] BOOST_LIBRARYDIR = -- [ /nobackupp8/jgalarow/maia/cmake/share/cmake-3.2/Modules/FindBoost.cmake:585 ] _boost_TEST_VERSIONS = 1.47;1.47.0;1.48;1.48.0;1.49;1.49.0;1.50;1.50.0;1.51;1.51.0;1.52;1.52.0;1.53;1.53.0;1.54;1.54.0;1.55;1.55.0;1.56;1.56.0;1.57;1.57.0;1.58;1.58.0;1.59;1.59.0;1.58.0;1.58;1.57.0;1.57;1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53;1.52.0;1.52;1.51.0;1.51;1.50.0;1.50;1.49.0;1.49;1.48.0;1.48;1.47.0;1.47;1.46.1;1.46.0;1.46;1.45.0;1.45;1.44.0;1.44;1.43.0;1.43;1.42.0;1.42;1.41.0;1.41;1.40.0;1.40;1.39.0;1.39;1.38.0;1.38;1.37.0;1.37;1.36.1;1.36.0;1.36;1.35.1;1.35.0;1.35;1.34.1;1.34.0;1.34;1.33.1;1.33.0;1.33 -- [ /nobackupp8/jgalarow/maia/cmake/share/cmake-3.2/Modules/FindBoost.cmake:654 ] Include debugging info: -- [ /nobackupp8/jgalarow/maia/cmake/share/cmake-3.2/Modules/FindBoost.cmake:656 ] _boost_INCLUDE_SEARCH_DIRS = /nobackupnfs2/jgalarow/maia/krellroot_v2.2.2/include;/nobackupnfs2/jgalarow/maia/krellroot_v2.2.2;NO_CMAKE_SYSTEM_PATH -- [ /nobackupp8/jgalarow/maia/cmake/share/cmake-3.2/Modules/FindBoost.cmake:658 ] _boost_PATH_SUFFIXES = boost-1_47;boost_1_47;boost/boost-1_47;boost/boost_1_47;boost-1_47_0;boost_1_47_0;boost/boost-1_47_0;boost/boost_1_47_0;boost-1_48;boost_1_48;boost/boost-1_48;boost/boost_1_48;boost-1_48_0;boost_1_48_0;boost/boost-1_48_0;boost/boost_1_48_0;boost-1_49;boost_1_49;boost/boost-1_49;boost/boost_1_49;boost-1_49_0;boost_1_49_0;boost/boost-1_49_0;boost/boost_1_49_0;boost-1_50;boost_1_50;boost/boost-1_50;boost/boost_1_50;boost-1_50_0;boost_1_50_0;boost/boost-1_50_0;boost/boost_1_50_0;boost-1_51;boost_1_51;boost/boost-1_51;boost/boost_1_51;boost-1_51_0;boost_1_51_0;boost/boost-1_51_0;boost/boost_1_51_0;boost-1_52;boost_1_52;boost/boost-1_52;boost/boost_1_52;boost-1_52_0;boost_1_52_0;boost/boost-1_52_0;boost/boost_1_52_0;boost-1_53;boost_1_53;boost/boost-1_53;boost/boost_1_53;boost-1_53_0;boost_1_53_0;boost/boost-1_53_0;boost/boost_1_53_0;boost-1_54;boost_1_54;boost/boost-1_54;boost/boost_1_54;boost-1_54_0;boost_1_54_0;boost/boost-1_54_0;boost/boost_1_54_0;boost-1_55;boost_1_55;boost/boost-1_55;boost/boost_1_55;boost-1_55_0;boost_1_55_0;boost/boost-1_55_0;boost/boost_1_55_0;boost-1_56;boost_1_56;boost/boost-1_56;boost/boost_1_56;boost-1_56_0;boost_1_56_0;boost/boost-1_56_0;boost/boost_1_56_0;boost-1_57;boost_1_57;boost/boost-1_57;boost/boost_1_57;boost-1_57_0;boost_1_57_0;boost/boost-1_57_0;boost/boost_1_57_0;boost-1_58;boost_1_58;boost/boost-1_58;boost/boost_1_58;boost-1_58_0;boost_1_58_0;boost/boost-1_58_0;boost/boost_1_58_0;boost-1_59;boost_1_59;boost/boost-1_59;boost/boost_1_59;boost-1_59_0;boost_1_59_0;boost/boost-1_59_0;boost/boost_1_59_0;boost-1_58_0;boost_1_58_0;boost/boost-1_58_0;boost/boost_1_58_0;boost-1_58;boost_1_58;boost/boost-1_58;boost/boost_1_58;boost-1_57_0;boost_1_57_0;boost/boost-1_57_0;boost/boost_1_57_0;boost-1_57;boost_1_57;boost/boost-1_57;boost/boost_1_57;boost-1_56_0;boost_1_56_0;boost/boost-1_56_0;boost/boost_1_56_0;boost-1_56;boost_1_56;boost/boost-1_56;boost/boost_1_56;boost-1_55_0;boost_1_55_0;boost/boost-1_55_0;boost/boost_1_55_0;boost-1_55;boost_1_55;boost/boost-1_55;boost/boost_1_55;boost-1_54_0;boost_1_54_0;boost/boost-1_54_0;boost/boost_1_54_0;boost-1_54;boost_1_54;boost/boost-1_54;boost/boost_1_54;boost-1_53_0;boost_1_53_0;boost/boost-1_53_0;boost/boost_1_53_0;boost-1_53;boost_1_53;boost/boost-1_53;boost/boost_1_53;boost-1_52_0;boost_1_52_0;boost/boost-1_52_0;boost/boost_1_52_0;boost-1_52;boost_1_52;boost/boost-1_52;boost/boost_1_52;boost-1_51_0;boost_1_51_0;boost/boost-1_51_0;boost/boost_1_51_0;boost-1_51;boost_1_51;boost/boost-1_51;boost/boost_1_51;boost-1_50_0;boost_1_50_0;boost/boost-1_50_0;boost/boost_1_50_0;boost-1_50;boost_1_50;boost/boost-1_50;boost/boost_1_50;boost-1_49_0;boost_1_49_0;boost/boost-1_49_0;boost/boost_1_49_0;boost-1_49;boost_1_49;boost/boost-1_49;boost/boost_1_49;boost-1_48_0;boost_1_48_0;boost/boost-1_48_0;boost/boost_1_48_0;boost-1_48;boost_1_48;boost/boost-1_48;boost/boost_1_48;boost-1_47_0;boost_1_47_0;boost/boost-1_47_0;boost/boost_1_47_0;boost-1_47;boost_1_47;boost/boost-1_47;boost/boost_1_47;boost-1_46_1;boost_1_46_1;boost/boost-1_46_1;boost/boost_1_46_1;boost-1_46_0;boost_1_46_0;boost/boost-1_46_0;boost/boost_1_46_0;boost-1_46;boost_1_46;boost/boost-1_46;boost/boost_1_46;boost-1_45_0;boost_1_45_0;boost/boost-1_45_0;boost/boost_1_45_0;boost-1_45;boost_1_45;boost/boost-1_45;boost/boost_1_45;boost-1_44_0;boost_1_44_0;boost/boost-1_44_0;boost/boost_1_44_0;boost-1_44;boost_1_44;boost/boost-1_44;boost/boost_1_44;boost-1_43_0;boost_1_43_0;boost/boost-1_43_0;boost/boost_1_43_0;boost-1_43;boost_1_43;boost/boost-1_43;boost/boost_1_43;boost-1_42_0;boost_1_42_0;boost/boost-1_42_0;boost/boost_1_42_0;boost-1_42;boost_1_42;boost/boost-1_42;boost/boost_1_42;boost-1_41_0;boost_1_41_0;boost/boost-1_41_0;boost/boost_1_41_0;boost-1_41;boost_1_41;boost/boost-1_41;boost/boost_1_41;boost-1_40_0;boost_1_40_0;boost/boost-1_40_0;boost/boost_1_40_0;boost-1_40;boost_1_40;boost/boost-1_40;boost/boost_1_40;boost-1_39_0;boost_1_39_0;boost/boost-1_39_0;boost/boost_1_39_0;boost-1_39;boost_1_39;boost/boost-1_39;boost/boost_1_39;boost-1_38_0;boost_1_38_0;boost/boost-1_38_0;boost/boost_1_38_0;boost-1_38;boost_1_38;boost/boost-1_38;boost/boost_1_38;boost-1_37_0;boost_1_37_0;boost/boost-1_37_0;boost/boost_1_37_0;boost-1_37;boost_1_37;boost/boost-1_37;boost/boost_1_37;boost-1_36_1;boost_1_36_1;boost/boost-1_36_1;boost/boost_1_36_1;boost-1_36_0;boost_1_36_0;boost/boost-1_36_0;boost/boost_1_36_0;boost-1_36;boost_1_36;boost/boost-1_36;boost/boost_1_36;boost-1_35_1;boost_1_35_1;boost/boost-1_35_1;boost/boost_1_35_1;boost-1_35_0;boost_1_35_0;boost/boost-1_35_0;boost/boost_1_35_0;boost-1_35;boost_1_35;boost/boost-1_35;boost/boost_1_35;boost-1_34_1;boost_1_34_1;boost/boost-1_34_1;boost/boost_1_34_1;boost-1_34_0;boost_1_34_0;boost/boost-1_34_0;boost/boost_1_34_0;boost-1_34;boost_1_34;boost/boost-1_34;boost/boost_1_34;boost-1_33_1;boost_1_33_1;boost/boost-1_33_1;boost/boost_1_33_1;boost-1_33_0;boost_1_33_0;boost/boost-1_33_0;boost/boost_1_33_0;boost-1_33;boost_1_33;boost/boost-1_33;boost/boost_1_33 -- [ /nobackupp8/jgalarow/maia/cmake/share/cmake-3.2/Modules/FindBoost.cmake:678 ] location of version.hpp: //nobackupnfs2/jgalarow/maia/krellroot_v2.2.2/include/boost/version.hpp -- [ /nobackupp8/jgalarow/maia/cmake/share/cmake-3.2/Modules/FindBoost.cmake:702 ] version.hpp reveals boost 1.53.0 -- [ /nobackupp8/jgalarow/maia/cmake/share/cmake-3.2/Modules/FindBoost.cmake:787 ] guessed _boost_COMPILER = -il -- [ /nobackupp8/jgalarow/maia/cmake/share/cmake-3.2/Modules/FindBoost.cmake:797 ] _boost_MULTITHREADED = -mt -- [ /nobackupp8/jgalarow/maia/cmake/share/cmake-3.2/Modules/FindBoost.cmake:840 ] _boost_RELEASE_ABI_TAG = - -- [ /nobackupp8/jgalarow/maia/cmake/share/cmake-3.2/Modules/FindBoost.cmake:842 ] _boost_DEBUG_ABI_TAG = -d -- [ /nobackupp8/jgalarow/maia/cmake/share/cmake-3.2/Modules/FindBoost.cmake:890 ] _boost_LIBRARY_SEARCH_DIRS = /nobackupnfs2/jgalarow/maia/krellroot_v2.2.2/lib;/nobackupnfs2/jgalarow/maia/krellroot_v2.2.2/stage/lib;//nobackupnfs2/jgalarow/maia/krellroot_v2.2.2/include/lib;//nobackupnfs2/jgalarow/maia/krellroot_v2.2.2/include/../lib;//nobackupnfs2/jgalarow/maia/krellroot_v2.2.2/include/stage/lib;NO_CMAKE_SYSTEM_PATH -- [ /nobackupp8/jgalarow/maia/cmake/share/cmake-3.2/Modules/FindBoost.cmake:1001 ] Searching for THREAD_LIBRARY_RELEASE: boost_thread-il-mt-1_53;boost_thread-il-mt;boost_thread-mt-1_53;boost_thread-mt;boost_thread -- [ /nobackupp8/jgalarow/maia/cmake/share/cmake-3.2/Modules/FindBoost.cmake:1037 ] Searching for THREAD_LIBRARY_DEBUG: boost_thread-il-mt-d-1_53;boost_thread-il-mt-d;boost_thread-mt-d-1_53;boost_thread-mt-d;boost_thread-mt;boost_thread -- [ /nobackupp8/jgalarow/maia/cmake/share/cmake-3.2/Modules/FindBoost.cmake:1001 ] Searching for SYSTEM_LIBRARY_RELEASE: boost_system-il-mt-1_53;boost_system-il-mt;boost_system-mt-1_53;boost_system-mt;boost_system -- [ /nobackupp8/jgalarow/maia/cmake/share/cmake-3.2/Modules/FindBoost.cmake:1037 ] Searching for SYSTEM_LIBRARY_DEBUG: boost_system-il-mt-d-1_53;boost_system-il-mt-d;boost_system-mt-d-1_53;boost_system-mt-d;boost_system-mt;boost_system -- [ /nobackupp8/jgalarow/maia/cmake/share/cmake-3.2/Modules/FindBoost.cmake:1088 ] Boost_FOUND = 1
-- Boost version: 1.53.0
-- Found the following Boost libraries:
--   thread
--   system
-- Boost includes: //nobackupnfs2/jgalarow/maia/krellroot_v2.2.2/include
-- Boost library dirs: //nobackupnfs2/jgalarow/maia/krellroot_v2.2.2/lib
-- Boost thread library: //nobackupnfs2/jgalarow/maia/krellroot_v2.2.2/lib/libboost_thread.so -- Boost libraries: //nobackupnfs2/jgalarow/maia/krellroot_v2.2.2/lib/libboost_thread.so;//nobackupnfs2/jgalarow/maia/krellroot_v2.2.2/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.2/lib64/libiberty_pic.a...
CMake Warning (dev) at cmake/shared.cmake:46 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
get_target_property. Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target
"/nobackupnfs2/jgalarow/maia/krellroot_v2.2.2/lib64/libiberty_pic.a".
Call Stack (most recent call first):
  common/CMakeLists.txt:114 (dyninst_library)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Building dynElf...
-- Processing dependent target /nobackupnfs2/jgalarow/maia/krellroot_v2.2.2/lib64/libelf.so...
CMake Warning (dev) at cmake/shared.cmake:46 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
get_target_property. Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target
  "/nobackupnfs2/jgalarow/maia/krellroot_v2.2.2/lib64/libelf.so".
Call Stack (most recent call first):
  elf/CMakeLists.txt:23 (dyninst_library)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Building dynDwarf...
-- Processing dependent target dynElf...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia111/dyninst-9.1.0/elf
-- Processing dependent target common...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia111/dyninst-9.1.0/common -- Processing dependent target /nobackupnfs2/jgalarow/maia/krellroot_v2.2.2/lib64/libdwarf.so...
CMake Warning (dev) at cmake/shared.cmake:46 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
get_target_property. Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target
  "/nobackupnfs2/jgalarow/maia/krellroot_v2.2.2/lib64/libdwarf.so".
Call Stack (most recent call first):
  dwarf/CMakeLists.txt:23 (dyninst_library)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Processing dependent target /nobackupnfs2/jgalarow/maia/krellroot_v2.2.2/lib64/libelf.so...
CMake Warning (dev) at cmake/shared.cmake:46 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
get_target_property. Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target
  "/nobackupnfs2/jgalarow/maia/krellroot_v2.2.2/lib64/libelf.so".
Call Stack (most recent call first):
  dwarf/CMakeLists.txt:23 (dyninst_library)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Building symLite...
-- Processing dependent target common...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia111/dyninst-9.1.0/common
-- Processing dependent target dynElf...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia111/dyninst-9.1.0/elf
-- Building dynC_API...
-- Processing dependent target dyninstAPI...
CMake Warning (dev) at cmake/shared.cmake:46 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
get_target_property. Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target "dyninstAPI".
Call Stack (most recent call first):
  dynC_API/CMakeLists.txt:13 (dyninst_library)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Building instructionAPI...
-- Processing dependent target common...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia111/dyninst-9.1.0/common
-- Building symtabAPI...
-- Processing dependent target common...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia111/dyninst-9.1.0/common
-- Processing dependent target dynElf...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia111/dyninst-9.1.0/elf -- Processing dependent target /nobackupnfs2/jgalarow/maia/krellroot_v2.2.2/lib64/libelf.so...
CMake Warning (dev) at cmake/shared.cmake:46 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
get_target_property. Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target
  "/nobackupnfs2/jgalarow/maia/krellroot_v2.2.2/lib64/libelf.so".
Call Stack (most recent call first):
  symtabAPI/CMakeLists.txt:115 (dyninst_library)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Processing dependent target dynDwarf...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia111/dyninst-9.1.0/dwarf -- Processing dependent target /nobackupnfs2/jgalarow/maia/krellroot_v2.2.2/lib64/libdwarf.so...
CMake Warning (dev) at cmake/shared.cmake:46 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
get_target_property. Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target
  "/nobackupnfs2/jgalarow/maia/krellroot_v2.2.2/lib64/libdwarf.so".
Call Stack (most recent call first):
  symtabAPI/CMakeLists.txt:115 (dyninst_library)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Processing dependent target /nobackupnfs2/jgalarow/maia/krellroot_v2.2.2/lib64/libelf.so...
CMake Warning (dev) at cmake/shared.cmake:46 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
get_target_property. Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target
  "/nobackupnfs2/jgalarow/maia/krellroot_v2.2.2/lib64/libelf.so".
Call Stack (most recent call first):
  symtabAPI/CMakeLists.txt:115 (dyninst_library)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Building parseAPI...
-- Processing dependent target common...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia111/dyninst-9.1.0/common
-- Processing dependent target instructionAPI...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia111/dyninst-9.1.0/instructionAPI
-- Processing dependent target symtabAPI...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia111/dyninst-9.1.0/symtabAPI
-- Building pcontrol...
-- Processing dependent target common...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia111/dyninst-9.1.0/common
-- Processing dependent target symtabAPI...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia111/dyninst-9.1.0/symtabAPI
-- Building stackwalk...
-- Processing dependent target common...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia111/dyninst-9.1.0/common
-- Processing dependent target instructionAPI...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia111/dyninst-9.1.0/instructionAPI
-- Processing dependent target pcontrol...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia111/dyninst-9.1.0/proccontrol
-- Processing dependent target dynDwarf...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia111/dyninst-9.1.0/dwarf
-- Processing dependent target dynElf...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia111/dyninst-9.1.0/elf
-- Processing dependent target symtabAPI...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia111/dyninst-9.1.0/symtabAPI
-- Processing dependent target parseAPI...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia111/dyninst-9.1.0/parseAPI
-- Building patchAPI...
-- Processing dependent target common...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia111/dyninst-9.1.0/common
-- Processing dependent target instructionAPI...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia111/dyninst-9.1.0/instructionAPI
-- Processing dependent target parseAPI...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia111/dyninst-9.1.0/parseAPI
-- Building dyninstAPI...
-- Processing dependent target common...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia111/dyninst-9.1.0/common
-- Processing dependent target instructionAPI...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia111/dyninst-9.1.0/instructionAPI
-- Processing dependent target stackwalk...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia111/dyninst-9.1.0/stackwalk
-- Processing dependent target pcontrol...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia111/dyninst-9.1.0/proccontrol
-- Processing dependent target patchAPI...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia111/dyninst-9.1.0/patchAPI
-- Processing dependent target parseAPI...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia111/dyninst-9.1.0/parseAPI
-- Processing dependent target symtabAPI...
-- Found dependency location /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia111/dyninst-9.1.0/symtabAPI
-- 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.1
-- dyninstAPI RT library LIBVERSION: 9.1.0
CMake Warning (dev) at CMakeLists.txt:141 (get_property):
  Policy CMP0026 is not set: Disallow use of the LOCATION target property.
Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy
  command to set the policy and suppress this warning.

The LOCATION property should not be read from target "dyninstAPI_RT". Use
  the target name directly with add_custom_command, or use the generator
  expression $<TARGET_FILE>, as appropriate.

This warning is for project developers.  Use -Wno-dev to suppress it.

-- dyninstAPI output location: /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia111/dyninst-9.1.0/dyninstAPI_RT/libdyninstAPI_RT.so
-- 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
CMake Warning:
  Manually-specified variables were not used by the project:

    NEED_NATIVE_ASSEMBLER


-- Build files have been written to: /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia111/dyninst-9.1.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/maia111/dyninst-9.1.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
[  4%] 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
[ 5%] 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
[  7%] 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
[  8%] 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
[  9%] 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
[ 10%] 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/maia111/dyninst-9.1.0/common/src/linuxKludges.C(1032): 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/maia111/dyninst-9.1.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
[  0%] Building CXX object common/CMakeFiles/common.dir/src/linuxKludges.C.o
/nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia111/dyninst-9.1.0/common/src/linuxKludges.C(1032): 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/maia111/dyninst-9.1.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/maia111 /nobackupnfs2/jgalarow/OpenSpeedShop_ROOT
/nobackupnfs2/jgalarow/OpenSpeedShop_ROOT
DYNINST FAILED TO BUILD - TERMINATING BUILD SCRIPT. Please check for errors.



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