Hello community,

here is the log from the commit of package libunwind for openSUSE:Factory 
checked in at 2011-11-08 09:24:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libunwind (Old)
 and      /work/SRC/openSUSE:Factory/.libunwind.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libunwind", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libunwind/libunwind.changes      2011-09-23 
02:11:01.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libunwind.new/libunwind.changes 2011-11-08 
09:26:00.000000000 +0100
@@ -1,0 +2,13 @@
+Mon Oct 17 16:03:13 CEST 2011 - [email protected]
+
+-  update to libunwind 1.0.1:
+  * hundreds of fixes, see 
http://git.savannah.gnu.org/gitweb/?p=libunwind.git;a=shortlog
+    for details
+  * ARM support
+  * Greatly improved x86-64 support thanks to Arun Sharma.
+  * Support for PPC64 added by  Jose Flavio Aguilar Paulino.
+  * Testing, stability and many fixes on x86 (Paul Pluzhnikov)
+  * Improved local and remote unwinding on ARM (Ken Werner)
+  * Fast unwind (rbp, rsp, rip only) on x86_64 with a fallback to slow code 
paths
+
+-------------------------------------------------------------------

Old:
----
  libunwind-0.98.6-pointer-comparison.patch
  libunwind-0.98.6.diff
  libunwind-0.98.6.tar.gz

New:
----
  libunwind-1.0.1-ia64.diff
  libunwind-1.0.1-memset.diff
  libunwind-1.0.1-tests.diff
  libunwind-1.0.1.tar.gz

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

Other differences:
------------------
++++++ libunwind.spec ++++++
--- /var/tmp/diff_new_pack.iHDikY/_old  2011-11-08 09:26:02.000000000 +0100
+++ /var/tmp/diff_new_pack.iHDikY/_new  2011-11-08 09:26:02.000000000 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package libunwind (Version 0.98.6)
+# spec file for package libunwind
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -22,16 +22,16 @@
 BuildRequires:  gcc-c++
 Url:            http://savannah.nongnu.org/projects/libunwind/
 Summary:        Unwind Library
-Version:        0.98.6
+Version:        1.0.1
 Release:        34
 Group:          System/Base
 License:        MIT
 Source:         libunwind-%{version}.tar.gz
-Patch:          libunwind-%{version}.diff
-# PATCH-FIX-OPENSUSE libunwind-0.98.6-pointer-comparison.patch bnc#531705
-Patch1:         libunwind-%{version}-pointer-comparison.patch
+Patch0:         libunwind-1.0.1-ia64.diff
+Patch1:         libunwind-1.0.1-memset.diff
+Patch2:         libunwind-1.0.1-tests.diff
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-ExclusiveArch:  %ix86 ia64 x86_64
+ExclusiveArch:  %ix86 ia64 x86_64 %arm
 
 %description
 A portable and efficient C programming interface (API) to determine the
@@ -62,28 +62,25 @@
 
 %prep
 %setup -q
-%patch
+%patch0 -p1
+%patch1 -p1
+%patch2
+# %patch
 
 %build
-chmod +w aclocal.m4 configure
 autoreconf -fi
 RPM_OPT_FLAGS="$RPM_OPT_FLAGS -U_FORTIFY_SOURCE"
 ./configure "CFLAGS=$RPM_OPT_FLAGS" --prefix=/usr --mandir=%{_mandir} \
            --libdir=%{_libdir} --build=%{_target_cpu}-suse-linux
 make %{?_smp_mflags}
-%ifarch ia64
-make -k check
-%else
 # There are some expected failures
 make -k check || :
-%endif
 
 %install
 make install DESTDIR=$RPM_BUILD_ROOT
 mkdir -p $RPM_BUILD_ROOT/%{_lib}
