Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package dwz for openSUSE:Factory checked in 
at 2022-11-09 12:55:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dwz (Old)
 and      /work/SRC/openSUSE:Factory/.dwz.new.1597 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dwz"

Wed Nov  9 12:55:51 2022 rev:21 rq:1034029 version:0.15

Changes:
--------
--- /work/SRC/openSUSE:Factory/dwz/dwz.changes  2022-09-10 20:16:36.736724210 
+0200
+++ /work/SRC/openSUSE:Factory/.dwz.new.1597/dwz.changes        2022-11-09 
12:55:52.595820632 +0100
@@ -1,0 +2,20 @@
+Mon Nov  7 08:09:38 UTC 2022 - Martin Li??ka <mli...@suse.cz>
+
+- Update to 0.15 release:
+  * Uses xxHash hashing algorithm. A 8% ~ 14% speedup.
+  * Set endianity of multifile using -e, --multifile-endian.
+  * Set pointer size of multifile using -p, --multifile-pointer-size
+  * Process files in parallel using -j N --jobs N. The default is
+    processors / 2.  Disabled when multifile is used.
+  * Prints abbrev or DIE offset for Unknown DWARF error messages.
+  * All testcases have been updated to work against the binutils 2.39.
+- Remove upstreamed patches:
+  * dwz-fix-another-reference-from-pu-to-cu-for-odr.patch
+  * dwz-handle-reordered-dup-chains-in-create-import-tree.patch
+  * dwz-testsuite-fix-pr27463.sh-on-riscv64.patch
+  * dwz-use-grep-E-instead-of-egrep.patch
+- Rebased patches:
+  * dwz-remove-odr-struct-multifile.sh.patch
+  * dwz-enable-odr-by-default.patch
+
+-------------------------------------------------------------------

Old:
----
  dwz-0.14.tar.xz
  dwz-fix-another-reference-from-pu-to-cu-for-odr.patch
  dwz-handle-reordered-dup-chains-in-create-import-tree.patch
  dwz-testsuite-fix-pr27463.sh-on-riscv64.patch
  dwz-use-grep-E-instead-of-egrep.patch

New:
----
  dwz-0.15.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ dwz.spec ++++++
--- /var/tmp/diff_new_pack.emncFp/_old  2022-11-09 12:55:53.439825391 +0100
+++ /var/tmp/diff_new_pack.emncFp/_new  2022-11-09 12:55:53.443825413 +0100
@@ -42,7 +42,7 @@
 %endif
 
 Name:           dwz%{name_suffix}
-Version:        0.14
+Version:        0.15
 Release:        0
 %if %{build_main}
 Summary:        DWARF optimization and duplicate removal tool
@@ -60,6 +60,7 @@
 URL:            https://sourceware.org/dwz/
 BuildRequires:  gcc-c++
 BuildRequires:  libelf-devel
+BuildRequires:  xxhash-devel
 BuildRequires:  xz
 %if %{build_testsuite}
 BuildRequires:  dejagnu
@@ -78,12 +79,8 @@
 Source1:        dwz-rpmlintrc
 Source2:        tramp3d-v4.cpp.xz
 
-Patch1:         dwz-fix-another-reference-from-pu-to-cu-for-odr.patch
-Patch2:         dwz-handle-reordered-dup-chains-in-create-import-tree.patch
-Patch3:         dwz-enable-odr-by-default.patch
-Patch4:         dwz-testsuite-fix-pr27463.sh-on-riscv64.patch
-Patch5:         dwz-remove-odr-struct-multifile.sh.patch
-Patch6:         dwz-use-grep-E-instead-of-egrep.patch
+Patch1:         dwz-enable-odr-by-default.patch
+Patch2:         dwz-remove-odr-struct-multifile.sh.patch
 
 %if %{build_main}
 %description
@@ -114,10 +111,6 @@
 %setup -q -n dwz
 %patch1 -p1
 %patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
 cp ../../SOURCES/tramp3d-v4.cpp.xz .
 xz -d tramp3d-v4.cpp.xz
 

++++++ dwz-0.14.tar.xz -> dwz-0.15.tar.xz ++++++
++++ 4240 lines of diff (skipped)

