Re: [DynInst_API:] Dyninst on aarch64 ARM system doesn't build (for me)


Date: Wed, 19 Aug 2015 20:26:17 +0000
From: Steve Xi SONG <steve.song@xxxxxxxx>
Subject: Re: [DynInst_API:] Dyninst on aarch64 ARM system doesn't build (for me)
Hi Jim,
i just pushed a commit to the repo.
Due to some git issue, the .s file was not replaced by .S file correctly.
I have commented the .S dependency line out in the cmakelist for quick build.

Xi (Steve) Song
Graduate
ECE, UW-Madison

________________________________________
From: Jim Galarowicz <jeg@xxxxxxxxxxxxx>
Sent: Wednesday, August 19, 2015 3:22 PM
To: Steve Xi SONG; dyninst-api@xxxxxxxxxxx
Subject: Re: [DynInst_API:] Dyninst on aarch64 ARM system doesn't build (for me)

Hi Steve,

I did a quick change of the CMakeLists.txt file reference of

src/RTthread-aarch64-asm.S

to reference:

src/RTthread-aarch64-asm.s

instead.  I'm in the process of building now.

I will try the default change after pulling the change from the repo.

Thanks
Jim G


On 08/19/2015 03:18 PM, Steve Xi SONG wrote:
> Hi
> I commented it out in the cmakelist file.
> Pull it from repo and try it again.
>
> Xi (Steve) Song
> Graduate
> ECE, UW-Madison
>
> ________________________________________
> From: Bill Williams <bill@xxxxxxxxxxx>
> Sent: Wednesday, August 19, 2015 2:41 PM
> To: dyninst-api@xxxxxxxxxxx
> Cc: Steve Xi SONG
> Subject: Re: [DynInst_API:] Dyninst on aarch64 ARM system doesn't build (for me)
>
> On 08/19/2015 02:35 PM, Jim Galarowicz wrote:
>> Hi all,
>>
>> I downloaded the git repository version of Dyninst a few minutes ago and
>> tried to build on an ARM based system (64-bit aarch64).
>> It looks like Dyninst is looking for a file named:
>> src/RTthread-aarch64-asm.S but can't find it.
>>
>> Can anyone help with this issue?    Maybe my cmake line is not correct?
>>
> The .s file that should be renamed to a .S (or removed entirely from the
> CMakeLists; it's a stub for future implementation).
>
> Steve, you mind cleaning this up?
>
> --bw
>
>> Thanks,
>> Jim G
>>
>> + pushd dyninst-9.0.0
>> ~/OpenSpeedShop_ROOT/BUILD/node045/dyninst-9.0.0
>> ~/OpenSpeedShop_ROOT/BUILD/node045 ~/OpenSpeedShop_ROOT
>> + '[' -f ../dyninst-9.0.0.patch ']'
>> ++ pwd
>> + export
>> DYNINST_ROOT=/home/jgalaro/OpenSpeedShop_ROOT/BUILD/node045/dyninst-9.0.0/dyninst-9.0.0
>>
>> +
>> DYNINST_ROOT=/home/jgalaro/OpenSpeedShop_ROOT/BUILD/node045/dyninst-9.0.0/dyninst-9.0.0
>>
>> + '[' '' == bgp ']'
>> + '[' '' == bgq ']'
>> + cmake . -DCMAKE_INSTALL_PREFIX=//home/jgalaro/dyninst900
>> -DINSTALL_LIB_DIR=//home/jgalaro/dyninst900/lib
>> -DINSTALL_INCLUDE_DIR=//home/jgalaro/dyninst900/include/dyninst
>> -DCMAKE_PREFIX_PATH=//home/jgalaro/dyninst900
>> -DCMAKE_BUILD_TYPE=RelWithDebInfo
>> -DLIBDWARF_LIBRARIES=/home/jgalaro/rootu7/lib/libdwarf.so
>> -DLIBDWARF_INCLUDE_DIR=/home/jgalaro/rootu7/include
>> -DLIBELF_LIBRARIES=/home/jgalaro/rootu7/lib/libelf.so
>> -DLIBELF_INCLUDE_DIR=/home/jgalaro/rootu7/include
>> -DPATH_BOOST=/home/jgalaro/rootu7/include
>> -DIBERTY_LIBRARY=/home/jgalaro/rootu7/lib/libiberty_pic.a
>> -DBUILD_RTLIB_32=OFF -DCHECK_RTLIB_32=OFF
>> -- The C compiler identification is GNU 4.8.2
>> -- The CXX compiler identification is GNU 4.8.2
>> -- Check for working C compiler: /usr/bin/cc
>> -- Check for working C compiler: /usr/bin/cc -- works
>> -- Detecting C compiler ABI info
>> -- Detecting C compiler ABI info - done
>> -- Check for working CXX compiler: /usr/bin/c++
>> -- Check for working CXX compiler: /usr/bin/c++ -- works
>> -- Detecting CXX compiler ABI info
>> -- Detecting CXX compiler ABI info - done
>> -- -- Input platform:
>> -- -- Attempting to automatically identify platform: aarch64-unknown-linux
>> -- Found LibElf: /home/jgalaro/rootu7/lib/libelf.so
>> -- Found LibDwarf: /home/jgalaro/rootu7/lib/libdwarf.so
>> -- Found libiberty: /home/jgalaro/rootu7/lib/libiberty_pic.a
>> -- Using libiberty /home/jgalaro/rootu7/lib/libiberty_pic.a
>> -- Found Thread_Db: /usr/lib/aarch64-linux-gnu/libthread_db.so
>> -- Disabling Boost's own CMake--known buggy in many cases
>> -- [ /home/jgalaro/cmake/share/cmake-2.8/Modules/FindBoost.cmake:476 ]
>> _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.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
>>
>> -- [ /home/jgalaro/cmake/share/cmake-2.8/Modules/FindBoost.cmake:478 ]
>> Boost_USE_MULTITHREADED = ON
>> -- [ /home/jgalaro/cmake/share/cmake-2.8/Modules/FindBoost.cmake:480 ]
>> Boost_USE_STATIC_LIBS =
>> -- [ /home/jgalaro/cmake/share/cmake-2.8/Modules/FindBoost.cmake:482 ]
>> Boost_USE_STATIC_RUNTIME = OFF
>> -- [ /home/jgalaro/cmake/share/cmake-2.8/Modules/FindBoost.cmake:484 ]
>> 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
>>
>> -- [ /home/jgalaro/cmake/share/cmake-2.8/Modules/FindBoost.cmake:486 ]
>> Boost_NO_SYSTEM_PATHS = ON
>> -- [ /home/jgalaro/cmake/share/cmake-2.8/Modules/FindBoost.cmake:538 ]
>> Declared as CMake or Environmental Variables:
>> -- [ /home/jgalaro/cmake/share/cmake-2.8/Modules/FindBoost.cmake:540 ]
>> BOOST_ROOT =
>> -- [ /home/jgalaro/cmake/share/cmake-2.8/Modules/FindBoost.cmake:542 ]
>> BOOST_INCLUDEDIR =
>> -- [ /home/jgalaro/cmake/share/cmake-2.8/Modules/FindBoost.cmake:544 ]
>> BOOST_LIBRARYDIR =
>> -- [ /home/jgalaro/cmake/share/cmake-2.8/Modules/FindBoost.cmake:546 ]
>> _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.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
>>
>> -- [ /home/jgalaro/cmake/share/cmake-2.8/Modules/FindBoost.cmake:615 ]
>> Include debugging info:
>> -- [ /home/jgalaro/cmake/share/cmake-2.8/Modules/FindBoost.cmake:617 ]
>> _boost_INCLUDE_SEARCH_DIRS =
>> /home/jgalaro/rootu7/include;/home/jgalaro/rootu7;NO_CMAKE_SYSTEM_PATH
>> -- [ /home/jgalaro/cmake/share/cmake-2.8/Modules/FindBoost.cmake:619 ]
>> _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;boos!
 t!
>   /b!
>> oost-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_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/boos!
 t!
>   _!
>> 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/b!
 o!
>   o!
>> st_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
>>
>> -- [ /home/jgalaro/cmake/share/cmake-2.8/Modules/FindBoost.cmake:639 ]
>> location of version.hpp: /home/jgalaro/rootu7/include/boost/version.hpp
>> -- [ /home/jgalaro/cmake/share/cmake-2.8/Modules/FindBoost.cmake:663 ]
>> version.hpp reveals boost 1.53.0
>> -- [ /home/jgalaro/cmake/share/cmake-2.8/Modules/FindBoost.cmake:739 ]
>> guessed _boost_COMPILER = -gcc48
>> -- [ /home/jgalaro/cmake/share/cmake-2.8/Modules/FindBoost.cmake:749 ]
>> _boost_MULTITHREADED = -mt
>> -- [ /home/jgalaro/cmake/share/cmake-2.8/Modules/FindBoost.cmake:792 ]
>> _boost_RELEASE_ABI_TAG = -
>> -- [ /home/jgalaro/cmake/share/cmake-2.8/Modules/FindBoost.cmake:794 ]
>> _boost_DEBUG_ABI_TAG = -d
>> -- [ /home/jgalaro/cmake/share/cmake-2.8/Modules/FindBoost.cmake:842 ]
>> _boost_LIBRARY_SEARCH_DIRS =
>> /home/jgalaro/rootu7/lib;/home/jgalaro/rootu7/stage/lib;/home/jgalaro/rootu7/include/lib;/home/jgalaro/rootu7/include/../lib;/home/jgalaro/rootu7/include/stage/lib;NO_CMAKE_SYSTEM_PATH
>>
>> -- [ /home/jgalaro/cmake/share/cmake-2.8/Modules/FindBoost.cmake:930 ]
>> Searching for THREAD_LIBRARY_RELEASE:
>> boost_thread-gcc48-mt-1_53;boost_thread-gcc48-mt;boost_thread-mt-1_53;boost_thread-mt;boost_thread
>>
>> -- [ /home/jgalaro/cmake/share/cmake-2.8/Modules/FindBoost.cmake:966 ]
>> Searching for THREAD_LIBRARY_DEBUG:
>> boost_thread-gcc48-mt-d-1_53;boost_thread-gcc48-mt-d;boost_thread-mt-d-1_53;boost_thread-mt-d;boost_thread-mt;boost_thread
>>
>> -- [ /home/jgalaro/cmake/share/cmake-2.8/Modules/FindBoost.cmake:930 ]
>> Searching for SYSTEM_LIBRARY_RELEASE:
>> boost_system-gcc48-mt-1_53;boost_system-gcc48-mt;boost_system-mt-1_53;boost_system-mt;boost_system
>>
>> -- [ /home/jgalaro/cmake/share/cmake-2.8/Modules/FindBoost.cmake:966 ]
>> Searching for SYSTEM_LIBRARY_DEBUG:
>> boost_system-gcc48-mt-d-1_53;boost_system-gcc48-mt-d;boost_system-mt-d-1_53;boost_system-mt-d;boost_system-mt;boost_system
>>
>> -- [ /home/jgalaro/cmake/share/cmake-2.8/Modules/FindBoost.cmake:1017 ]
>> Boost_FOUND = 1
>> -- Boost version: 1.53.0
>> -- Found the following Boost libraries:
>> --   thread
>> --   system
>> -- Boost includes: /home/jgalaro/rootu7/include
>> -- Boost library dirs: /home/jgalaro/rootu7/lib
>> -- Boost thread library: /home/jgalaro/rootu7/lib/libboost_thread.so
>> -- Boost libraries:
>> /home/jgalaro/rootu7/lib/libboost_thread.so;/home/jgalaro/rootu7/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": works
>> -- 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
>> -- Found g++, enabling -fvisibility=hidden
>> -- Options set
>> -- Set optimization flags
>> -- Building common...
>> -- Processing dependent target /home/jgalaro/rootu7/lib/libiberty_pic.a...
>> -- Building dynElf...
>> -- Processing dependent target /home/jgalaro/rootu7/lib/libelf.so...
>> -- Building dynDwarf...
>> -- Processing dependent target dynElf...
>> -- Found dependency location
>> /home/jgalaro/OpenSpeedShop_ROOT/BUILD/node045/dyninst-9.0.0/elf
>> -- Processing dependent target common...
>> -- Found dependency location
>> /home/jgalaro/OpenSpeedShop_ROOT/BUILD/node045/dyninst-9.0.0/common
>> -- Processing dependent target /home/jgalaro/rootu7/lib/libdwarf.so...
>> -- Processing dependent target /home/jgalaro/rootu7/lib/libelf.so...
>> -- Building instructionAPI...
>> -- Processing dependent target common...
>> -- Found dependency location
>> /home/jgalaro/OpenSpeedShop_ROOT/BUILD/node045/dyninst-9.0.0/common
>> -- Building symtabAPI...
>> -- Processing dependent target common...
>> -- Found dependency location
>> /home/jgalaro/OpenSpeedShop_ROOT/BUILD/node045/dyninst-9.0.0/common
>> -- Processing dependent target dynElf...
>> -- Found dependency location
>> /home/jgalaro/OpenSpeedShop_ROOT/BUILD/node045/dyninst-9.0.0/elf
>> -- Processing dependent target /home/jgalaro/rootu7/lib/libelf.so...
>> -- Processing dependent target dynDwarf...
>> -- Found dependency location
>> /home/jgalaro/OpenSpeedShop_ROOT/BUILD/node045/dyninst-9.0.0/dwarf
>> -- Processing dependent target /home/jgalaro/rootu7/lib/libdwarf.so...
>> -- Processing dependent target /home/jgalaro/rootu7/lib/libelf.so...
>> -- Building parseAPI...
>> -- Processing dependent target common...
>> -- Found dependency location
>> /home/jgalaro/OpenSpeedShop_ROOT/BUILD/node045/dyninst-9.0.0/common
>> -- Processing dependent target instructionAPI...
>> -- Found dependency location
>> /home/jgalaro/OpenSpeedShop_ROOT/BUILD/node045/dyninst-9.0.0/instructionAPI
>> -- Processing dependent target symtabAPI...
>> -- Found dependency location
>> /home/jgalaro/OpenSpeedShop_ROOT/BUILD/node045/dyninst-9.0.0/symtabAPI
>> -- Building patchAPI...
>> -- Processing dependent target common...
>> -- Found dependency location
>> /home/jgalaro/OpenSpeedShop_ROOT/BUILD/node045/dyninst-9.0.0/common
>> -- Processing dependent target instructionAPI...
>> -- Found dependency location
>> /home/jgalaro/OpenSpeedShop_ROOT/BUILD/node045/dyninst-9.0.0/instructionAPI
>> -- Processing dependent target parseAPI...
>> -- Found dependency location
>> /home/jgalaro/OpenSpeedShop_ROOT/BUILD/node045/dyninst-9.0.0/parseAPI
>> -- Building pcontrol...
>> -- Processing dependent target common...
>> -- Found dependency location
>> /home/jgalaro/OpenSpeedShop_ROOT/BUILD/node045/dyninst-9.0.0/common
>> -- Processing dependent target symtabAPI...
>> -- Found dependency location
>> /home/jgalaro/OpenSpeedShop_ROOT/BUILD/node045/dyninst-9.0.0/symtabAPI
>> -- Building stackwalk...
>> -- Processing dependent target common...
>> -- Found dependency location
>> /home/jgalaro/OpenSpeedShop_ROOT/BUILD/node045/dyninst-9.0.0/common
>> -- Processing dependent target instructionAPI...
>> -- Found dependency location
>> /home/jgalaro/OpenSpeedShop_ROOT/BUILD/node045/dyninst-9.0.0/instructionAPI
>> -- Processing dependent target pcontrol...
>> -- Found dependency location
>> /home/jgalaro/OpenSpeedShop_ROOT/BUILD/node045/dyninst-9.0.0/proccontrol
>> -- Processing dependent target dynDwarf...
>> -- Found dependency location
>> /home/jgalaro/OpenSpeedShop_ROOT/BUILD/node045/dyninst-9.0.0/dwarf
>> -- Processing dependent target dynElf...
>> -- Found dependency location
>> /home/jgalaro/OpenSpeedShop_ROOT/BUILD/node045/dyninst-9.0.0/elf
>> -- Processing dependent target symtabAPI...
>> -- Found dependency location
>> /home/jgalaro/OpenSpeedShop_ROOT/BUILD/node045/dyninst-9.0.0/symtabAPI
>> -- Processing dependent target parseAPI...
>> -- Found dependency location
>> /home/jgalaro/OpenSpeedShop_ROOT/BUILD/node045/dyninst-9.0.0/parseAPI
>> -- Building dyninstAPI...
>> -- Processing dependent target common...
>> -- Found dependency location
>> /home/jgalaro/OpenSpeedShop_ROOT/BUILD/node045/dyninst-9.0.0/common
>> -- Processing dependent target instructionAPI...
>> -- Found dependency location
>> /home/jgalaro/OpenSpeedShop_ROOT/BUILD/node045/dyninst-9.0.0/instructionAPI
>> -- Processing dependent target stackwalk...
>> -- Found dependency location
>> /home/jgalaro/OpenSpeedShop_ROOT/BUILD/node045/dyninst-9.0.0/stackwalk
>> -- Processing dependent target pcontrol...
>> -- Found dependency location
>> /home/jgalaro/OpenSpeedShop_ROOT/BUILD/node045/dyninst-9.0.0/proccontrol
>> -- Processing dependent target patchAPI...
>> -- Found dependency location
>> /home/jgalaro/OpenSpeedShop_ROOT/BUILD/node045/dyninst-9.0.0/patchAPI
>> -- Processing dependent target parseAPI...
>> -- Found dependency location
>> /home/jgalaro/OpenSpeedShop_ROOT/BUILD/node045/dyninst-9.0.0/parseAPI
>> -- Processing dependent target symtabAPI...
>> -- Found dependency location
>> /home/jgalaro/OpenSpeedShop_ROOT/BUILD/node045/dyninst-9.0.0/symtabAPI
>> -- Configuring DyninstAPI_RT
>> -- Configuring RT library
>> -- The C compiler identification is GNU 4.8.2
>> -- Check for working C compiler: /usr/bin/cc
>> -- Check for working C compiler: /usr/bin/cc -- works
>> -- Detecting C compiler ABI info
>> -- Detecting C compiler ABI info - done
>> -- -- Input platform: aarch64-unknown-linux
>> -- Set arch and platform based definitions
>> -- Options set
>> -- Set optimization flags
>> -- The ASM compiler identification is GNU
>> -- Found assembler: /usr/bin/cc
>> -- dyninstAPI RT library SOVERSION: 9.0
>> -- dyninstAPI RT library LIBVERSION: 9.0.0
>> -- dyninstAPI output location:
>> /home/jgalaro/OpenSpeedShop_ROOT/BUILD/node045/dyninst-9.0.0/dyninstAPI_RT/libdyninstAPI_RT.so
>>
>> -- Configuring done
>> CMake Error at CMakeLists.txt:111 (add_library):
>>     Cannot find source file:
>>
>>       src/RTthread-aarch64-asm.S
>>
>>     Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
>>     .hxx .in .txx
>>
>>
>> CMake Warning:
>>     Manually-specified variables were not used by the project:
>>
>>       BUILD_RTLIB_32
>>       NEED_NATIVE_ASSEMBLER
>>
>>
>> -- Build files have been written to:
>> /home/jgalaro/OpenSpeedShop_ROOT/BUILD/node045/dyninst-9.0.0/dyninstAPI_RT
>> -- Found Git: /usr/bin/git (found version "1.9.1")
>> -- 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:
>> /home/jgalaro/OpenSpeedShop_ROOT/BUILD/node045/dyninst-9.0.0
>> + echo platform=
>> platform=
>> + '[' '' == ppc64 ']'
>> + '[' '' == ppc32 ']'
>> + '[' '' == ppc ']'
>> + '[' '' == x86_64 ']'
>> + '[' '' == ia64 ']'
>> + export PLATFORM=i386-unknown-linux2.4
>> + PLATFORM=i386-unknown-linux2.4
>> + make SKIP_BUILD_RTLIB_32=1
>> Scanning dependencies of target DyninstRT
>> [  0%] Building DyninstRT
>> make[3]: *** No targets specified and no makefile found.  Stop.
>> make[2]: *** [CMakeFiles/DyninstRT] Error 2
>> make[1]: *** [CMakeFiles/DyninstRT.dir/all] Error 2
>> make: *** [all] Error 2
>> + make SKIP_BUILD_RTLIB_32=1 install
>> [  0%] Building DyninstRT
>> make[3]: *** No targets specified and no makefile found.  Stop.
>> make[2]: *** [CMakeFiles/DyninstRT] Error 2
>> make[1]: *** [CMakeFiles/DyninstRT.dir/all] Error 2
>> make: *** [all] Error 2
>> + export KRELL_ROOT_DYNINST=/home/jgalaro/dyninst900
>> + KRELL_ROOT_DYNINST=/home/jgalaro/dyninst900
>> + popd
>> ~/OpenSpeedShop_ROOT/BUILD/node045 ~/OpenSpeedShop_ROOT
>> + popd
>> ~/OpenSpeedShop_ROOT
>> + '[' -f /home/jgalaro/dyninst900/include/dyninst/BPatch.h -a -f
>> /home/jgalaro/dyninst900/lib/libsymtabAPI.so ']'
>> + echo 'DYNINST FAILED TO BUILD - TERMINATING BUILD SCRIPT.  Please
>> check for errors.'
>> DYNINST FAILED TO BUILD - TERMINATING BUILD SCRIPT.  Please check for
>> errors.
>> + exit
>> jgalaro@node045:~/OpenSpeedShop_ROOT$
>> jgalaro@node045:~/OpenSpeedShop_ROOT$ cd BUILD/node045/dyninst-9.0.0/
>> jgalaro@node045:~/OpenSpeedShop_ROOT/BUILD/node045/dyninst-9.0.0$ vi
>> CMakeLists.txt
>> jgalaro@node045:~/OpenSpeedShop_ROOT/BUILD/node045/dyninst-9.0.0$
>>
>> jgalaro@node045:~/OpenSpeedShop_ROOT/BUILD/node045/dyninst-9.0.0$ lsr
>> total 964
>>    28 -rw-r--r--  1 jgalaro users  26731 Aug 19 13:18 ZERO_CHECK.vcxproj
>>     4 -rw-r--r--  1 jgalaro users    273 Aug 19 13:18 .syntastic_cpp_config
>>     4 -rw-r--r--  1 jgalaro users   3531 Aug 19 13:18 README.dyninst
>>     8 -rw-r--r--  1 jgalaro users   4563 Aug 19 13:18 README
>>    24 -rw-r--r--  1 jgalaro users  24392 Aug 19 13:18 LGPL
>>    12 -rw-r--r--  1 jgalaro users  12227 Aug 19 13:18 INSTALL.vcxproj
>>     4 drwxr-xr-x  2 jgalaro users   4096 Aug 19 13:18 Installer
>>     4 -rw-r--r--  1 jgalaro users   3248 Aug 19 13:18 INSTALL
>>     4 -rw-r--r--  1 jgalaro users   1246 Aug 19 13:18 .gitignore
>>    24 -rw-r--r--  1 jgalaro users  22921 Aug 19 13:18 Dyninst.sln
>>     4 -rw-r--r--  1 jgalaro users    194 Aug 19 13:18
>> DyninstConfigVersion.cmake
>>     8 -rw-r--r--  1 jgalaro users   5090 Aug 19 13:18 DyninstAPI.sln
>>     4 -rw-r--r--  1 jgalaro users    893 Aug 19 13:18 COPYRIGHT
>>     8 -rw-r--r--  1 jgalaro users   7252 Aug 19 13:18 CMakeLists.txt
>>     4 -rw-r--r--  1 jgalaro users    741 Aug 19 13:18 ChangeLog
>>    28 -rw-r--r--  1 jgalaro users  27058 Aug 19 13:18 ALL_BUILD.vcxproj
>>     4 drwxr-xr-x  4 jgalaro users   4096 Aug 19 13:18 cmake
>>     4 drwxr-xr-x  6 jgalaro users   4096 Aug 19 13:18 dataflowAPI
>>     4 drwxr-xr-x  4 jgalaro users   4096 Aug 19 13:18 external
>>     4 drwxr-xr-x  2 jgalaro users   4096 Aug 19 13:18 dynutil
>>     4 -rw-r--r--  1 jgalaro users   3747 Aug 19 13:18 nmake.program.tmpl
>>     4 -rw-r--r--  1 jgalaro users   3015 Aug 19 13:18 nmake.library.tmpl
>>     8 -rw-r--r--  1 jgalaro users   7624 Aug 19 13:18 nmake.config
>>     4 drwxr-xr-x  3 jgalaro users   4096 Aug 19 13:18 parseThat
>>     4 drwxr-xr-x  2 jgalaro users   4096 Aug 19 13:18 scripts
>>    16 -rwxr-xr-x  1 jgalaro users  14625 Aug 19 13:18 symtab-memleak
>>     4 drwxr-xr-x  4 jgalaro users   4096 Aug 19 13:18 symlite
>>     4 drwxr-xr-x  4 jgalaro users   4096 Aug 19 13:18 valueAdded
>>     4 drwxr-xr-x  3 jgalaro users   4096 Aug 19 13:18 syscalls
>>     4 drwxr-xr-x  8 jgalaro users   4096 Aug 19 13:18 .git
>>     4 drwxr-xr-x 38 jgalaro users   4096 Aug 19 13:23 ..
>>     4 drwxr-xr-x  3 jgalaro users   4096 Aug 19 13:23 cxx11___func__
>>     4 drwxr-xr-x  3 jgalaro users   4096 Aug 19 13:23 cxx11_auto
>>     4 drwxr-xr-x  3 jgalaro users   4096 Aug 19 13:23
>> cxx11_auto_fail_compile
>>     4 drwxr-xr-x  3 jgalaro users   4096 Aug 19 13:23 cxx11_auto_ret_type
>>     4 drwxr-xr-x  3 jgalaro users   4096 Aug 19 13:23
>> cxx11_class_override_final
>>     4 drwxr-xr-x  3 jgalaro users   4096 Aug 19 13:23 cxx11_constexpr
>>     4 drwxr-xr-x  3 jgalaro users   4096 Aug 19 13:23 cxx11_cstdint
>>     4 drwxr-xr-x  3 jgalaro users   4096 Aug 19 13:23 cxx11_decltype
>>     4 drwxr-xr-x  3 jgalaro users   4096 Aug 19 13:23 cxx11_initializer_list
>>     4 drwxr-xr-x  3 jgalaro users   4096 Aug 19 13:23 cxx11_lambda
>>     4 drwxr-xr-x  3 jgalaro users   4096 Aug 19 13:23 cxx11_long_long
>>     4 drwxr-xr-x  3 jgalaro users   4096 Aug 19 13:23 cxx11_nullptr
>>     4 drwxr-xr-x  3 jgalaro users   4096 Aug 19 13:23
>> cxx11_nullptr_fail_compile
>>     4 drwxr-xr-x  3 jgalaro users   4096 Aug 19 13:23 cxx11_regex
>> 532 -rw-------  1 jgalaro users 544768 Aug 19 13:23 core
>>     4 drwxr-xr-x  3 jgalaro users   4096 Aug 19 13:23
>> cxx11_rvalue-references
>>     4 drwxr-xr-x  3 jgalaro users   4096 Aug 19 13:23 cxx11_sizeof_member
>>     4 drwxr-xr-x  3 jgalaro users   4096 Aug 19 13:23
>> cxx11_sizeof_member_fail
>>     4 drwxr-xr-x  3 jgalaro users   4096 Aug 19 13:23 cxx11_static_assert
>>     4 drwxr-xr-x  3 jgalaro users   4096 Aug 19 13:23
>> cxx11_static_assert_fail_compile
>>     4 drwxr-xr-x  3 jgalaro users   4096 Aug 19 13:23
>> cxx11_variadic_templates
>>     4 drwxr-xr-x  5 jgalaro users   4096 Aug 19 13:23 dyninstAPI_RT
>>    20 -rw-r--r--  1 jgalaro users  20182 Aug 19 13:23 CMakeCache.txt
>>    20 -rw-r--r--  1 jgalaro users  18238 Aug 19 13:23 Makefile
>>     8 -rw-r--r--  1 jgalaro users   4892 Aug 19 13:23 cmake_install.cmake
>>     4 drwxr-xr-x  7 jgalaro users   4096 Aug 19 13:23 common
>>     4 drwxr-xr-x  5 jgalaro users   4096 Aug 19 13:23 elf
>>     4 drwxr-xr-x  5 jgalaro users   4096 Aug 19 13:23 dwarf
>>     4 drwxr-xr-x  7 jgalaro users   4096 Aug 19 13:23 dynC_API
>>     4 drwxr-xr-x  6 jgalaro users   4096 Aug 19 13:23 instructionAPI
>>     4 drwxr-xr-x  6 jgalaro users   4096 Aug 19 13:23 symtabAPI
>>     4 drwxr-xr-x  6 jgalaro users   4096 Aug 19 13:23 parseAPI
>>     4 drwxr-xr-x  7 jgalaro users   4096 Aug 19 13:23 patchAPI
>>     4 drwxr-xr-x  6 jgalaro users   4096 Aug 19 13:23 proccontrol
>>     4 drwxr-xr-x  6 jgalaro users   4096 Aug 19 13:23 stackwalk
>>     4 drwxr-xr-x  6 jgalaro users   4096 Aug 19 13:23 dyninstAPI
>>     4 drwxr-xr-x 10 jgalaro users   4096 Aug 19 13:23 CMakeFiles
>>     4 drwxr-xr-x 46 jgalaro users   4096 Aug 19 13:27 .
>> jgalaro@node045:~/OpenSpeedShop_ROOT/BUILD/node045/dyninst-9.0.0$ find .
>> -name RTthread-aarch64-asm.S
>> jgalaro@node045:~/OpenSpeedShop_ROOT/BUILD/node045/dyninst-9.0.0$
>>
>>
>>
>> _______________________________________________
>> Dyninst-api mailing list
>> Dyninst-api@xxxxxxxxxxx
>> https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api
>
> --
> --bw
>
> Bill Williams
> Paradyn Project
> bill@xxxxxxxxxxx
> _______________________________________________
> Dyninst-api mailing list
> Dyninst-api@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api


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