Hello community,

here is the log from the commit of package sparse for openSUSE:Factory checked 
in at 2017-04-28 09:13:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sparse (Old)
 and      /work/SRC/openSUSE:Factory/.sparse.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sparse"

Fri Apr 28 09:13:43 2017 rev:33 rq:491193 version:20170216

Changes:
--------
--- /work/SRC/openSUSE:Factory/sparse/sparse.changes    2017-02-08 
11:04:10.868808439 +0100
+++ /work/SRC/openSUSE:Factory/.sparse.new/sparse.changes       2017-04-28 
09:13:49.701640172 +0200
@@ -1,0 +2,17 @@
+Wed Apr 26 06:20:30 UTC 2017 - [email protected]
+
+- Update to version 20170216:
+  * kill_instruction() may need to be forced or not
+  * add killing of pure calls
+  * fix killing OP_CALL via pointers
+  * add killing of non-volatile loads
+  * add killing of stores
+  * fix killing of rewritten loads
+  * use kill_instruction() when killing an OP_PHI during CSE
+  * use kill_instruction() when killing any instructions during CSE
+  * fix OP_PHI usage in try_to_simplify_bb()
+  * simplify float-to-float casts that doesn't change size
+- add: use-clang-for-sparse-llvm.patch
+  It fixes build on llvm 4.
+
+-------------------------------------------------------------------

Old:
----
  sparse-20161117.tar.xz

New:
----
  _servicedata
  sparse-20170216.tar.xz
  use-clang-for-sparse-llvm.patch

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

Other differences:
------------------
++++++ sparse.spec ++++++
--- /var/tmp/diff_new_pack.gsLvBZ/_old  2017-04-28 09:13:50.593514403 +0200
+++ /var/tmp/diff_new_pack.gsLvBZ/_new  2017-04-28 09:13:50.597513839 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           sparse
-Version:        20161117
+Version:        20170216
 Release:        0
 Summary:        A semantic parser of source files
 License:        MIT
@@ -25,12 +25,14 @@
 Url:            https://sparse.wiki.kernel.org/index.php/Main_Page
 Source:         sparse-%{version}.tar.xz
 Patch0:         parse-add-support-for-no_sanitize_-attributes.patch
-BuildRequires:  gcc-c++
+Patch1:         use-clang-for-sparse-llvm.patch
+BuildRequires:  gcc
 BuildRequires:  ncurses-devel
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(gtk+-2.0)
 BuildRequires:  pkgconfig(libxml-2.0)
 %if 0%{?suse_version} > 1320 || 0%{?is_opensuse}
+BuildRequires:  clang
 BuildRequires:  llvm-devel
 %endif
 
@@ -75,6 +77,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 make \
@@ -98,7 +101,7 @@
 
 %files
 %defattr(-,root,root)
-%doc LICENSE README FAQ
+%doc LICENSE README FAQ Documentation/sparse.txt
 %{_bindir}/cgcc
 %{_bindir}/c2xml
 %{_bindir}/sparse

++++++ _service ++++++
--- /var/tmp/diff_new_pack.gsLvBZ/_old  2017-04-28 09:13:50.641507635 +0200
+++ /var/tmp/diff_new_pack.gsLvBZ/_new  2017-04-28 09:13:50.645507071 +0200
@@ -1,6 +1,6 @@
 <services>
   <service mode="disabled" name="tar_scm">
-    <param 
name="url">git://git.kernel.org/pub/scm/devel/sparse/chrisl/sparse.git</param>
+    <param 
name="url">git://git.kernel.org/pub/scm/devel/sparse/sparse.git</param>
     <param name="scm">git</param>
     <param name="changesgenerate">enable</param>
     <param name="filename">sparse</param>

++++++ _servicedata ++++++
<servicedata>
<service name="tar_scm">
                <param 
name="url">git://git.kernel.org/pub/scm/devel/sparse/sparse.git</param>
              <param 
name="changesrevision">fbbfc73099d16057cfad98668dafb50ce3844719</param></service></servicedata>++++++
 sparse-20161117.tar.xz -> sparse-20170216.tar.xz ++++++
++++ 5293 lines of diff (skipped)

++++++ use-clang-for-sparse-llvm.patch ++++++
From: Jiri Slaby <[email protected]>
Date: Thu, 4 Aug 2016 15:24:11 +0200
Subject: sparse-llvm: use clang
Patch-mainline: not yet

gcc does not understand -Wstring-conversion, so use clang for building
sparse-llvm.

Signed-off-by: Jiri Slaby <[email protected]>
---
 Makefile |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- a/Makefile
+++ b/Makefile
@@ -82,7 +82,8 @@ ifeq ($(HAVE_LLVM),yes)
 LLVM_VERSION:=$(shell $(LLVM_CONFIG) --version)
 ifeq ($(shell expr "$(LLVM_VERSION)" : '[3-9]\.'),2)
 LLVM_PROGS := sparse-llvm
-$(LLVM_PROGS): LD := g++
+$(LLVM_PROGS): CC := clang
+$(LLVM_PROGS): LD := clang++
 LLVM_LDFLAGS := $(shell $(LLVM_CONFIG) --ldflags)
 LLVM_CFLAGS := $(shell $(LLVM_CONFIG) --cflags | sed -e "s/-DNDEBUG//g" | sed 
-e "s/-pedantic//g")
 LLVM_LIBS := $(shell $(LLVM_CONFIG) --libs)

Reply via email to