Hello community, here is the log from the commit of package elfutils for openSUSE:Factory checked in at 2016-07-16 22:10:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/elfutils (Old) and /work/SRC/openSUSE:Factory/.elfutils.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "elfutils" Changes: -------- --- /work/SRC/openSUSE:Factory/elfutils/elfutils.changes 2016-04-22 16:15:55.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.elfutils.new/elfutils.changes 2016-07-16 22:10:46.000000000 +0200 @@ -1,0 +2,22 @@ +Mon Jul 11 09:16:14 UTC 2016 - [email protected] + +- disable-tests-with-ptrace.patch: disable tests that use ptrace when + running under qemu-linux-user + +------------------------------------------------------------------- +Mon Jun 27 12:26:22 UTC 2016 - [email protected] + +- Update to version 0.166: + + config: The default program prefix for the installed tools is now + eu-. Use configure --program-prefix="" to not use a program + prefix. + + Various bugfixes. +- Drop elfutils-0.164-dt-ppc-opt.patch and + elfutils-0.164-gcc6.patch (merged upstream) +- Add patch elfutils-0.166-elfcmp-comp-gcc6.patch: fix + self-comparison error with GCC 6. +- Changes from 0.165: + + Add eu-elfcompress + + Add pkg-config files for libelf and libdw. + +------------------------------------------------------------------- Old: ---- elfutils-0.164-dt-ppc-opt.patch elfutils-0.164-gcc6.patch elfutils-0.164.tar.bz2 New: ---- disable-tests-with-ptrace.patch elfutils-0.166-elfcmp-comp-gcc6.patch elfutils-0.166.tar.bz2 elfutils-0.166.tar.bz2.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ elfutils.spec ++++++ --- /var/tmp/diff_new_pack.6b7gwm/_old 2016-07-16 22:10:47.000000000 +0200 +++ /var/tmp/diff_new_pack.6b7gwm/_new 2016-07-16 22:10:47.000000000 +0200 @@ -17,7 +17,7 @@ Name: elfutils -Version: 0.164 +Version: 0.166 Release: 0 Summary: Higher-level library to access ELF License: SUSE-GPL-2.0-with-OSI-exception @@ -26,12 +26,13 @@ #Git-Clone: git://git.fedorahosted.org/git/elfutils Source: https://fedorahosted.org/releases/e/l/%{name}/%{version}/%{name}-%{version}.tar.bz2 +Source4: https://fedorahosted.org/releases/e/l/%{name}/%{version}/%{name}-%{version}.tar.bz2.sig Source1: README-BEFORE-ADDING-PATCHES Source2: baselibs.conf Source3: %{name}.changes Patch1: elfutils-0.137-dwarf-header-check-fix.diff -Patch2: elfutils-0.164-dt-ppc-opt.patch -Patch3: elfutils-0.164-gcc6.patch +Patch2: elfutils-0.166-elfcmp-comp-gcc6.patch +Patch3: disable-tests-with-ptrace.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake @@ -141,7 +142,10 @@ %setup -q %patch1 -p1 %patch2 -p1 +%if 0%{?qemu_user_space_build} +# qemu does not support ptrace %patch3 -p1 +%endif %build # Change DATE/TIME macros to use last change time of elfutils.changes @@ -226,6 +230,7 @@ %dir %{_includedir}/elfutils %{_includedir}/elfutils/elf-knowledge.h %{_includedir}/elfutils/version.h +%{_libdir}/pkgconfig/libelf.pc %files -n libdw1 %defattr(-,root,root) @@ -242,6 +247,7 @@ %{_includedir}/elfutils/libdwelf.h %{_includedir}/elfutils/libdwfl.h %{_includedir}/elfutils/known-dwarf.h +%{_libdir}/pkgconfig/libdw.pc %files lang -f %{name}.lang ++++++ disable-tests-with-ptrace.patch ++++++ qemu-linux-user does not support ptrace, disable tests that depend on it Index: elfutils-0.166/tests/Makefile.am =================================================================== --- elfutils-0.166.orig/tests/Makefile.am +++ elfutils-0.166/tests/Makefile.am @@ -121,7 +121,7 @@ TESTS = run-arextract.sh run-arsymtest.s run-stack-demangled-test.sh run-readelf-zx.sh run-readelf-zp.sh \ run-readelf-dwz-multi.sh run-allfcts-multi.sh run-deleted.sh \ run-linkmap-cut.sh run-aggregate-size.sh vdsosyms run-readelf-A.sh \ - run-getsrc-die.sh run-strptr.sh newdata elfstrtab dwfl-proc-attach \ + run-getsrc-die.sh run-strptr.sh newdata elfstrtab \ elfshphehdr run-lfs-symbols.sh run-dwelfgnucompressed.sh \ run-elfgetchdr.sh \ run-elfgetzdata.sh run-elfputzdata.sh run-zstrptr.sh \ Index: elfutils-0.166/tests/backtrace-subr.sh =================================================================== --- elfutils-0.166.orig/tests/backtrace-subr.sh +++ elfutils-0.166/tests/backtrace-subr.sh @@ -93,6 +93,11 @@ check_native_unsupported() fi ;; esac + + if egrep 'qemu: Unsupported syscall' $err; then + echo >&2 $testname: qemu-linux-user does not support ptrace + exit 77 + fi } check_core() ++++++ elfutils-0.137-dwarf-header-check-fix.diff ++++++ --- /var/tmp/diff_new_pack.6b7gwm/_old 2016-07-16 22:10:47.000000000 +0200 +++ /var/tmp/diff_new_pack.6b7gwm/_new 2016-07-16 22:10:47.000000000 +0200 @@ -14,9 +14,11 @@ libdw/dwarf_getsrclines.c | 2 ++ 1 file changed, 2 insertions(+) ---- a/libdw/dwarf_getsrclines.c -+++ b/libdw/dwarf_getsrclines.c -@@ -293,8 +293,10 @@ +Index: elfutils-0.166/libdw/dwarf_getsrclines.c +=================================================================== +--- elfutils-0.166.orig/libdw/dwarf_getsrclines.c 2016-03-02 17:25:38.000000000 +0100 ++++ elfutils-0.166/libdw/dwarf_getsrclines.c 2016-06-27 14:23:58.787633776 +0200 +@@ -404,8 +404,10 @@ /* Consistency check. */ if (unlikely (linep != header_start + header_length)) { @@ -26,4 +28,4 @@ +#endif } - /* We are about to process the statement program. Initialize the + state.is_stmt = default_is_stmt; ++++++ elfutils-0.166-elfcmp-comp-gcc6.patch ++++++ >From 836a16fe5b5bab4a3afe2c991c104652775ce3a3 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov <[email protected]> Date: Mon, 11 Apr 2016 16:00:57 +0200 Subject: [PATCH] elfcmp: fix self-comparison error with GCC 6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Noticed with Fedora 24 Alpha, gcc (GCC) 6.0.0 20160406 (Red Hat 6.0.0-0.20). elfcmp.c: In function ‘main’: elfcmp.c:364:199: error: self-comparison always evaluates to false [-Werror=tautological-compare] if (unlikely (name1 == NULL || name2 == NULL Signed-off-by: David Abdurachmanov <[email protected]> --- src/ChangeLog | 4 ++++ src/elfcmp.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index f74b5dc..bdc9d13 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2016-04-11 David Abdurachmanov <[email protected]> + + * elfcmp.c (main): Fix self-comparison error with GCC 6. + 2016-03-21 Mark Wielaard <[email protected]> * nm.c (show_symbols): Check for malloc size argument overflow. diff --git a/src/elfcmp.c b/src/elfcmp.c index 852b92f..7b5d39c 100644 --- a/src/elfcmp.c +++ b/src/elfcmp.c @@ -368,7 +368,7 @@ main (int argc, char *argv[]) && sym1->st_shndx != SHN_UNDEF) || sym1->st_info != sym2->st_info || sym1->st_other != sym2->st_other - || sym1->st_shndx != sym1->st_shndx)) + || sym1->st_shndx != sym2->st_shndx)) { // XXX Do we want to allow reordered symbol tables? symtab_mismatch: -- 1.8.3.1 ++++++ elfutils-0.164.tar.bz2 -> elfutils-0.166.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/elfutils/elfutils-0.164.tar.bz2 /work/SRC/openSUSE:Factory/.elfutils.new/elfutils-0.166.tar.bz2 differ: char 11, line 1
