Hello community, here is the log from the commit of package elfutils for openSUSE:Factory checked in at 2018-03-19 23:30:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/elfutils (Old) and /work/SRC/openSUSE:Factory/.elfutils.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "elfutils" Mon Mar 19 23:30:02 2018 rev:63 rq:585779 version:0.170 Changes: -------- --- /work/SRC/openSUSE:Factory/elfutils/elfutils.changes 2018-02-28 19:56:10.730190783 +0100 +++ /work/SRC/openSUSE:Factory/.elfutils.new/elfutils.changes 2018-03-19 23:30:08.371185779 +0100 @@ -1,0 +2,22 @@ +Fri Mar 9 09:21:05 UTC 2018 - rguent...@suse.com + +- Update to version 0.170 + libdw: Added new DWARF5 attribute, tag, character encoding, language code, + calling convention, defaulted member function and macro constants + to dwarf.h. + New functions dwarf_default_lower_bound and dwarf_line_file. + dwarf_peel_type now handles DWARF5 immutable, packed and shared tags. + dwarf_getmacros now handles DWARF5 .debug_macro sections. + strip: Add -R, --remove-section=SECTION and --keep-section=SECTION. + backends: The bpf disassembler is now always build on all platforms. +- Includes changes in 0.169 + backends: Add support for EM_PPC64 GNU_ATTRIBUTES. + Frame pointer unwinding fallback support for i386, x86_64, aarch64. + translations: Update Polish translation. +- Remove obsolete 0001-backends-Add-support-for-EM_PPC64-GNU_ATTRIBUTES.patch + and ppc-machine-flags.patch +- Add elfutils-0.170-stripnothing.patch to robustify test and avoid a FAIL. +- Add elfutils-0.170-Wpackednotaligned.patch to fix build with GCC 8. + (boo#1084637) + +------------------------------------------------------------------- Old: ---- 0001-backends-Add-support-for-EM_PPC64-GNU_ATTRIBUTES.patch elfutils-0.168.tar.bz2 elfutils-0.168.tar.bz2.sig ppc-machine-flags.patch New: ---- elfutils-0.170-Wpackednotaligned.patch elfutils-0.170-stripnothing.patch elfutils-0.170.tar.bz2 elfutils-0.170.tar.bz2.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ elfutils.spec ++++++ --- /var/tmp/diff_new_pack.zfZt6e/_old 2018-03-19 23:30:10.299116228 +0100 +++ /var/tmp/diff_new_pack.zfZt6e/_new 2018-03-19 23:30:10.303116085 +0100 @@ -17,7 +17,7 @@ Name: elfutils -Version: 0.168 +Version: 0.170 Release: 0 Summary: Higher-level library to access ELF files License: SUSE-GPL-2.0-with-OSI-exception @@ -31,8 +31,10 @@ Source2: baselibs.conf Source3: %{name}.changes Patch1: disable-tests-with-ptrace.patch -Patch2: 0001-backends-Add-support-for-EM_PPC64-GNU_ATTRIBUTES.patch -Patch3: ppc-machine-flags.patch +# Upstream ab6b37ac, fix build with GCC8 +Patch2: elfutils-0.170-Wpackednotaligned.patch +# Upstream 8f01400a, Robustify strip-nothing test +Patch3: elfutils-0.170-stripnothing.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake ++++++ elfutils-0.170-Wpackednotaligned.patch ++++++ commit ab6b37ac32ddf2f2f11f800a770170814f5cbb8b Author: Mark Wielaard <m...@klomp.org> Date: Tue Oct 24 14:23:30 2017 +0200 backends: Ignore GCC8 -Wpacked-not-aligned for m68k_corenote.c. The GCC8 -Wpacked-not-aligned warns if a structure field with explicit padding in a packed structure will be misaligned. m68k prstatus core notes are described by a packed structure which has such aligned structure fields. Signed-off-by: Mark Wielaard <m...@klomp.org> diff --git a/backends/Makefile.am b/backends/Makefile.am index 0fde0cb0..2c62add2 100644 --- a/backends/Makefile.am +++ b/backends/Makefile.am @@ -119,6 +119,13 @@ m68k_SRCS = m68k_init.c m68k_symbol.c m68k_regs.c \ libebl_m68k_pic_a_SOURCES = $(m68k_SRCS) am_libebl_m68k_pic_a_OBJECTS = $(m68k_SRCS:.c=.os) +# m68k prstatus core notes are described by a packed structure +# which has not naturally aligned fields. Since we don't access +# these fields directly, but take their offset to be used later +# to extract the data through elfxx_xlatetom/memmove, this isn't +# an issue. +m68k_corenote_no_Wpacked_not_aligned = yes + bpf_SRCS = bpf_init.c bpf_regs.c cpu_bpf = ../libcpu/libcpu_bpf.a libebl_bpf_pic_a_SOURCES = $(bpf_SRCS) diff --git a/config/eu.am b/config/eu.am index 796f3883..05c27f02 100644 --- a/config/eu.am +++ b/config/eu.am @@ -74,6 +74,7 @@ AM_CFLAGS = -std=gnu99 -Wall -Wshadow -Wformat=2 \ $(if $($(*F)_no_Werror),,-Werror) \ $(if $($(*F)_no_Wunused),,-Wunused -Wextra) \ $(if $($(*F)_no_Wstack_usage),,$(STACK_USAGE_WARNING)) \ + $(if $($(*F)_no_Wpacked_not_aligned),-Wno-packed-not-aligned,) \ $($(*F)_CFLAGS) COMPILE.os = $(filter-out -fprofile-arcs -ftest-coverage, $(COMPILE)) ++++++ elfutils-0.170-stripnothing.patch ++++++ commit 8f0140ace401197beaed1df6a48f259756d8bbd9 Author: Dmitry V. Levin <l...@altlinux.org> Date: Tue Aug 8 19:06:16 2017 +0300 tests: robustify run-strip-nothing.sh against unstripped libc_nonshared.a When glibc's libc_nonshared.a contains objects with debug info, this debug info is leaked into every output file produced by gcc. Change run-strip-nothing.sh to use "gcc -s" instead of plain "gcc" for producing objects without debug info. Signed-off-by: Dmitry V. Levin <l...@altlinux.org> diff --git a/tests/run-strip-nothing.sh b/tests/run-strip-nothing.sh index e80bd906..914fdfbf 100755 --- a/tests/run-strip-nothing.sh +++ b/tests/run-strip-nothing.sh @@ -23,7 +23,7 @@ tempfiles a.out strip.out debug.out # Create no-debug a.out. -echo "int main() { return 1; }" | gcc -xc - +echo "int main() { return 1; }" | gcc -s -xc - # strip to file testrun ${abs_top_builddir}/src/strip -g -o strip.out || ++++++ elfutils-0.168.tar.bz2 -> elfutils-0.170.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/elfutils/elfutils-0.168.tar.bz2 /work/SRC/openSUSE:Factory/.elfutils.new/elfutils-0.170.tar.bz2 differ: char 11, line 1