diff --git a/.devtoolset-11-dyninst.metadata b/.devtoolset-11-dyninst.metadata new file mode 100644 index 0000000..5e14aaf --- /dev/null +++ b/.devtoolset-11-dyninst.metadata @@ -0,0 +1,4 @@ +9e870040323cec2c367b1598351a66a6574eb7c2 SOURCES/2018_U6.tar.gz +b6b284acde2ad7ed49b44e856955d7b1ea4e9459 SOURCES/boost_1_66_0.tar.bz2 +f1e6143469813ef6ef96fddeee10fff8caa01c7d SOURCES/dyninst-11.0.0.tar.gz +a8289d9f3106f6f069ae62ba0f601b4a58bf3c7e SOURCES/testsuite-11.0.0.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a0822f8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +SOURCES/2018_U6.tar.gz +SOURCES/boost_1_66_0.tar.bz2 +SOURCES/dyninst-11.0.0.tar.gz +SOURCES/testsuite-11.0.0.tar.gz diff --git a/SOURCES/dyninst-11.0.0-amdgpu.patch b/SOURCES/dyninst-11.0.0-amdgpu.patch new file mode 100644 index 0000000..349d639 --- /dev/null +++ b/SOURCES/dyninst-11.0.0-amdgpu.patch @@ -0,0 +1,16 @@ +--- dyninst-11.0.0/dyninst-11.0.0/elf/src/Elf_X.C.orig 2021-04-08 16:48:12.000000000 -0400 ++++ dyninst-11.0.0/dyninst-11.0.0/elf/src/Elf_X.C 2021-05-20 11:20:23.204539567 -0400 +@@ -1803,2 +1803,5 @@ + #endif ++#if !defined(EM_AMDGPU) ++#define EM_AMDGPU 224 ++#endif + Dyninst::Architecture Elf_X::getArch() const +--- dyninst-11.0.0/dyninst-11.0.0/dwarf/src/dwarfHandle.C.orig 2021-04-08 16:48:12.000000000 -0400 ++++ dyninst-11.0.0/dyninst-11.0.0/dwarf/src/dwarfHandle.C 2021-05-20 11:31:17.752268907 -0400 +@@ -52,2 +52,5 @@ + #endif ++#if !defined(EM_AMDGPU) ++#define EM_AMDGPU 224 ++#endif + diff --git a/SOURCES/dyninst-11.0.0-cmake.patch b/SOURCES/dyninst-11.0.0-cmake.patch new file mode 100644 index 0000000..e33a650 --- /dev/null +++ b/SOURCES/dyninst-11.0.0-cmake.patch @@ -0,0 +1,305 @@ +# rhel6 and rhel7 need more recent tbb and boost libraries. The dyninst external project setup +# will download, build, and install to the final location. We change that to build from source.tar +# included in the src.rpm, install in the rpmbuild/BUILD tree and finally install into rpmbuild/BUILDTREE +# We also remove the dependency on cmake 3 + + +--- dyninst-11.0.0/dyninst-11.0.0/CMakeLists.txt.orig 2021-04-08 16:48:12.000000000 -0400 ++++ dyninst-11.0.0/dyninst-11.0.0/CMakeLists.txt 2021-05-18 14:58:50.199402845 -0400 +@@ -1,2 +1,2 @@ +-cmake_minimum_required (VERSION 3.4.0) ++cmake_minimum_required (VERSION 2.8) + project (Dyninst) +@@ -236,1 +236,24 @@ + install(FILES ${PROJECT_BINARY_DIR}/CMakeCache.txt DESTINATION ${INSTALL_CMAKE_DIR}) ++ ++# RHEL 6/7 need more recent TBB and BOOST libraries, cmake will build them as an external project. ++# Copy resulting libraries from temp install dir to dyninst install dir ++# Note: FILE GLOB does not work as make has not yet run so we need to explicitly set the list ++ ++set(TBB_AND_BOOST_LIBS tbb/install/lib/libtbbmalloc_proxy.so.2 tbb/install/lib/libtbbmalloc.so.2 tbb/install/lib/libtbb.so.2 boost/install/lib/libboost_atomic.so.1.66.0 boost/install/lib/libboost_chrono.so.1.66.0 boost/install/lib/libboost_date_time.so.1.66.0 boost/install/lib/libboost_filesystem.so.1.66.0 boost/install/lib/libboost_system.so.1.66.0 boost/install/lib/libboost_thread.so.1.66.0 boost/install/lib/libboost_timer.so.1.66.0) ++ ++get_filename_component(install_lib_dir_dir ${INSTALL_LIB_DIR} DIRECTORY) ++get_filename_component(dyninst_dir ${INSTALL_LIB_DIR} NAME) ++get_filename_component(lib_dir ${install_lib_dir_dir} NAME) ++get_filename_component(install_include_dir_dir ${INSTALL_INCLUDE_DIR} DIRECTORY) ++get_filename_component(include_dir ${install_include_dir_dir} NAME) ++foreach(F ${TBB_AND_BOOST_LIBS}) ++ # DESTDIR is prefixed to the install dir ++ message("install ${Dyninst_BINARY_DIR}/${F} into ${CMAKE_INSTALL_PREFIX}/${lib_dir}/${dyninst_dir}") ++ install(PROGRAMS "${Dyninst_BINARY_DIR}/${F}" DESTINATION "${CMAKE_INSTALL_PREFIX}/${lib_dir}/${dyninst_dir}") ++endforeach() ++message("install tbb/install/include into ${CMAKE_INSTALL_PREFIX}/${include_dir}/tbb}") ++install(DIRECTORY DESTINATION "${CMAKE_INSTALL_PREFIX}/${include_dir}/tbb/") ++install(DIRECTORY "tbb/install/include/" DESTINATION "${CMAKE_INSTALL_PREFIX}/${include_dir}") ++# message("install boost/install/include into ${CMAKE_INSTALL_PREFIX}/${include_dir}/boost}") ++# install(DIRECTORY DESTINATION "${CMAKE_INSTALL_PREFIX}/${include_dir}/boost/") ++# install(DIRECTORY "boost/install/include/" DESTINATION "${CMAKE_INSTALL_PREFIX}/${include_dir}/") +--- dyninst-11.0.0/dyninst-11.0.0/cmake/ThreadingBuildingBlocks.cmake.orig 2019-07-15 22:26:08.788921240 -0400 ++++ dyninst-11.0.0/dyninst-11.0.0/cmake/ThreadingBuildingBlocks.cmake 2019-07-16 20:37:56.804643938 -0400 +@@ -107,7 +107,8 @@ + endif() + + # Forcibly update the cache variables +- set(TBB_ROOT_DIR ${CMAKE_INSTALL_PREFIX} CACHE PATH "TBB root directory" FORCE) ++# set(TBB_ROOT_DIR ${CMAKE_INSTALL_PREFIX} CACHE PATH "TBB root directory" FORCE) ++ set(TBB_ROOT_DIR "${CMAKE_BINARY_DIR}/tbb/install" CACHE PATH "TBB root directory" FORCE) + set(TBB_INCLUDE_DIRS ${TBB_ROOT_DIR}/include CACHE PATH "TBB include directory" FORCE) + set(TBB_LIBRARY_DIRS ${TBB_ROOT_DIR}/lib CACHE PATH "TBB library directory" FORCE) + set(TBB_DEFINITIONS "" CACHE STRING "TBB compiler definitions" FORCE) +@@ -152,7 +153,7 @@ + ExternalProject_Add( + TBB + PREFIX ${_tbb_prefix_dir} +- URL https://github.com/01org/tbb/archive/${_tbb_ver_major}_U${_tbb_ver_minor}.tar.gz ++ URL /tmp/2018_U6.tar.gz + BUILD_IN_SOURCE 1 + CONFIGURE_COMMAND "" + BUILD_COMMAND + + +--- dyninst-11.0.0/dyninst-11.0.0/cmake/Boost.cmake.orig 2021-04-08 16:48:12.000000000 -0400 ++++ dyninst-11.0.0/dyninst-11.0.0/cmake/Boost.cmake 2021-05-18 14:58:50.200402845 -0400 +@@ -53,3 +53,3 @@ + # Need at least Boost-1.67 because of deprecated headers +-set(_boost_min_version 1.67.0) ++set(_boost_min_version 1.66.0) + +@@ -182,3 +182,4 @@ + # Change the base directory +- set(Boost_ROOT_DIR ${CMAKE_INSTALL_PREFIX} CACHE PATH "Base directory the of Boost installation" FORCE) ++# set(Boost_ROOT_DIR ${CMAKE_INSTALL_PREFIX} CACHE PATH "Base directory the of Boost installation" FORCE) ++ set(Boost_ROOT_DIR "${CMAKE_BINARY_DIR}/boost/install" CACHE PATH "TBB root directory" FORCE) + +@@ -216,3 +217,3 @@ + # list(JOIN ...) is in cmake 3.12 +- string(CONCAT _boost_lib_names "${_boost_lib_names}${c},") ++ set(_boost_lib_names "${_boost_lib_names}${c},") + endforeach() +@@ -224,3 +225,3 @@ + PREFIX ${CMAKE_BINARY_DIR}/boost +- URL http://downloads.sourceforge.net/project/boost/boost/${_boost_download_version}/boost_${_boost_download_filename}.zip ++ URL /tmp/boost_${_boost_download_filename}.tar.bz2 + BUILD_IN_SOURCE 1 +--- dyninst-11.0.0/dyninst-11.0.0/cmake/Modules/FindBoost.cmake.orig 2019-07-04 13:11:35.161644923 -0400 ++++ dyninst-11.0.0/dyninst-11.0.0/cmake/Modules/FindBoost.cmake 2019-07-04 13:13:25.646643157 -0400 +@@ -242,3 +242,3 @@ + cmake_policy(PUSH) +-cmake_policy(SET CMP0057 NEW) # if IN_LIST ++# cmake_policy(SET CMP0057 NEW) # if IN_LIST + +@@ -338,3 +338,3 @@ + if("x${basename}" STREQUAL "xTHREAD" AND NOT TARGET Threads::Threads) +- string(APPEND Boost_ERROR_REASON_THREAD " (missing dependency: Threads)") ++ set(Boost_ERROR_REASON_THREAD "${Boost_ERROR_REASON_THREAD} (missing dependency: Threads)") + set(Boost_THREAD_FOUND OFF) +@@ -1021,4 +1021,8 @@ + foreach(componentdep ${_Boost_${uppercomponent}_DEPENDENCIES}) +- if (NOT ("${componentdep}" IN_LIST _boost_processed_components OR "${componentdep}" IN_LIST _boost_new_components)) +- list(APPEND _boost_new_components ${componentdep}) ++ list (FIND _boost_processed_components ${componentdep} _index) ++ if (${_index} EQUAL -1) ++ list (FIND _boost_new_components ${componentdep} _index) ++ if (${_index} EQUAL -1) ++ list(APPEND _boost_new_components ${componentdep}) ++ endif() + endif() +@@ -1199,9 +1203,9 @@ + # enable dynamic linking. +-if(NOT TARGET Boost::diagnostic_definitions) +- add_library(Boost::diagnostic_definitions INTERFACE IMPORTED) +- add_library(Boost::disable_autolinking INTERFACE IMPORTED) +- add_library(Boost::dynamic_linking INTERFACE IMPORTED) +- set_target_properties(Boost::dynamic_linking PROPERTIES +- INTERFACE_COMPILE_DEFINITIONS "BOOST_ALL_DYN_LINK") +-endif() ++# if(NOT TARGET Boost::diagnostic_definitions) ++# add_library(Boost::diagnostic_definitions INTERFACE IMPORTED) ++# add_library(Boost::disable_autolinking INTERFACE IMPORTED) ++# add_library(Boost::dynamic_linking INTERFACE IMPORTED) ++# set_target_properties(Boost::dynamic_linking PROPERTIES ++# INTERFACE_COMPILE_DEFINITIONS "BOOST_ALL_DYN_LINK") ++# endif() + if(WIN32) +@@ -1387,4 +1391,5 @@ + +- string(APPEND Boost_ERROR_REASON +- "Boost version: ${Boost_MAJOR_VERSION}.${Boost_MINOR_VERSION}.${Boost_SUBMINOR_VERSION}\nBoost include path: ${Boost_INCLUDE_DIR}") ++ set(Boost_ERROR_REASON ++ "${Boost_ERROR_REASON} ++ Boost version: ${Boost_MAJOR_VERSION}.${Boost_MINOR_VERSION}.${Boost_SUBMINOR_VERSION}\nBoost include path: ${Boost_INCLUDE_DIR}") + if(Boost_DEBUG) +@@ -1410,4 +1415,5 @@ + # State that we found a version of Boost that is too new or too old. +- string(APPEND Boost_ERROR_REASON +- "\nDetected version of Boost is too ${_Boost_VERSION_AGE}. Requested version was ${Boost_FIND_VERSION_MAJOR}.${Boost_FIND_VERSION_MINOR}") ++ set(Boost_ERROR_REASON ++ "${Boost_ERROR_REASON} ++ \nDetected version of Boost is too ${_Boost_VERSION_AGE}. Requested version was ${Boost_FIND_VERSION_MAJOR}.${Boost_FIND_VERSION_MINOR}") + if (Boost_FIND_VERSION_PATCH) +@@ -1417,5 +1423,5 @@ + if (NOT Boost_FIND_VERSION_EXACT) +- string(APPEND Boost_ERROR_REASON " (or newer)") ++ set(Boost_ERROR_REASON "${Boost_ERROR_REASON} (or newer)") + endif () +- string(APPEND Boost_ERROR_REASON ".") ++ set(Boost_ERROR_REASON "${Boost_ERROR_REASON}.") + endif () +@@ -1427,4 +1433,5 @@ + set(Boost_FOUND 0) +- string(APPEND Boost_ERROR_REASON +- "Unable to find the Boost header files. Please set BOOST_ROOT to the root directory containing Boost or BOOST_INCLUDEDIR to the directory containing Boost's headers.") ++ set(Boost_ERROR_REASON ++ "${Boost_ERROR_REASON} ++ Unable to find the Boost header files. Please set BOOST_ROOT to the root directory containing Boost or BOOST_INCLUDEDIR to the directory containing Boost's headers.") + endif() +@@ -1518,3 +1525,3 @@ + OR "x${CMAKE_CXX_COMPILER_ID}" STREQUAL "xIntel") +- string(APPEND _boost_DEBUG_ABI_TAG "g") ++ set(_boost_DEBUG_ABI_TAG "${_boost_DEBUG_ABI_TAG}g") + endif() +@@ -1523,6 +1530,6 @@ + if(Boost_USE_DEBUG_PYTHON) +- string(APPEND _boost_DEBUG_ABI_TAG "y") ++ set(_boost_DEBUG_ABI_TAG "${_boost_DEBUG_ABI_TAG}y") + endif() + # d using a debug version of your code +-string(APPEND _boost_DEBUG_ABI_TAG "d") ++set(_boost_DEBUG_ABI_TAG "${_boost_DEBUG_ABI_TAG}d") + # p using the STLport standard library rather than the +@@ -1530,4 +1537,4 @@ + if(Boost_USE_STLPORT) +- string(APPEND _boost_RELEASE_ABI_TAG "p") +- string(APPEND _boost_DEBUG_ABI_TAG "p") ++ set(_boost_RELEASE_ABI_TAG "${_boost_RELEASE_ABI_TAG}p") ++ set(_boost_DEBUG_ABI_TAG "${_boost_DEBUG_ABI_TAG}p") + endif() +@@ -1537,4 +1544,4 @@ + if(Boost_USE_STLPORT_DEPRECATED_NATIVE_IOSTREAMS) +- string(APPEND _boost_RELEASE_ABI_TAG "n") +- string(APPEND _boost_DEBUG_ABI_TAG "n") ++ set(_boost_RELEASE_ABI_TAG "${_boost_RELEASE_ABI_TAG}n") ++ set(_boost_DEBUG_ABI_TAG "${_boost_DEBUG_ABI_TAG}n") + endif() +@@ -1554,3 +1561,3 @@ + if(NOT "x${CMAKE_CXX_COMPILER_ARCHITECTURE_ID}" STREQUAL "x" AND NOT Boost_VERSION VERSION_LESS 106600) +- string(APPEND _boost_ARCHITECTURE_TAG "-") ++ set(_boost_ARCHITECTURE_TAG "${_boost_ARCHITECTURE_TAG}-") + # This needs to be kept in-sync with the section of CMakePlatformId.h.in +@@ -1558,10 +1565,10 @@ + if(CMAKE_CXX_COMPILER_ARCHITECTURE_ID STREQUAL "IA64") +- string(APPEND _boost_ARCHITECTURE_TAG "i") ++ set(_boost_ARCHITECTURE_TAG "${_boost_ARCHITECTURE_TAG}i") + elseif(CMAKE_CXX_COMPILER_ARCHITECTURE_ID STREQUAL "X86" + OR CMAKE_CXX_COMPILER_ARCHITECTURE_ID STREQUAL "x64") +- string(APPEND _boost_ARCHITECTURE_TAG "x") ++ set(_boost_ARCHITECTURE_TAG "${_boost_ARCHITECTURE_TAG}x") + elseif(CMAKE_CXX_COMPILER_ARCHITECTURE_ID MATCHES "^ARM") +- string(APPEND _boost_ARCHITECTURE_TAG "a") ++ set(_boost_ARCHITECTURE_TAG "${_boost_ARCHITECTURE_TAG}a") + elseif(CMAKE_CXX_COMPILER_ARCHITECTURE_ID STREQUAL "MIPS") +- string(APPEND _boost_ARCHITECTURE_TAG "m") ++ set(_boost_ARCHITECTURE_TAG "${_boost_ARCHITECTURE_TAG}m") + endif() +@@ -1569,5 +1576,5 @@ + if(CMAKE_SIZEOF_VOID_P EQUAL 8) +- string(APPEND _boost_ARCHITECTURE_TAG "64") ++ set(_boost_ARCHITECTURE_TAG "${_boost_ARCHITECTURE_TAG}64") + else() +- string(APPEND _boost_ARCHITECTURE_TAG "32") ++ set(_boost_ARCHITECTURE_TAG "${_boost_ARCHITECTURE_TAG}32") + endif() +@@ -1696,3 +1703,4 @@ + # If thread is required, get the thread libs as a dependency +-if("thread" IN_LIST Boost_FIND_COMPONENTS) ++list (FIND Boost_FIND_COMPONENTS "thread" _index) ++if (${_index} GREATER -1) + if(Boost_FIND_QUIETLY) +@@ -1974,4 +1982,5 @@ + # error message that lists the libraries we were unable to find. +- string(APPEND Boost_ERROR_REASON +- "\nCould not find the following") ++ set(Boost_ERROR_REASON ++ "${Boost_ERROR_REASON} ++ \nCould not find the following") + if(Boost_USE_STATIC_LIBS) +@@ -1979,8 +1988,10 @@ + endif() +- string(APPEND Boost_ERROR_REASON +- " Boost libraries:\n") ++ set(Boost_ERROR_REASON ++ "${Boost_ERROR_REASON} ++ Boost libraries:\n") + foreach(COMPONENT ${_Boost_MISSING_COMPONENTS}) + string(TOUPPER ${COMPONENT} UPPERCOMPONENT) +- string(APPEND Boost_ERROR_REASON +- " ${Boost_NAMESPACE}_${COMPONENT}${Boost_ERROR_REASON_${UPPERCOMPONENT}}\n") ++ set(Boost_ERROR_REASON ++ "${Boost_ERROR_REASON} ++ ${Boost_NAMESPACE}_${COMPONENT}${Boost_ERROR_REASON_${UPPERCOMPONENT}}\n") + endforeach() +@@ -1990,7 +2001,9 @@ + if (${Boost_NUM_COMPONENTS_WANTED} EQUAL ${Boost_NUM_MISSING_COMPONENTS}) +- string(APPEND Boost_ERROR_REASON +- "No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT to the location of Boost.") ++ set(Boost_ERROR_REASON ++ "${Boost_ERROR_REASON} ++ No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT to the location of Boost.") + else () +- string(APPEND Boost_ERROR_REASON +- "Some (but not all) of the required Boost libraries were found. You may need to install these additional Boost libraries. Alternatively, set BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT to the location of Boost.") ++ set(Boost_ERROR_REASON ++ "${Boost_ERROR_REASON} ++ Some (but not all) of the required Boost libraries were found. You may need to install these additional Boost libraries. Alternatively, set BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT to the location of Boost.") + endif () +@@ -2017,5 +2030,5 @@ + if(EXISTS "${_boost_LIB_DIR}/lib") +- string(APPEND _boost_LIB_DIR /lib) ++ set(_boost_LIB_DIR "_boost_LIB_DIR/lib") + elseif(EXISTS "${_boost_LIB_DIR}/stage/lib") +- string(APPEND _boost_LIB_DIR "/stage/lib") ++ set(_boost_LIB_DIR "${_boost_LIB_DIR}/stage/lib") + else() +--- dyninst-11.0.0/dyninst-11.0.0/cmake/Modules/DyninstSystemPaths.cmake.orig 2019-07-15 22:26:08.783921240 -0400 ++++ dyninst-11.0.0/dyninst-11.0.0/cmake/Modules/DyninstSystemPaths.cmake 2019-07-18 13:53:48.726269387 -0400 +@@ -1,2 +1,3 @@ + set(DYNINST_SYSTEM_INCLUDE_PATHS ++ ${INCLUDE_INSTALL_DIR} + /usr/include +@@ -11,2 +12,3 @@ + set(DYNINST_SYSTEM_LIBRARY_PATHS ++ ${LIB_INSTALL_DIR} + /usr/lib +@@ -22,1 +24,4 @@ + ENV PATH) ++foreach(F ${DYNINST_SYSTEM_LIBRARY_PATHS}) ++ message("DYNINST_SYSTEM_LIBRARY_PATHS " ${F}) ++endforeach() +--- dyninst-11.0.0/dyninst-11.0.0/cmake/Modules/FindLibElf.cmake.orig 2019-05-16 14:40:05.000000000 -0400 ++++ dyninst-11.0.0/dyninst-11.0.0/cmake/Modules/FindLibElf.cmake 2019-07-17 16:45:41.082644142 -0400 +@@ -45,5 +45,4 @@ + find_library(LibElf_LIBRARIES +- NAMES libelf.so.1 libelf.so +- HINTS ${LibElf_ROOT_DIR}/lib ${LibElf_ROOT_DIR} ${LibElf_LIBRARYDIR} +- PATHS ${DYNINST_SYSTEM_LIBRARY_PATHS} ++ NAMES libelf.so.dts.1 libelf.so.1 libelf.so ++ HINTS ${DYNINST_SYSTEM_LIBRARY_PATHS} ${LibElf_ROOT_DIR}/lib ${LibElf_ROOT_DIR} ${LibElf_LIBRARYDIR} + PATH_SUFFIXES ${_path_suffixes}) +--- dyninst-11.0.0/dyninst-11.0.0/cmake/Modules/FindLibDwarf.cmake.orig 2019-05-16 14:40:05.000000000 -0400 ++++ dyninst-11.0.0/dyninst-11.0.0/cmake/Modules/FindLibDwarf.cmake 2019-07-17 21:53:14.098297367 -0400 +@@ -42,5 +42,4 @@ + find_library(LibDwarf_LIBRARIES +- NAMES libdw.so.1 libdw.so +- HINTS ${LibDwarf_ROOT_DIR}/lib ${LibDwarf_ROOT_DIR} ${LibDwarf_LIBRARYDIR} +- PATHS ${DYNINST_SYSTEM_LIBRARY_PATHS} ++ NAMES libdw.so.dts.1 libdw.so.1 libdw.so ++ HINTS ${DYNINST_SYSTEM_LIBRARY_PATHS} ${LibDwarf_ROOT_DIR}/lib ${LibDwarf_ROOT_DIR} ${LibDwarf_LIBRARYDIR} + PATH_SUFFIXES ${_path_suffixes}) +--- dyninst-11.0.0/testsuite-11.0.0/CMakeLists.txt.orig 2019-07-17 14:29:17.614616431 -0400 ++++ dyninst-11.0.0/testsuite-11.0.0/CMakeLists.txt 2019-07-17 14:29:34.865616156 -0400 +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.4.0) ++cmake_minimum_required(VERSION 2.8) + project(Dyninst-TestSuite) + + # User must provide location of Dyninst cmake files either as a cache or diff --git a/SOURCES/dyninst-11.0.0-dwarf.patch b/SOURCES/dyninst-11.0.0-dwarf.patch new file mode 100644 index 0000000..6172a9c --- /dev/null +++ b/SOURCES/dyninst-11.0.0-dwarf.patch @@ -0,0 +1,11 @@ +Remove extraneous error messages of the form: + err message: .debug_loclists section missing + err message: invalid DWARF +which are repeated in some circumstances without adding useful context + +--- dyninst-11.0.0/dyninst-11.0.0/symtabAPI/src/dwarfWalker.C.orig 2021-04-08 16:48:12.000000000 -0400 ++++ dyninst-11.0.0/dyninst-11.0.0/symtabAPI/src/dwarfWalker.C 2021-04-27 12:48:55.643978425 -0400 +@@ -1858,1 +1858,1 @@ +- cerr << "err message: " << dwarf_errmsg(dwarf_errno()) << endl; ++ dwarf_printf("(0x%lx) Error while decoding location: %s\n", id(), dwarf_errmsg(dwarf_errno())); + diff --git a/SOURCES/dyninst-11.0.0-elfstatic.patch b/SOURCES/dyninst-11.0.0-elfstatic.patch new file mode 100644 index 0000000..2c6b4d6 --- /dev/null +++ b/SOURCES/dyninst-11.0.0-elfstatic.patch @@ -0,0 +1,15 @@ +--- dyninst-11.0.0/dyninst-11.0.0/symtabAPI/src/emitElfStatic-x86.C.orig 2019-07-15 22:26:08.996921237 -0400 ++++ dyninst-11.0.0/dyninst-11.0.0/symtabAPI/src/emitElfStatic-x86.C 2019-07-15 22:26:08.995921237 -0400 +@@ -275,10 +275,12 @@ + break; + case R_X86_64_PLT32: + case R_X86_64_PC32: ++ /* + case R_X86_64_REX_GOTPCRELX: + fieldSize = sizeof(Elf64_Word); + relocation = symbolOffset + addend - relOffset; + break; ++ */ + case R_X86_64_GOT32: // The address is computed when the GOT is built + fieldSize = sizeof(Elf64_Word); + result = lmap.gotSymbols.find(rel.getDynSym()); diff --git a/SOURCES/dyninst-11.0.0-tbb.patch b/SOURCES/dyninst-11.0.0-tbb.patch new file mode 100644 index 0000000..02adff0 --- /dev/null +++ b/SOURCES/dyninst-11.0.0-tbb.patch @@ -0,0 +1,7 @@ +--- dyninst-11.0.0/dyninst-11.0.0/cmake/ThreadingBuildingBlocks.cmake.orig 2021-04-08 16:48:12.000000000 -0400 ++++ dyninst-11.0.0/dyninst-11.0.0/cmake/ThreadingBuildingBlocks.cmake 2021-05-07 12:40:13.092183538 -0400 +@@ -52,3 +52,3 @@ + else() +- set(_tbb_min_version 2018.6) ++ set(_tbb_min_version 2018.0) + endif() diff --git a/SOURCES/testsuite-11.0.0-386.patch b/SOURCES/testsuite-11.0.0-386.patch new file mode 100644 index 0000000..e33a8b4 --- /dev/null +++ b/SOURCES/testsuite-11.0.0-386.patch @@ -0,0 +1,15 @@ +--- dyninst-11.0.0/testsuite-11.0.0/CMakeLists.txt ++++ dyninst-11.0.0/testsuite-11.0.0/CMakeLists.txt +@@ -111,7 +111,8 @@ + if(UNIX) + enable_language(ASM-ATT) +- if("${DYNINST_PLATFORM}" MATCHES "i386") +- enable_language(ASM_NASM) +- endif() ++# nasm/yasm are deprecated ++# if("${DYNINST_PLATFORM}" MATCHES "i386") ++# enable_language(ASM_NASM) ++# endif() + elseif(WIN32) + enable_language(ASM_MASM) + diff --git a/SOURCES/testsuite-11.0.0-mutateecompiler.patch b/SOURCES/testsuite-11.0.0-mutateecompiler.patch new file mode 100644 index 0000000..df954b6 --- /dev/null +++ b/SOURCES/testsuite-11.0.0-mutateecompiler.patch @@ -0,0 +1,42 @@ +--- dyninst-11.0.0/testsuite-11.0.0/CMakeLists.txt~ 2021-05-19 15:36:07.167215391 -0400 ++++ dyninst-11.0.0/testsuite-11.0.0/CMakeLists.txt 2021-05-19 16:31:44.469592338 -0400 +@@ -322,1 +322,2 @@ +- find_program(M_gnu_cc NAMES ${CMAKE_MUT_C_COMPILER} ${CMAKE_C_COMPILER} gcc) ++ # Force mutator to use devtoolset-11-gcc ++ find_program(M_gnu_cc NAMES gcc PATHS /opt/rh/devtoolset-11/root/usr/bin NO_DEFAULT_PATH) +@@ -324,1 +325,2 @@ +- find_program(M_gnu_cxx NAMES ${CMAKE_MUT_CXX_COMPILER} ${CMAKE_CXX_COMPILER} g++) ++ # Force mutator to use devtoolset-11-gxx ++ find_program(M_gnu_cxx NAMES g++ PATHS /opt/rh/devtoolset-11/root/usr/bin NO_DEFAULT_PATH) + + +--- dyninst-11.0.0/testsuite-11.0.0/checkMutateeCompiler.cmake ++++ dyninst-11.0.0/testsuite-11.0.0/checkMutateeCompiler.cmake +@@ -5,10 +5,11 @@ MACRO (CHECK_MUTATEE_COMPILER _COMPILER _COMP_FLAG _LINK_FLAG _LANG _MSG _RESULT + set(COMPILER_OUTPUT "") + file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/CMakeTmp/CompilerTest) + if(${_LANG} MATCHES CXX) ++ message ("CHECK_MUTATEE_COMPILER " ${CMAKE_BINARY_DIR}/CMakeTmp/CompilerTest " " ${CMAKE_COMMAND} " " -DCMAKE_CXX_COMPILER=${_COMPILER} " " -DCMAKE_CXX_FLAGS="${_COMP_FLAG}" " " -DCMAKE_EXE_LINKER_FLAGS="${_LINK_FLAG}" " " -G"${CMAKE_GENERATOR}" " " ${PROJECT_SOURCE_DIR}/compiler_test/cxx) + execute_process(WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/CMakeTmp/CompilerTest + RESULT_VARIABLE COMPILER_RESULT +- OUTPUT_QUIET +- ERROR_QUIET ++# OUTPUT_QUIET ++# ERROR_QUIET + # OUTPUT_VARIABLE COMPILER_OUTPUT + # ERROR_VARIABLE COMPILER_OUTPUT + COMMAND ${CMAKE_COMMAND} +@@ -31,10 +32,11 @@ MACRO (CHECK_MUTATEE_COMPILER _COMPILER _COMP_FLAG _LINK_FLAG _LANG _MSG _RESULT + -G${CMAKE_GENERATOR} + ${PROJECT_SOURCE_DIR}/compiler_test/fortran) + elseif (${_LANG} MATCHES C) ++ message ("CHECK_MUTATEE_COMPILER " ${CMAKE_BINARY_DIR}/CMakeTmp/CompilerTest " " ${CMAKE_COMMAND} " " -DCMAKE_C_COMPILER=${_COMPILER} " " -DCMAKE_C_FLAGS="${_COMP_FLAG}" " " -DCMAKE_EXE_LINKER_FLAGS="${_LINK_FLAG}" " " -G"${CMAKE_GENERATOR}" " " ${PROJECT_SOURCE_DIR}/compiler_test/c) + execute_process(WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/CMakeTmp/CompilerTest + RESULT_VARIABLE COMPILER_RESULT +- OUTPUT_QUIET +- ERROR_QUIET ++# OUTPUT_QUIET ++# ERROR_QUIET + # OUTPUT_VARIABLE COMPILER_OUTPUT + # ERROR_VARIABLE COMPILER_OUTPUT + COMMAND ${CMAKE_COMMAND} diff --git a/SOURCES/testsuite-11.0.0-test12.patch b/SOURCES/testsuite-11.0.0-test12.patch new file mode 100644 index 0000000..f6c999a --- /dev/null +++ b/SOURCES/testsuite-11.0.0-test12.patch @@ -0,0 +1,14 @@ +--- dyninst-11.0.0/testsuite-11.0.0/CMakeLists.txt ++++ dyninst-11.0.0/testsuite-11.0.0/CMakeLists.txt +@@ -341,5 +341,10 @@ + add_library(Test12 SHARED src/dyninst/libTest12.c) + add_library(dyninstAPI_RT SHARED IMPORTED) +- set_target_properties(dyninstAPI_RT PROPERTIES IMPORTED_LOCATION "${Dyninst_DIR}/../../libdyninstAPI_RT.so") ++ set(_path_suffixes dyninst) ++ find_library(dyninstAPI_RT_LIBRARY ++ NAMES libdyninstAPI_RT.so ++ PATHS ${Dyninst_DIR}/../.. ++ PATH_SUFFIXES ${_path_suffixes}) ++ set_target_properties(dyninstAPI_RT PROPERTIES IMPORTED_LOCATION ${dyninstAPI_RT_LIBRARY}) + target_link_libraries(Test12 dyninstAPI_RT) + install(TARGETS Test12 diff --git a/SPECS/dyninst.spec b/SPECS/dyninst.spec new file mode 100644 index 0000000..cd27b1e --- /dev/null +++ b/SPECS/dyninst.spec @@ -0,0 +1,474 @@ +%{?scl:%scl_package dyninst} + +Summary: An API for Run-time Code Generation +License: LGPLv2+ +Name: %{?scl_prefix}dyninst +Group: Development/Libraries +Release: 1%{?dist} +URL: http://www.dyninst.org +Version: 11.0.0 +Exclusiveos: linux +ExclusiveArch: %{ix86} x86_64 + +Source0: https://github.com/dyninst/dyninst/archive/v%{version}/dyninst-%{version}.tar.gz +Source1: https://github.com/dyninst/testsuite/archive/%{version}/testsuite-%{version}.tar.gz +Source2: https://sourceforge.net/projects/boost/files/boost/1.66.0/boost_1_66_0.tar.bz2 +Source3: https://github.com/01org/tbb/archive/2018_U6.tar.gz + +Patch1: dyninst-11.0.0-cmake.patch +Patch2: dyninst-11.0.0-elfstatic.patch +Patch3: testsuite-11.0.0-test12.patch +Patch4: testsuite-11.0.0-386.patch +Patch5: dyninst-11.0.0-dwarf.patch +Patch6: dyninst-11.0.0-tbb.patch +Patch7: dyninst-11.0.0-amdgpu.patch +%if 0%{?rhel} <= 7 +Patch8: testsuite-11.0.0-mutateecompiler.patch +%endif + +%global dyninst_base dyninst-%{version} +%global testsuite_base testsuite-%{version} + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: boost-devel +BuildRequires: binutils-devel +BuildRequires: cmake +BuildRequires: libtirpc-devel +BuildRequires: tbb tbb-devel + +%{?scl:Requires: %scl_runtime} + +# Extra requires just for the testsuite +# NB, there's no separate libstdc++-static for <=el6 +%if 0%{?rhel} >= 7 +BuildRequires: libstdc++-static +%endif +BuildRequires: gcc-gfortran glibc-static libxml2-devel + +%if 0%{?rhel} <= 7 +# C++11 requires devtoolset gcc. +BuildRequires: %{?scl_prefix}gcc-c++ +BuildRequires: %{?scl_prefix}elfutils +BuildRequires: %{?scl_prefix}elfutils-devel +BuildRequires: %{?scl_prefix}elfutils-libelf-devel +BuildRequires: %{?scl_prefix}elfutils-debuginfod-client-devel +%else +BuildRequires: gcc-c++ +BuildRequires: elfutils-devel +BuildRequires: elfutils-libelf-devel +BuildRequires: elfutils-debuginfod-client-devel +%endif +Requires: %{?scl_prefix}elfutils + +# Testsuite files should not provide/require anything +%{?filter_setup: +%filter_provides_in %{_libdir}/dyninst/testsuite/ +%filter_requires_in %{_libdir}/dyninst/testsuite/ +%filter_setup +} + +%description + +Dyninst is an Application Program Interface (API) to permit the insertion of +code into a running program. The API also permits changing or removing +subroutine calls from the application program. Run-time code changes are +useful to support a variety of applications including debugging, performance +monitoring, and to support composing applications out of existing packages. +The goal of this API is to provide a machine independent interface to permit +the creation of tools and applications that use run-time code patching. + +%package doc +Summary: Documentation for using the Dyninst API +Group: Documentation +%description doc +dyninst-doc contains API documentation for the Dyninst libraries. + +%package devel +Summary: Header files for compiling programs with Dyninst +Group: Development/System +Requires: %{?scl_prefix}dyninst = %{version}-%{release} +Requires: boost-devel +Requires: tbb-devel +%description devel +dyninst-devel includes the C header files that specify the Dyninst user-space +libraries and interfaces. This is required for rebuilding any program +that uses Dyninst. + +%package static +Summary: Static libraries for the compiling programs with Dyninst +Group: Development/System +Requires: %{?scl_prefix}dyninst-devel = %{version}-%{release} +%description static +dyninst-static includes the static versions of the library files for +the dyninst user-space libraries and interfaces. + +%package testsuite +Summary: Programs for testing Dyninst +Group: Development/System +Requires: %{?scl_prefix}dyninst = %{version}-%{release} +Requires: %{?scl_prefix}dyninst-devel = %{version}-%{release} +Requires: %{?scl_prefix}dyninst-static = %{version}-%{release} +Requires: glibc-static +%description testsuite +dyninst-testsuite includes the test harness and target programs for +making sure that dyninst works properly. + +%prep +%setup -q -n %{name}-%{version} -c +%setup -q -T -D -a 1 +# setup source3 boost by copying where cmake can find it to build its own copy +cp %{_topdir}/SOURCES/boost_1_66_0.tar.bz2 /tmp +# setup source4 tbb by copying where cmake can find it to build its own copy +cp %{_topdir}/SOURCES/2018_U6.tar.gz /tmp + +%patch1 -p1 -b.cmake +%patch2 -p1 -b.elfstatic +%patch3 -p1 -b.test12 +%patch4 -p1 -b.386 +%patch5 -p1 -b.dwarf +%patch6 -p1 -b.tbb +%patch7 -p1 -b.amdgpu +%if 0%{?rhel} <= 7 +%patch8 -p1 -b.mutateecompiler +%endif + +# cotire seems to cause non-deterministic gcc errors +# https://bugzilla.redhat.com/show_bug.cgi?id=1420551 +sed -i.cotire -e 's/USE_COTIRE true/USE_COTIRE false/' \ + %{dyninst_base}/cmake/shared.cmake + +%build + +cd %{dyninst_base} + +%if 0%{?rhel} <= 7 +# C++11 requires devtoolset gcc. +%{?scl:PATH=%{_bindir}${PATH:+:${PATH}}} +%endif + +CFLAGS="$CFLAGS $RPM_OPT_FLAGS" +LDFLAGS="$LDFLAGS $RPM_LD_FLAGS" +%if 0%{?scl:1} + CPPFLAGS="-I%{_includedir}" + LDFLAGS="-L%{_libdir} -L%{_libdir}/elfutils" +%endif +%ifarch %{ix86} + CFLAGS="$CFLAGS -fno-lto -march=i686" + LDFLAGS="$LDFLAGS -fno-lto" +%endif +CXXFLAGS="$CFLAGS -std=c++11" +export CPPFLAGS CFLAGS CXXFLAGS LDFLAGS + +%cmake \ + -DENABLE_STATIC_LIBS=1 \ + -DENABLE_DEBUGINFOD=1 \ + -DINSTALL_LIB_DIR:PATH=%{_libdir}/dyninst \ + -DINSTALL_INCLUDE_DIR:PATH=%{_includedir}/dyninst \ + -DINSTALL_CMAKE_DIR:PATH=%{_libdir}/cmake/Dyninst \ + -DBoost_NO_BOOST_CMAKE=ON \ + -DCMAKE_BUILD_TYPE:STRING=None \ + -DCMAKE_SKIP_RPATH:BOOL=YES \ + . +# Dependencies building tbb, boost before dyninst are not correct +LD_RUN_PATH="%{_libdir}" +export LD_RUN_PATH +# %cmake_build not available on rhel7 +# Dependencies do not take into account build of local tbb and local boost +make -j1 + +# Hack to install dyninst nearby, so the testsuite can use it +# Hack to install dyninst nearby, so the testsuite can use it +make DESTDIR=../install install +find ../install -name '*.cmake' -execdir \ + sed -i -e 's!%{_prefix}!../install&!' '{}' '+' +# cmake mistakenly looks for libtbb.so in the dyninst install dir +sed -i '/libtbb.so/ s/".*usr/"\/usr/' $PWD/../install%{_libdir}/cmake/Dyninst/commonTargets.cmake + +cd ../%{testsuite_base} +%cmake \ + -DDyninst_DIR:PATH=$PWD/../install%{_libdir}/cmake/Dyninst \ + -DINSTALL_DIR:PATH=%{_libdir}/dyninst/testsuite \ + -DCMAKE_BUILD_TYPE:STRING=Debug \ + -DBoost_NO_BOOST_CMAKE=ON \ + -DCMAKE_SKIP_RPATH:BOOL=YES \ + . +# %cmake_build not available on rhel7 +%make_build + +%install + +cd %{dyninst_base} +%make_install + +# It doesn't install docs the way we want, so remove them. +# We'll just grab the pdfs later, directly from the build dir. +rm -v %{buildroot}%{_docdir}/*-%{version}.pdf + +cd ../%{testsuite_base} +%make_install + +# Ugly hack to mask testsuite files from debuginfo extraction. Running the +# testsuite requires debuginfo, so extraction is useless. However, debuginfo +# extraction is still nice for the main libraries, so we don't want to disable +# it package-wide. The permissions are restored by attr(755,-,-) in files. +find %{buildroot}%{_libdir}/dyninst/testsuite/ \ + -type f '!' -name '*.a' -execdir chmod 644 '{}' '+' + +%files +%defattr(-,root,root,-) + +%dir %{_libdir}/dyninst +%{_libdir}/dyninst/*.so.* +# dyninst mutators dlopen the runtime library +%{_libdir}/dyninst/libdyninstAPI_RT.so + +%doc %{dyninst_base}/COPYRIGHT +%doc %{dyninst_base}/LICENSE.md + +# %config(noreplace) /etc/ld.so.conf.d/* + +%files doc +%defattr(-,root,root,-) +%doc %{dyninst_base}/dataflowAPI/doc/dataflowAPI.pdf +%doc %{dyninst_base}/dynC_API/doc/dynC_API.pdf +%doc %{dyninst_base}/dyninstAPI/doc/dyninstAPI.pdf +%doc %{dyninst_base}/instructionAPI/doc/instructionAPI.pdf +%doc %{dyninst_base}/parseAPI/doc/parseAPI.pdf +%doc %{dyninst_base}/patchAPI/doc/patchAPI.pdf +%doc %{dyninst_base}/proccontrol/doc/proccontrol.pdf +%doc %{dyninst_base}/stackwalk/doc/stackwalk.pdf +%doc %{dyninst_base}/symtabAPI/doc/symtabAPI.pdf + +%files devel +%defattr(-,root,root,-) +%{_includedir}/dyninst +%{_includedir}/tbb +%exclude %{_libdir}/dyninst/libInst.so +%{_libdir}/dyninst/*.so +%{_libdir}/cmake/Dyninst + +%files static +%defattr(-,root,root,-) +%{_libdir}/dyninst/*.a + +%files testsuite +%defattr(-,root,root,-) +%{_bindir}/parseThat + +%dir %{_libdir}/dyninst/testsuite/ +%attr(755,root,root) %{_libdir}/dyninst/testsuite/*[!a] +%attr(644,root,root) %{_libdir}/dyninst/testsuite/*.a + +%changelog +* Wed May 19 2021 Stan Cox - 11.0.0 +- Update to 11.0.0 + +* Fri Jan 22 2021 Stan Cox - 10.2.1-1 +- Update to 10.2.1 + +* Wed Jul 22 2020 Stan Cox - 10.1.0-5 +- Patch checkMutateeCompiler.cmake to force use of %{?scl_prefix}gcc-c++ + +* Wed Oct 23 2019 Stan Cox - 10.1.0-4 +- Remove ppc, ppc64, ppc64le, aarch64 for rhel-7 +- rhbz1763156 devtoolset-9-dyninst-10.1.0-3.el7.aarch64 broken +- rhbz1763157 devtoolset-9-dyninst-10.1.0-3.el7.ppc64 (big endian) broken + +* Mon Oct 07 2019 Stan Cox - 10.1.0-3 +- Install tbb/include + +* Mon Sep 02 2019 Stan Cox - 10.1.0-2 +- Do not add libtbb*so libboost*so links to dyninst-devel. + +* Thu Jul 25 2019 Stan Cox - 10.1.0-1 +- Update to 10.1.0 + +* Tue Jan 8 2019 Stan Cox - 9.3.2-6 +- rhbz1498558 Needs dyninst-devtoolset installed +- rhbz1470149 Use separate debuginfo for dyninst-testsuite +- rhbz1647471 so name clashes + +* Tue Jul 17 2018 William Cohen - 9.3.2-5 +- Avoid conditional patching of source files. + +* Thu Jul 05 2018 Stan Cox - 9.3.2-4 +- Make specfile rhel agnostic + +* Thu Jan 04 2018 Stan Cox - 9.3.2-3 +- rhbz1503116 possible soname clashes between base rhel- and devtoolset- dyninst +- rhbz1538757 segfault with a glibc built with binutils-2.27: handle R_*_IRELATIVE + +* Thu Jan 04 2018 Stan Cox - 9.3.2-2 +- rhbz1503116 possible soname clashes between base rhel- and devtoolset- dyninst + +* Fri Jun 16 2017 Stan Cox - 9.3.2-1 +- Remove ppc/ppc64 for rhel-6 + +* Fri Jun 09 2017 Stan Cox - 9.3.2-1 +- Rebase to 9.3.2 + +* Thu Sep 15 2016 Josh Stone - 9.2.0-4 +- rhbz1366656: fix ppc64 relocation rewriting +- rhbz1366726: check mmap constrains for locality +- rhbz1367225: fix x86 codegen for 64-bit offsets + +* Tue Aug 09 2016 Josh Stone - 9.2.0-3 +- rhbz1363794: fix proccontrol attach without an exe. + +* Tue Jul 26 2016 Josh Stone - 9.2.0-2 +- Patch a template '>>' in stackanalysis.h for pre-C++11 users. + +* Thu Jul 21 2016 Josh Stone - 9.2.0-1 +- Update to 9.2.0 + +* Fri Mar 11 2016 Frank Ch. Eigler - 9.1.0-3 +- Export libdyninstAPI_RT_init_maxthreads (ref rhbz1315841/1316956) + +* Thu Feb 25 2016 Frank Ch. Eigler - 9.1.0-2 +- buildroot bump respin + +* Wed Jan 13 2016 Josh Stone - 9.1.0-1 +- Update to 9.1.0 + +* Mon Sep 21 2015 Josh Stone - 8.2.1-5 +- Rebuild for x86_64 only. + +* Mon Sep 21 2015 Josh Stone - 8.2.1-4 +- rhbz1261061: Make sure the system's Boost.cmake is not used. + +* Wed Jan 07 2015 Josh Stone - 8.2.1-3 +- Rebuild for x86_64 only. + +* Wed Jan 07 2015 Josh Stone - 8.2.1-2 +- Rebuild for releng updates. + +* Wed Dec 17 2014 Josh Stone - 8.2.1-1 +- Update to point release 8.2.1. + +* Tue Aug 19 2014 Josh Stone - 8.2.0-1 +- final rebase to 8.2.0, using upstream tag "v8.2.0.1" + +* Thu Jul 24 2014 Josh Stone - 8.2.0-0.440.gde280f74f40e +- update to a newer pre-8.2.0 snapshot + +* Wed May 21 2014 Josh Stone - 8.2.0-0.374.g593fb2773a48 +- more libdyninstAPI_RT symbols, and add testsuite requires + +* Wed May 21 2014 Josh Stone - 8.2.0-0.373.geaba204a72a3 +- fix libdyninstAPI_RT.so symbol visibility + +* Tue May 20 2014 Josh Stone - 8.2.0-0.372.gdfd4a8842f4c +- prerelease build of dyninst 8.2.0 + +* Tue Nov 26 2013 Josh Stone 8.0-6dw +- rhbz987096: backported upstream patches for mid-syscall PTRACE_EVENTs + +* Wed Apr 17 2013 Josh Stone 8.0-5dw +- rhbz855981: backported upstream patch to remove missing-dwarf asserts + +* Tue Feb 26 2013 Frank Ch. Eigler 8.0-4dw +- fix %attr() of testsuite files + +* Tue Feb 26 2013 Josh Stone 8.0-3dw +- rhbz915820: Add a dyninst-testsuite package. + +* Thu Jan 31 2013 Frank Ch. Eigler - 8.0-2dw +- convert to scl +- bundle libdwarf temporarily + +* Tue Nov 20 2012 Josh Stone +- Tweak the configure/make commands +- Disable the testsuite via configure. +- Set the private includedir and libdir via configure. +- Set VERBOSE_COMPILATION for make. +- Use DESTDIR for make install. + +* Mon Nov 19 2012 Josh Stone 8.0-1 +- Update to release 8.0. +- Updated "%files doc" to reflect renames. +- Drop the unused BuildRequires libxml2-devel. +- Drop the 7.99.x version-munging patch. + +* Fri Nov 09 2012 Josh Stone 7.99.2-0.29 +- Rebase to git e99d7070bbc39c76d6d528db530046c22681c17e + +* Mon Oct 29 2012 Josh Stone 7.99.2-0.28 +- Bump to 7.99.2 per abi-compliance-checker results + +* Fri Oct 26 2012 Josh Stone 7.99.1-0.27 +- Rebase to git dd8f40b7b4742ad97098613876efeef46d3d9e65 +- Use _smp_mflags to enable building in parallel. + +* Wed Oct 03 2012 Josh Stone 7.99.1-0.26 +- Rebase to git 557599ad7417610f179720ad88366c32a0557127 + +* Thu Sep 20 2012 Josh Stone 7.99.1-0.25 +- Rebase on newer git tree. +- Bump the fake version to 7.99.1 to account for ABI differences. +- Enforce the minimum libdwarf version. +- Drop the upstreamed R_PPC_NUM patch. + +* Wed Aug 15 2012 Karsten Hopp 7.99-0.24 +- check if R_PPC_NUM is defined before using it, similar to R_PPC64_NUM + +* Mon Jul 30 2012 Josh Stone 7.99-0.23 +- Rebase on newer git tree. +- Update license files with upstream additions. +- Split documentation into -doc subpackage. +- Claim ownership of %{_libdir}/dyninst. + +* Fri Jul 27 2012 William Cohen - 7.99-0.22 +- Correct requires for dyninst-devel. + +* Wed Jul 25 2012 Josh Stone - 7.99-0.21 +- Rebase on newer git tree +- Update context in dyninst-git.patch +- Drop dyninst-delete_array.patch +- Drop dyninst-common-makefile.patch + +* Wed Jul 18 2012 Fedora Release Engineering - 7.99-0.20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon Jul 16 2012 William Cohen - 7.99-0.19 +- Patch common/i386-unknown-linux2.4/Makefile to build. + +* Fri Jul 13 2012 William Cohen - 7.99-0.18 +- Rebase on newer git tree the has a number of merges into it. +- Adjust spec file to allow direct use of git patches +- Fix to eliminate unused varables. +- Proper delete for array. + +* Thu Jun 28 2012 William Cohen - 7.99-0.17 +- Rebase on newer git repo. + +* Thu Jun 28 2012 William Cohen - 7.99-0.16 +- Eliminate dynptr.h file use with rebase on newer git repo. + +* Mon Jun 25 2012 William Cohen - 7.99-0.14 +- Rebase on newer git repo. + +* Tue Jun 19 2012 William Cohen - 7.99-0.12 +- Fix static library and header file permissions. +- Use sources from the dyninst git repositories. +- Fix 32-bit library versioning for libdyninstAPI_RT_m32.so. + +* Wed Jun 13 2012 William Cohen - 7.99-0.11 +- Fix library versioning. +- Move .so links to dyninst-devel. +- Remove unneded clean section. + +* Fri May 11 2012 William Cohen - 7.0.1-0.9 +- Clean up Makefile rules. + +* Sat May 5 2012 William Cohen - 7.0.1-0.8 +- Clean up spec file. + +* Wed May 2 2012 William Cohen - 7.0.1-0.7 +- Use "make install" and do staged build. +- Use rpm configure macro. + +* Thu Mar 15 2012 William Cohen - 7.0.1-0.5 +- Nuke the bundled boost files and use the boost-devel rpm instead. + +* Mon Mar 12 2012 William Cohen - 7.0.1-0.4 +- Initial submission of dyninst spec file.