From 2c7efe21a203cb1cc65013428e04a5607d152cb6 Mon Sep 17 00:00:00 2001 From: Arnaldo Carvalho de Melo Date: Feb 12 2020 19:46:06 +0000 Subject: New upstream release: 1.16 Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/.gitignore b/.gitignore index e69de29..de6320c 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,6 @@ +/0001-cmake-libebl-was-merged-into-libdw.patch +/0001-dwarves-Add-D_LARGEFILE64_SOURCE-D_FILE_OFFSET_BITS-.patch +/libbpf-new.patch +/dwarves-1.16.tar.xz +/dwarves.spec +/dirname-truncation.patch diff --git a/dwarves.spec b/dwarves.spec index a48cc6c..9f43a24 100644 --- a/dwarves.spec +++ b/dwarves.spec @@ -2,13 +2,16 @@ %define libver 1 Name: dwarves -Version: 1.15 -Release: 4%{?dist} +Version: 1.16 +Release: 1%{?dist} License: GPLv2 Summary: Debugging Information Manipulation Tools (pahole & friends) URL: http://acmel.wordpress.com Source: http://fedorapeople.org/~acme/dwarves/%{name}-%{version}.tar.xz -Patch: 0001-fprintf-Fixup-handling-classes-with-no-members.patch +Patch1: 0001-cmake-libebl-was-merged-into-libdw.patch +Patch2: libbpf-new.patch +Patch3: 0001-dwarves-Add-D_LARGEFILE64_SOURCE-D_FILE_OFFSET_BITS-.patch +Patch4: dirname-truncation.patch BuildRequires: gcc BuildRequires: cmake BuildRequires: zlib-devel @@ -35,6 +38,15 @@ code generate on the resulting binaries. Another tool is pfunct, that can be used to find all sorts of information about functions, inlines, decisions made by the compiler about inlining, etc. +One example of pfunct usage is in the fullcircle tool, a shell that drivers +pfunct to generate compileable code out of a .o file and then build it using +gcc, with the same compiler flags, and then use codiff to make sure the +original .o file and the new one generated from debug info produces the same +debug info. + +The btfdiff utility compares the output of pahole from BTF and DWARF to make +sure they produce the same results. + %package -n %{libname}%{libver} Summary: Debugging information processing library @@ -50,7 +62,10 @@ Debugging information processing library development files. %prep %setup -q -c -n %{name}-%{version} -%patch -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 %build %cmake . @@ -119,6 +134,9 @@ make install DESTDIR=%{buildroot} %{_libdir}/%{libname}_reorganize.so %changelog +* Wed Feb 12 2020 Arnaldo Carvalho de Melo - 1.16-1 +- New release: 1.16 + * Tue Jan 28 2020 Fedora Release Engineering - 1.15-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index 7ceefca..3123e2d 100644 --- a/sources +++ b/sources @@ -1 +1,6 @@ -SHA512 (dwarves-1.15.tar.xz) = 29a8a15b7190480e79c2f423c7104d0fd275cd4c3df17518a1dd3c63cce1c528fad4b6f580baa397d9aa9323703009009e2d529939b12dd1af2c65cf7120b237 +SHA512 (0001-cmake-libebl-was-merged-into-libdw.patch) = 5eeed7f818498c86e6fcd94001eaa806a46abf50f3fca5cc5794b253bb35742fda28eac0d2ed1ebb21f1a4ff735c5cc8442b6b8b4f296bd8305de9e4c896f2ce +SHA512 (0001-dwarves-Add-D_LARGEFILE64_SOURCE-D_FILE_OFFSET_BITS-.patch) = 0092c443bf908f13cd434408f82dce8782a71a851b06b3b131a2faf7dcd27f46ea5fe8138e17f1758229e6c2ad2c910ce0bafeac75940e19b6ced99f75841c72 +SHA512 (libbpf-new.patch) = 02ce3b1646e645faffe93408332299f067b1e4e793e18f0c5b95568abfa27c5976737505eded6a61406d191ca96bbe188648c05166c1c46e763847c646dba00c +SHA512 (dwarves-1.16.tar.xz) = 6d57b26db70736353d8797d1f7d68c7c73b6df3ae69eb66dd7cb07d6b50a26c4f2adaa576a8915a4a7f8c41b67dcebbfc8cbdf3ba507dbf941f63941b13d65b1 +SHA512 (dwarves.spec) = 6c57cffe0ed40f78f31141810e8b33a555c6b31389f760f26139cb5d6628bc69b1346b9471fc2fe81313f8751c4fe5956199d7188077c42f98e3c3f205b28b19 +SHA512 (dirname-truncation.patch) = d9d0eb6c5139394ee18a28eea540d49fe4efd7009574d6ea32ddc5601feb1af50809f4b5b95b93031a7754835ce2b13406fdea92949767fe7844dcf238c4a056