-mv $RPM_BUILD_ROOT%{_libdir}/libunwind.so.7* $RPM_BUILD_ROOT/%{_lib}
-cd $RPM_BUILD_ROOT%{_libdir}
-ln -sf ../../%{_lib}/libunwind.so.7.* libunwind.so
+mv $RPM_BUILD_ROOT%{_libdir}/libunwind.so.8* $RPM_BUILD_ROOT/%{_lib}
+ln -sf ../../%{_lib}/libunwind.so.8.* $RPM_BUILD_ROOT%{_libdir}/libunwind.so
 
 %post -p /sbin/ldconfig
 

++++++ libunwind-1.0.1-ia64.diff ++++++
>From 962366dace4fed902ad5e89df1b34c13c3224b8b Mon Sep 17 00:00:00 2001
From: Arun Sharma <[email protected]>
Date: Fri, 23 Sep 2011 11:11:34 -0700
Subject: [PATCH] Fixup compile errors on ia64.

Suggested-by: Harald Servat <[email protected]>
---
 src/ptrace/_UPT_get_dyn_info_list_addr.c |    2 +-
 src/ptrace/_UPT_internal.h               |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- a/src/ptrace/_UPT_get_dyn_info_list_addr.c
+++ b/src/ptrace/_UPT_get_dyn_info_list_addr.c
@@ -62,7 +62,7 @@ get_list_addr (unw_addr_space_t as, unw_word_t *dil_addr, 
void *arg,
 
       Debug (16, "checking object %s\n", path);
 
-      di = _UPTi_find_unwind_table (ui, as, path, lo, off);
+      di = _UPTi_find_unwind_table (ui, as, path, lo, off, 0);
       if (di)
        {
          res = _Uia64_find_dyn_list (as, di, arg);
--- a/src/ptrace/_UPT_internal.h
+++ b/src/ptrace/_UPT_internal.h
@@ -64,7 +64,7 @@ struct UPT_info
 
 extern int _UPT_reg_offset[UNW_REG_LAST + 1];
 
-extern int _UPTi_find_unwind_table (struct UPT_info *ui,
+extern unw_dyn_info_t *UPTi_find_unwind_table (struct UPT_info *ui,
                                    unw_addr_space_t as,
                                    char *path,
                                    unw_word_t segbase,
++++++ libunwind-1.0.1-memset.diff ++++++
>From f89fb17695e8137a5f4e23570bf9f53374186c96 Mon Sep 17 00:00:00 2001
From: Arun <[email protected]>
Date: Sun, 2 Oct 2011 22:43:28 -0700
Subject: [PATCH] Fix incorrect calls to memset.

Found when compiling libunwind with clang.

Signed-off-by: Paul Pluzhnikov <[email protected]>
---
 src/arm/Gget_save_loc.c    |    2 +-
 src/hppa/Gget_save_loc.c   |    2 +-
 src/ia64/Gget_save_loc.c   |    2 +-
 src/mips/Gget_save_loc.c   |    2 +-
 src/x86/Gget_save_loc.c    |    2 +-
 src/x86_64/Gget_save_loc.c |    2 +-
 tests/test-proc-info.c     |    2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/arm/Gget_save_loc.c b/src/arm/Gget_save_loc.c
index ba7bf17..151ba0f 100644
--- a/src/arm/Gget_save_loc.c
+++ b/src/arm/Gget_save_loc.c
@@ -57,7 +57,7 @@ unw_get_save_loc (unw_cursor_t *cursor, int reg, 
unw_save_loc_t *sloc)
       break;
     }
 
-  memset (sloc, 0, sizeof (sloc));
+  memset (sloc, 0, sizeof (*sloc));
 
   if (DWARF_IS_NULL_LOC (loc))
     {
diff --git a/src/hppa/Gget_save_loc.c b/src/hppa/Gget_save_loc.c
index 7aa6f31..1b21919 100644
--- a/src/hppa/Gget_save_loc.c
+++ b/src/hppa/Gget_save_loc.c
@@ -35,7 +35,7 @@ unw_get_save_loc (unw_cursor_t *cursor, int reg, 
unw_save_loc_t *sloc)
 
 #warning FIX ME!
 
-  memset (sloc, 0, sizeof (sloc));
+  memset (sloc, 0, sizeof (*sloc));
 
   if (DWARF_IS_NULL_LOC (loc))
     {
diff --git a/src/ia64/Gget_save_loc.c b/src/ia64/Gget_save_loc.c
index 7bc2b19..49bdaba 100644
--- a/src/ia64/Gget_save_loc.c
+++ b/src/ia64/Gget_save_loc.c
@@ -142,7 +142,7 @@ unw_get_save_loc (unw_cursor_t *cursor, int reg, 
unw_save_loc_t *sloc)
       break;
     }
 
-  memset (sloc, 0, sizeof (sloc));
+  memset (sloc, 0, sizeof (*sloc));
 
   if (IA64_IS_NULL_LOC (loc))
     {
diff --git a/src/mips/Gget_save_loc.c b/src/mips/Gget_save_loc.c
index dbccea8..262e23e 100644
--- a/src/mips/Gget_save_loc.c
+++ b/src/mips/Gget_save_loc.c
@@ -75,7 +75,7 @@ unw_get_save_loc (unw_cursor_t *cursor, int reg, 
unw_save_loc_t *sloc)
       break;
     }
 
-  memset (sloc, 0, sizeof (sloc));
+  memset (sloc, 0, sizeof (*sloc));
 
   if (DWARF_IS_NULL_LOC (loc))
     {
diff --git a/src/x86/Gget_save_loc.c b/src/x86/Gget_save_loc.c
index 6e6f9dc..e8cc79e 100644
--- a/src/x86/Gget_save_loc.c
+++ b/src/x86/Gget_save_loc.c
@@ -109,7 +109,7 @@ unw_get_save_loc (unw_cursor_t *cursor, int reg, 
unw_save_loc_t *sloc)
       break;
     }
 
-  memset (sloc, 0, sizeof (sloc));
+  memset (sloc, 0, sizeof (*sloc));
 
   if (DWARF_IS_NULL_LOC (loc))
     {
diff --git a/src/x86_64/Gget_save_loc.c b/src/x86_64/Gget_save_loc.c
index db81db3..20b14a5 100644
--- a/src/x86_64/Gget_save_loc.c
+++ b/src/x86_64/Gget_save_loc.c
@@ -49,7 +49,7 @@ unw_get_save_loc (unw_cursor_t *cursor, int reg, 
unw_save_loc_t *sloc)
       break;
     }
 
-  memset (sloc, 0, sizeof (sloc));
+  memset (sloc, 0, sizeof (*sloc));
 
   if (DWARF_IS_NULL_LOC (loc))
     {
diff --git a/tests/test-proc-info.c b/tests/test-proc-info.c
index 9e039c6..e8915fb 100644
--- a/tests/test-proc-info.c
+++ b/tests/test-proc-info.c
@@ -72,7 +72,7 @@ access_fpreg (unw_addr_space_t as, unw_regnum_t regnum, 
unw_fpreg_t *valp,
              int write, void *arg)
 {
   if (!write)
-    memset (valp, 0, sizeof (valp));
+    memset (valp, 0, sizeof (*valp));
   return 0;
 }
 
-- 
1.7.2.5

++++++ libunwind-1.0.1-tests.diff ++++++
--- tests/Makefile.am
+++ tests/Makefile.am
@@ -82,14 +82,20 @@
 
 Lia64_test_readonly_SOURCES = Lia64-test-readonly.c ia64-test-readonly-asm.S
 Gia64_test_readonly_SOURCES = Gia64-test-readonly.c ia64-test-readonly-asm.S
+ia64_test_sig_LDADD = $(LIBUNWIND) $(LIBUNWIND_local)
+Gia64_test_sig_LDADD = $(LIBUNWIND) $(LIBUNWIND_local)
+Gia64_test_readonly_LDADD = $(LIBUNWIND) $(LIBUNWIND_local)
 Lia64_test_stack_SOURCES = Lia64-test-stack.c ia64-test-stack-asm.S \
                                ia64-test-stack.h
 Gia64_test_stack_SOURCES = Gia64-test-stack.c ia64-test-stack-asm.S \
                                ia64-test-stack.h
+Gia64_test_stack_LDADD = $(LIBUNWIND) $(LIBUNWIND_local)
 Lia64_test_rbs_SOURCES = Lia64-test-rbs.c ia64-test-rbs-asm.S ia64-test-rbs.h
 Gia64_test_rbs_SOURCES = Gia64-test-rbs.c ia64-test-rbs-asm.S ia64-test-rbs.h
+Gia64_test_rbs_LDADD = $(LIBUNWIND) $(LIBUNWIND_local)
 Lia64_test_nat_SOURCES = Lia64-test-nat.c ia64-test-nat-asm.S
 Gia64_test_nat_SOURCES = Gia64-test-nat.c ia64-test-nat-asm.S
+Gia64_test_nat_LDADD = $(LIBUNWIND) $(LIBUNWIND_local)
 ia64_test_dyn1_SOURCES = ia64-test-dyn1.c ia64-dyn-asm.S flush-cache.S
 ppc64_test_altivec_SOURCES = ppc64-test-altivec.c  ppc64-test-altivec-utils.c
 ppc64_test_wchar_SOURCES = ppc64-test-wchar.c
@@ -128,8 +134,8 @@
 
 test_async_sig_LDADD = $(LIBUNWIND_local) -lpthread
 test_flush_cache_LDADD = $(LIBUNWIND_local)
-test_init_remote_LDADD = $(LIBUNWIND)
-test_mem_LDADD = $(LIBUNWIND)
+test_init_remote_LDADD = $(LIBUNWIND) $(LIBUNWIND_local)
+test_mem_LDADD = $(LIBUNWIND) $(LIBUNWIND_local)
 test_ptrace_LDADD = $(LIBUNWIND_ptrace) $(LIBUNWIND)
 test_proc_info_LDADD = $(LIBUNWIND)
 test_static_link_LDADD = $(LIBUNWIND)
@@ -137,12 +143,12 @@
 rs_race_LDADD = $(LIBUNWIND) -lpthread
 test_varargs_LDADD = @BACKTRACELIB@
 
-Gtest_bt_LDADD = $(LIBUNWIND)
-Gtest_concurrent_LDADD = $(LIBUNWIND) -lpthread
+Gtest_bt_LDADD = $(LIBUNWIND) $(LIBUNWIND_local)
+Gtest_concurrent_LDADD = $(LIBUNWIND) $(LIBUNWIND_local) -lpthread
 Gtest_dyn1_LDADD = $(LIBUNWIND) $(LIBUNWIND_local)
-Gtest_exc_LDADD = $(LIBUNWIND)
-Gtest_init_LDADD = $(LIBUNWIND)
-Gtest_resume_sig_LDADD = $(LIBUNWIND)
+Gtest_exc_LDADD = $(LIBUNWIND) $(LIBUNWIND_local)
+Gtest_init_LDADD = $(LIBUNWIND) $(LIBUNWIND_local)
+Gtest_resume_sig_LDADD = $(LIBUNWIND) $(LIBUNWIND_local)
 Gperf_simple_LDADD = $(LIBUNWIND) $(LIBUNWIND_local)
 Gtest_trace_LDADD=$(LIBUNWIND) $(LIBUNWIND_local)
 Gperf_trace_LDADD = $(LIBUNWIND) $(LIBUNWIND_local)
++++++ libunwind-0.98.6.tar.gz -> libunwind-1.0.1.tar.gz ++++++
++++ 159337 lines of diff (skipped)

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to