++++++ dwz-enable-odr-by-default.patch ++++++
--- /var/tmp/diff_new_pack.emncFp/_old  2022-11-09 12:55:53.643826541 +0100
+++ /var/tmp/diff_new_pack.emncFp/_new  2022-11-09 12:55:53.643826541 +0100
@@ -1,39 +1,17 @@
-Enable odr by default
-
-This reverts commit d49096d "[odr] Disable --odr by default".
-
----
- dwz.1 | 2 +-
- dwz.c | 4 ++--
- 2 files changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/dwz.1 b/dwz.1
-index 19dc814..63c50d5 100644
---- a/dwz.1
-+++ b/dwz.1
-@@ -119,7 +119,7 @@ considered equal.  This has the effect that DIEs referring 
to distinct DIEs
- representing the same type (like f.i. pointer type DIEs) are considered equal,
- and may be deduplicated.  The status of this optimization is experimental.
- It's disabled in low-mem mode.
--Disabled by default.
-+Enabled by default.
- .TP
- .B \-\-odr-mode=<basic|link>
- Set the One-Definition-Rule optimization aggressiveness: basic or link.
-diff --git a/dwz.c b/dwz.c
-index 5effbc1..a02b8fd 100644
---- a/dwz.c
-+++ b/dwz.c
-@@ -230,7 +230,7 @@ enum die_count_methods
- };
- static enum die_count_methods die_count_method = estimate;
+diff --git a/args.c b/args.c
+index e93c24d..3e1113f 100644
+--- a/args.c
++++ b/args.c
+@@ -66,7 +66,7 @@ int gen_cu_p = 0;
+ 
+ enum die_count_methods die_count_method = estimate;
  
 -int odr = 0;
 +int odr = 1;
- enum odr_mode { ODR_BASIC, ODR_LINK };
  enum odr_mode odr_mode = ODR_LINK;
- int odr_mode_parsed = 0;
-@@ -16343,7 +16343,7 @@ static struct option_help dwz_common_options_help[] =
+ 
+ /* Filename if inter-file size optimization should be performed.  */
+@@ -202,7 +202,7 @@ static struct option_help dwz_common_options_help[] =
      "Don't optimize files larger than this limit." },
    { NULL, "odr", NULL, NULL,
      NULL },
@@ -42,4 +20,17 @@
      "Enable/disable one definition rule optimization." },
    { NULL, "odr-mode", "<basic|link>", "link",
      "Set aggressiveness level of one definition rule optimization." },
+diff --git a/dwz.1 b/dwz.1
+index 1cff329..f3cd3dd 100644
+--- a/dwz.1
++++ b/dwz.1
+@@ -133,7 +133,7 @@ considered equal.  This has the effect that DIEs referring 
to distinct DIEs
+ representing the same type (like f.i. pointer type DIEs) are considered equal,
+ and may be deduplicated.  The status of this optimization is experimental.
+ It's disabled in low-mem mode.
+-Disabled by default.
++Enabled by default.
+ .TP
+ .B \-\-odr-mode=<basic|link>
+ Set the One-Definition-Rule optimization aggressiveness: basic or link.
 

++++++ dwz-remove-odr-struct-multifile.sh.patch ++++++
--- /var/tmp/diff_new_pack.emncFp/_old  2022-11-09 12:55:53.655826609 +0100
+++ /var/tmp/diff_new_pack.emncFp/_new  2022-11-09 12:55:53.659826631 +0100
@@ -1,13 +1,18 @@
 diff --git a/testsuite/dwz.tests/odr-struct-multifile.sh 
b/testsuite/dwz.tests/odr-struct-multifile.sh
-deleted file mode 100644
-index cc462c9..0000000
+deleted file mode 100755
+index 5961abf..0000000
 --- a/testsuite/dwz.tests/odr-struct-multifile.sh
 +++ /dev/null
-@@ -1,53 +0,0 @@
+@@ -1,61 +0,0 @@
 -if ! $execs/dwz-for-test --odr -v 2>/dev/null; then
 -    exit 77
 -fi
 -
+-readelf_flags=""
+-if readelf -h 2>&1 | grep -q "\-wN"; then
+-    readelf_flags=-wN
+-fi
+-
 -cp $execs/odr-struct 1
 -cp 1 2
 -
@@ -45,14 +50,17 @@
 -    [ $cnt -eq 1 ]
 -done
 -
+-# Even with -wN readelf 2.38-15.fc37 follows and prints the contents
+-# of the alt file. So make sure it cannot do that by removing it.
+-rm 3
 -
 -for name in aaa bbb ccc; do
--    cnt=$(readelf -wi 1 | grep -c "DW_AT_name.*:.*$name" || true)
+-    cnt=$(readelf -wi $readelf_flags 1 | grep -c "DW_AT_name.*:.*$name" || 
true)
 -    [ $cnt -eq 0 ]
 -done
 -
 -for name in member_one member_two member_three member_four; do
--    cnt=$(readelf -wi 1 | grep -c "DW_AT_name.*:.*$name" || true)
+-    cnt=$(readelf -wi $readelf_flags 1 | grep -c "DW_AT_name.*:.*$name" || 
true)
 -    [ $cnt -eq 0 ]
 -done
 -

Reply via email to