Quiesce dwarf 5 warnings
This commit is contained in:
parent
e350d4cd07
commit
5c6c00a9e5
11
dwarf-error.patch
Normal file
11
dwarf-error.patch
Normal file
@ -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-12.0.1/symtabAPI/src/dwarfWalker.C
|
||||||
|
+++ dyninst-12.0.1/symtabAPI/src/dwarfWalker.C
|
||||||
|
@@ -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()));
|
||||||
|
|
@ -2,7 +2,7 @@ Summary: An API for Run-time Code Generation
|
|||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Name: dyninst
|
Name: dyninst
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
URL: http://www.dyninst.org
|
URL: http://www.dyninst.org
|
||||||
Version: 12.0.1
|
Version: 12.0.1
|
||||||
ExclusiveArch: %{ix86} x86_64 ppc64le aarch64
|
ExclusiveArch: %{ix86} x86_64 ppc64le aarch64
|
||||||
@ -12,6 +12,7 @@ Source0: https://github.com/dyninst/dyninst/archive/v%{version}/dyninst-%{versio
|
|||||||
Source1: https://github.com/dyninst/testsuite/archive/%{__testsuite_version}/testsuite-%{__testsuite_version}.tar.gz
|
Source1: https://github.com/dyninst/testsuite/archive/%{__testsuite_version}/testsuite-%{__testsuite_version}.tar.gz
|
||||||
|
|
||||||
Patch1: rhbz2034662.patch
|
Patch1: rhbz2034662.patch
|
||||||
|
Patch2: dwarf-error.patch
|
||||||
|
|
||||||
%global dyninst_base dyninst-%{version}
|
%global dyninst_base dyninst-%{version}
|
||||||
%global testsuite_base testsuite-%{__testsuite_version}
|
%global testsuite_base testsuite-%{__testsuite_version}
|
||||||
@ -81,6 +82,7 @@ making sure that dyninst works properly.
|
|||||||
|
|
||||||
pushd %{dyninst_base}
|
pushd %{dyninst_base}
|
||||||
%patch1 -p1 -b .2034662
|
%patch1 -p1 -b .2034662
|
||||||
|
%patch2 -p1 -b .dwerr
|
||||||
popd
|
popd
|
||||||
|
|
||||||
pushd %{testsuite_base}
|
pushd %{testsuite_base}
|
||||||
@ -192,6 +194,9 @@ find %{buildroot}%{_libdir}/dyninst/testsuite/ \
|
|||||||
%attr(644,root,root) %{_libdir}/dyninst/testsuite/*.a
|
%attr(644,root,root) %{_libdir}/dyninst/testsuite/*.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 07 2022 Stan Cox <scox@redhat.com> - 12.0.1-3
|
||||||
|
- Quiesce dwarf 5 warnings
|
||||||
|
|
||||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 12.0.1-2
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 12.0.1-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
@ -3,8 +3,8 @@ Remove interposed definition of _r_debug
|
|||||||
Previously there was a dynamic relocation against _r_debug in the loader which picked up the interposed definition,
|
Previously there was a dynamic relocation against _r_debug in the loader which picked up the interposed definition,
|
||||||
but glibc now uses a direct internal hidden symbol reference and thus no longer updates the interposed object.
|
but glibc now uses a direct internal hidden symbol reference and thus no longer updates the interposed object.
|
||||||
|
|
||||||
--- dyninst-12.0.0/dyninstAPI_RT/src/RTlinux.c
|
--- dyninst-12.0.1/dyninstAPI_RT/src/RTlinux.c
|
||||||
+++ dyninst-12.0.0/dyninstAPI_RT/src/RTlinux.c
|
+++ dyninst-12.0.1/dyninstAPI_RT/src/RTlinux.c
|
||||||
@@ -404,7 +404,6 @@ void dyninstTrapHandler(int sig, siginfo_t *sg, ucontext_t *context)
|
@@ -404,7 +404,6 @@ void dyninstTrapHandler(int sig, siginfo_t *sg, ucontext_t *context)
|
||||||
#if defined(cap_binary_rewriter)
|
#if defined(cap_binary_rewriter)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user