From 9913be083f0581a3cc36f3ccae958cf565ea7559 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 11 2020 08:09:28 +0000 Subject: import gcc-toolset-10-dyninst-10.2.1-2.el8 --- diff --git a/SOURCES/dyninst-10.2.1-dbid.patch b/SOURCES/dyninst-10.2.1-dbid.patch index 91b5407..78f3997 100644 --- a/SOURCES/dyninst-10.2.1-dbid.patch +++ b/SOURCES/dyninst-10.2.1-dbid.patch @@ -92,18 +92,9 @@ https://sourceware.org/elfutils/Debuginfod.html elseif(NOT (LibElf_FOUND AND LibDwarf_FOUND) AND STERILE_BUILD) message(FATAL_ERROR "Elfutils not found and cannot be downloaded because build is sterile.") else() -@@ -104,7 +121,7 @@ else() - if(NOT (${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU") OR NOT (${CMAKE_C_COMPILER_ID} STREQUAL "GNU")) - message(FATAL_ERROR "ElfUtils will only build with the GNU compiler") - endif() -- -+ - include(ExternalProject) - externalproject_add( - ElfUtils ---- /dedyninst-10.2.1/dyninst-10.2.1/null -+++ b/cmake/Modules/FindLibDebuginfod.cmake +--- /dev/null ++++ dyninst-10.2.1/dyninst-10.2.1/cmake/Modules/FindLibDebuginfod.cmake @@ -0,0 +1,76 @@ +#======================================================================================== +# FindDebuginfod diff --git a/SPECS/dyninst.spec b/SPECS/dyninst.spec index daeb6bf..9a63ecc 100644 --- a/SPECS/dyninst.spec +++ b/SPECS/dyninst.spec @@ -7,7 +7,7 @@ Summary: An API for Run-time Code Generation License: LGPLv2+ Name: %{?scl_prefix}dyninst Group: Development/Libraries -Release: 1%{?dist} +Release: 2%{?dist} URL: http://www.dyninst.org Version: 10.2.1 Exclusiveos: linux @@ -32,6 +32,7 @@ BuildRequires: zlib-devel BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: elfutils-devel BuildRequires: elfutils-libelf-devel +BuildRequires: elfutils-debuginfod-client-devel BuildRequires: boost-devel BuildRequires: binutils-devel BuildRequires: cmake @@ -141,6 +142,7 @@ export CFLAGS CXXFLAGS LDFLAGS %cmake \ -DENABLE_STATIC_LIBS=1 \ + -DENABLE_DEBUGINFOD=1 \ -DCMAKE_BUILD_TYPE:STRING=None \ -DINSTALL_LIB_DIR:PATH=%{_libdir}/dyninst \ -DINSTALL_INCLUDE_DIR:PATH=%{_includedir}/dyninst \ @@ -227,6 +229,9 @@ find %{buildroot}%{_libdir}/dyninst/testsuite/ \ %attr(644,root,root) %{_libdir}/dyninst/testsuite/*.a %changelog +* Fri Nov 06 2020 Stan Cox - 10.2.1-2 +- Enable debuginfod + * Wed Oct 28 2020 Stan Cox - 10.2.1-1 - Update to 10.2.1