commit sparse for openSUSE:Factory
Hello community, here is the log from the commit of package sparse for openSUSE:Factory checked in at 2020-09-25 16:35:40 Comparing /work/SRC/openSUSE:Factory/sparse (Old) and /work/SRC/openSUSE:Factory/.sparse.new.4249 (New) Package is "sparse" Fri Sep 25 16:35:40 2020 rev:43 rq:837254 version:0.6.2 Changes: --- /work/SRC/openSUSE:Factory/sparse/sparse.changes2020-09-16 19:39:34.258814836 +0200 +++ /work/SRC/openSUSE:Factory/.sparse.new.4249/sparse.changes 2020-09-25 16:36:53.788175919 +0200 @@ -1,0 +2,8 @@ +Fri Sep 25 05:28:22 UTC 2020 - Jiri Slaby + +- add patches + * 0001-gensel-remove-unneeded-test-uninitialized-warning.patch + * 0002-generic-fix-missing-inlining-of-generic-expression.patch + * 0004-sindex.1-Use-for-a-plain-quote-char.patch + +--- New: 0001-gensel-remove-unneeded-test-uninitialized-warning.patch 0002-generic-fix-missing-inlining-of-generic-expression.patch 0004-sindex.1-Use-for-a-plain-quote-char.patch Other differences: -- ++ sparse.spec ++ --- /var/tmp/diff_new_pack.ekxobt/_old 2020-09-25 16:36:54.380176445 +0200 +++ /var/tmp/diff_new_pack.ekxobt/_new 2020-09-25 16:36:54.384176448 +0200 @@ -24,6 +24,9 @@ Group: Development/Tools/Building URL:https://sparse.wiki.kernel.org/index.php/Main_Page Source: https://mirrors.edge.kernel.org/pub/software/devel/sparse/dist/%{name}-%{version}.tar.xz +Patch0: 0001-gensel-remove-unneeded-test-uninitialized-warning.patch +Patch1: 0002-generic-fix-missing-inlining-of-generic-expression.patch +Patch2: 0004-sindex.1-Use-for-a-plain-quote-char.patch BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: ncurses-devel @@ -69,7 +72,7 @@ LLVM backend for sparse, including sparsec %prep -%setup -q +%autosetup -p1 %build %make_build \ ++ 0001-gensel-remove-unneeded-test-uninitialized-warning.patch ++ From: Luc Van Oostenryck Date: Sun, 21 Jun 2020 21:25:03 +0200 Subject: gensel: remove unneeded test/uninitialized warning Git-repo: git://git.kernel.org/pub/scm/devel/sparse/sparse.git Git-commit: cc651aa7b6a01c3d89d1eb212a080d683f2df9ed Patch-mainline: maint-v0.6.2 branch References: maint-v0.6.2 When evaluation generic selections, it is tested if the type in the selection is a SYM_NODE or not, but: * all these are SYM_NODE * the variable for the base type would be uninitialized if not a SYM_NODE. So, remove the test and unconditionally set the base type. Reported-by: Ramsay Jones Signed-off-by: Luc Van Oostenryck Signed-off-by: Jiri Slaby --- evaluate.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/evaluate.c b/evaluate.c index aa0f2080..461c2547 100644 --- a/evaluate.c +++ b/evaluate.c @@ -3304,9 +3304,7 @@ static struct symbol *evaluate_generic_selection(struct expression *expr) if (!evaluate_symbol(stype)) continue; - if (stype->type == SYM_NODE) - base = stype->ctype.base_type; - + base = stype->ctype.base_type; if (base->type == SYM_ARRAY && base->array_size) { get_expression_value_silent(base->array_size); if (base->array_size->type == EXPR_VALUE) -- 2.26.2 ++ 0002-generic-fix-missing-inlining-of-generic-expression.patch ++ From: Luc Van Oostenryck Date: Fri, 24 Jul 2020 16:07:07 +0200 Subject: generic: fix missing inlining of generic expression Git-repo: git://git.kernel.org/pub/scm/devel/sparse/sparse.git Git-commit: 77f35b796cc82b820e1994629fade50bacbffcbb Patch-mainline: maint-v0.6.2 branch References: maint-v0.6.2 Inlining in sparse works slightly differently than what my mental model is: the body is only evaluated after the inline expansion. IOW, an inline function is not evaluated until it is effectively inlined. That's fine but it means that generic expressions also need to be handled during the inlining. However, since the body of inline functions is evaluated just after inline expansion, so (recursively) copying the expression and its type - expression map is quite useless here. So, just copy the expression itself and its control expression to 'isolate' them from evaluation, evaluate it and then just copy the selected expression. Reported-by: kernel test robot Reported-by: Peter Zijlstra Signed-off-by: Luc Van Oostenryck Signed-off-by: Jiri Slaby --- inline.c| 8 validation/inline-generic.c | 10 ++ 2 files changed, 18 insertions(+) create mode 100644 validation/inline-generic.c diff --git a/inline.c b/inline.c index a9597280..eceef8ba 100644 --- a/inline.c +++
commit sparse for openSUSE:Factory
Hello community, here is the log from the commit of package sparse for openSUSE:Factory checked in at 2020-09-16 19:39:12 Comparing /work/SRC/openSUSE:Factory/sparse (Old) and /work/SRC/openSUSE:Factory/.sparse.new.4249 (New) Package is "sparse" Wed Sep 16 19:39:12 2020 rev:42 rq:834835 version:0.6.2 Changes: --- /work/SRC/openSUSE:Factory/sparse/sparse.changes2020-06-10 00:49:44.223152317 +0200 +++ /work/SRC/openSUSE:Factory/.sparse.new.4249/sparse.changes 2020-09-16 19:39:34.258814836 +0200 @@ -1,0 +2,8 @@ +Wed Sep 16 06:49:02 UTC 2020 - Dirk Mueller + +- update to 0.6.2: + * use release tarballs + * changelog of 0.6.2 is available here: + https://sparse.docs.kernel.org/en/latest/release-notes/v0.6.2.html + +--- Old: _service _servicedata sparse-0.6.1+20200606.tar.xz New: sparse-0.6.2.tar.xz Other differences: -- ++ sparse.spec ++ --- /var/tmp/diff_new_pack.emiIOZ/_old 2020-09-16 19:39:38.630819754 +0200 +++ /var/tmp/diff_new_pack.emiIOZ/_new 2020-09-16 19:39:38.634819758 +0200 @@ -17,13 +17,13 @@ Name: sparse -Version:0.6.1+20200606 +Version:0.6.2 Release:0 Summary:A semantic parser of source files License:MIT Group: Development/Tools/Building URL:https://sparse.wiki.kernel.org/index.php/Main_Page -Source: sparse-%{version}.tar.xz +Source: https://mirrors.edge.kernel.org/pub/software/devel/sparse/dist/%{name}-%{version}.tar.xz BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: ncurses-devel ++ sparse-0.6.1+20200606.tar.xz -> sparse-0.6.2.tar.xz ++ 4664 lines of diff (skipped)
commit sparse for openSUSE:Factory
Hello community, here is the log from the commit of package sparse for openSUSE:Factory checked in at 2020-06-10 00:49:42 Comparing /work/SRC/openSUSE:Factory/sparse (Old) and /work/SRC/openSUSE:Factory/.sparse.new.3606 (New) Package is "sparse" Wed Jun 10 00:49:42 2020 rev:41 rq:812801 version:0.6.1+20200606 Changes: --- /work/SRC/openSUSE:Factory/sparse/sparse.changes2020-04-21 13:08:10.828514697 +0200 +++ /work/SRC/openSUSE:Factory/.sparse.new.3606/sparse.changes 2020-06-10 00:49:44.223152317 +0200 @@ -1,0 +2,24 @@ +Tue Jun 09 07:29:30 UTC 2020 - jsl...@suse.com + +- Update to version 0.6.1+20200606: + * pre-process: fix a compiler array subscript type warning + * univ-init: set default to -Wno-universal-initializer + * univ-init: scalar initializer needs some additional checks + * evaluate: mark evaluate_generic_selection() as static + * add support for _Generic + * testsuite: add testcase for duplicated local definitions + * add an option to suppress warning 'no newline at EOF' + * univ-init: conditionally accept { 0 } without warnings + * bad-label: respect attribute((unused)) + * bad-label: mark labels as used when needed + * bad-label: check for unused labels + * bad-goto: check declaration of label expressions + * bad-goto: extract check_label_declaration() + * bad-goto: label expression inside a statement expression is UB + * bad-goto: jumping inside a statement expression is an error + * scope: give a scope for labels & gotos + * build: fix LLVM version detection + * and much more +- Use latest llvm again as the detection is fixed + +--- Old: sparse-0.6.1+20200413.tar.xz New: sparse-0.6.1+20200606.tar.xz Other differences: -- ++ sparse.spec ++ --- /var/tmp/diff_new_pack.yy28U0/_old 2020-06-10 00:49:44.855153970 +0200 +++ /var/tmp/diff_new_pack.yy28U0/_new 2020-06-10 00:49:44.855153970 +0200 @@ -17,7 +17,7 @@ Name: sparse -Version:0.6.1+20200413 +Version:0.6.1+20200606 Release:0 Summary:A semantic parser of source files License:MIT @@ -32,8 +32,8 @@ BuildRequires: pkgconfig(libxml-2.0) %if 0%{?suse_version} > 1320 || 0%{?is_opensuse} %ifarch x86_64 -BuildRequires: clang9 -BuildRequires: llvm9-devel +BuildRequires: clang +BuildRequires: llvm-devel %endif %endif ++ _servicedata ++ --- /var/tmp/diff_new_pack.yy28U0/_old 2020-06-10 00:49:44.891154065 +0200 +++ /var/tmp/diff_new_pack.yy28U0/_new 2020-06-10 00:49:44.891154065 +0200 @@ -1,4 +1,4 @@ git://git.kernel.org/pub/scm/devel/sparse/sparse.git - c51a0382202e992c1d0c4fa87fad7eb625a73a2a \ No newline at end of file + cadbd1245acecf5d91f07834e2820b0e2a91faf9 \ No newline at end of file ++ sparse-0.6.1+20200413.tar.xz -> sparse-0.6.1+20200606.tar.xz ++ 2462 lines of diff (skipped)
commit sparse for openSUSE:Factory
Hello community, here is the log from the commit of package sparse for openSUSE:Factory checked in at 2020-04-21 13:07:43 Comparing /work/SRC/openSUSE:Factory/sparse (Old) and /work/SRC/openSUSE:Factory/.sparse.new.2738 (New) Package is "sparse" Tue Apr 21 13:07:43 2020 rev:40 rq:795670 version:0.6.1+20200413 Changes: --- /work/SRC/openSUSE:Factory/sparse/sparse.changes2020-02-07 15:53:31.491481693 +0100 +++ /work/SRC/openSUSE:Factory/.sparse.new.2738/sparse.changes 2020-04-21 13:08:10.828514697 +0200 @@ -1,0 +2,9 @@ +Sat Apr 18 06:41:15 UTC 2020 - Martin Pluskal + +- Update to version 0.6.1+20200413: + * do not use expr->left for conditionals + * add support for GCC's __auto_type + * And plenty more +- Use llvm9 for building as llvm10 is not yet supported + +--- Old: sparse-0.6.1+20200129.tar.xz New: sparse-0.6.1+20200413.tar.xz Other differences: -- ++ sparse.spec ++ --- /var/tmp/diff_new_pack.mJdwyT/_old 2020-04-21 13:08:13.508520043 +0200 +++ /var/tmp/diff_new_pack.mJdwyT/_new 2020-04-21 13:08:13.512520050 +0200 @@ -17,7 +17,7 @@ Name: sparse -Version:0.6.1+20200129 +Version:0.6.1+20200413 Release:0 Summary:A semantic parser of source files License:MIT @@ -32,8 +32,8 @@ BuildRequires: pkgconfig(libxml-2.0) %if 0%{?suse_version} > 1320 || 0%{?is_opensuse} %ifarch x86_64 -BuildRequires: clang -BuildRequires: llvm-devel +BuildRequires: clang9 +BuildRequires: llvm9-devel %endif %endif @@ -72,8 +72,7 @@ %setup -q %build -make \ - %{?_smp_mflags} \ +%make_build \ PREFIX=%{_prefix} \ LIBDIR=%{_libdir} \ MANDIR=%{_mandir} \ ++ _servicedata ++ --- /var/tmp/diff_new_pack.mJdwyT/_old 2020-04-21 13:08:13.548520122 +0200 +++ /var/tmp/diff_new_pack.mJdwyT/_new 2020-04-21 13:08:13.548520122 +0200 @@ -1,4 +1,4 @@ git://git.kernel.org/pub/scm/devel/sparse/sparse.git - 1dc00f876305b6a4d3dda38889a9165ff4bf1b0b \ No newline at end of file + c51a0382202e992c1d0c4fa87fad7eb625a73a2a \ No newline at end of file ++ sparse-0.6.1+20200129.tar.xz -> sparse-0.6.1+20200413.tar.xz ++ 2994 lines of diff (skipped)
commit sparse for openSUSE:Factory
Hello community, here is the log from the commit of package sparse for openSUSE:Factory checked in at 2020-02-07 15:52:44 Comparing /work/SRC/openSUSE:Factory/sparse (Old) and /work/SRC/openSUSE:Factory/.sparse.new.26092 (New) Package is "sparse" Fri Feb 7 15:52:44 2020 rev:39 rq:770523 version:0.6.1+20200129 Changes: --- /work/SRC/openSUSE:Factory/sparse/sparse.changes2019-11-04 17:16:12.400889323 +0100 +++ /work/SRC/openSUSE:Factory/.sparse.new.26092/sparse.changes 2020-02-07 15:53:31.491481693 +0100 @@ -1,0 +2,18 @@ +Thu Jan 30 10:30:14 UTC 2020 - jsl...@suse.com + +- Update to version 0.6.1+20200129: + * domtree: domtree_build() creates extraneous bb->doms entries + * predefine "i386" if needed + * correct sparcv9 defines + * pre-define __unix__ and friends + * add necessary defined for sunos-derived systems + * define __PRAGMA_REDEFINE_EXTNAME + * allow to easily test if the OS is UNIX-like + * detect OS_UNIX as native OS + * add predefine_nostd() + * show_parse: avoid null pointer dereference in do_show_type() + * ptrlist: fix typos + * fix testcase with non-constant initializer + * and much more + +--- Old: sparse-0.6.1+20191101.tar.xz New: sparse-0.6.1+20200129.tar.xz Other differences: -- ++ sparse.spec ++ --- /var/tmp/diff_new_pack.xsAlRF/_old 2020-02-07 15:53:32.731482371 +0100 +++ /var/tmp/diff_new_pack.xsAlRF/_new 2020-02-07 15:53:32.735482373 +0100 @@ -1,7 +1,7 @@ # # spec file for package sparse # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: sparse -Version:0.6.1+20191101 +Version:0.6.1+20200129 Release:0 Summary:A semantic parser of source files License:MIT ++ _servicedata ++ --- /var/tmp/diff_new_pack.xsAlRF/_old 2020-02-07 15:53:32.775482395 +0100 +++ /var/tmp/diff_new_pack.xsAlRF/_new 2020-02-07 15:53:32.775482395 +0100 @@ -1,4 +1,4 @@ git://git.kernel.org/pub/scm/devel/sparse/sparse.git - 57f861160762b498b4c90a68ee4863e12a9c899c \ No newline at end of file + 1dc00f876305b6a4d3dda38889a9165ff4bf1b0b \ No newline at end of file ++ sparse-0.6.1+20191101.tar.xz -> sparse-0.6.1+20200129.tar.xz ++ 4661 lines of diff (skipped)
commit sparse for openSUSE:Factory
Hello community, here is the log from the commit of package sparse for openSUSE:Factory checked in at 2019-11-04 17:16:07 Comparing /work/SRC/openSUSE:Factory/sparse (Old) and /work/SRC/openSUSE:Factory/.sparse.new.2990 (New) Package is "sparse" Mon Nov 4 17:16:07 2019 rev:38 rq:745101 version:0.6.1+20191101 Changes: --- /work/SRC/openSUSE:Factory/sparse/sparse.changes2019-10-10 11:53:21.451335208 +0200 +++ /work/SRC/openSUSE:Factory/.sparse.new.2990/sparse.changes 2019-11-04 17:16:12.400889323 +0100 @@ -1,0 +2,13 @@ +Mon Nov 04 08:06:46 UTC 2019 - jsl...@suse.com + +- Update to version 0.6.1+20191101: + * .gitignore: alphasort the patterns + * Add '__' prefix and suffix to all __attribute__ #defines + * options: add support for -mcmodel + * options: add support for -fpic, -fPIC, -fpie & -fPIE + * Sparse v0.6.1 + * doc: fix typo in binops' description + * "graph" segfaults on top-level asm + * llvm: fix sparsec breakage on recent cygwin version + +--- Old: sparse-0.6.1rc2+20191007.tar.xz New: sparse-0.6.1+20191101.tar.xz Other differences: -- ++ sparse.spec ++ --- /var/tmp/diff_new_pack.d8oAIK/_old 2019-11-04 17:16:13.272890254 +0100 +++ /var/tmp/diff_new_pack.d8oAIK/_new 2019-11-04 17:16:13.280890262 +0100 @@ -17,7 +17,7 @@ Name: sparse -Version:0.6.1rc2+20191007 +Version:0.6.1+20191101 Release:0 Summary:A semantic parser of source files License:MIT ++ _servicedata ++ --- /var/tmp/diff_new_pack.d8oAIK/_old 2019-11-04 17:16:13.388890378 +0100 +++ /var/tmp/diff_new_pack.d8oAIK/_new 2019-11-04 17:16:13.392890382 +0100 @@ -1,4 +1,4 @@ git://git.kernel.org/pub/scm/devel/sparse/sparse.git - 0ccb3b4f73805d49a266a23f11d640cef8c47553 \ No newline at end of file + 57f861160762b498b4c90a68ee4863e12a9c899c \ No newline at end of file ++ sparse-0.6.1rc2+20191007.tar.xz -> sparse-0.6.1+20191101.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sparse-0.6.1rc2+20191007/Documentation/IR.rst new/sparse-0.6.1+20191101/Documentation/IR.rst --- old/sparse-0.6.1rc2+20191007/Documentation/IR.rst 2019-10-07 09:46:35.0 +0200 +++ new/sparse-0.6.1+20191101/Documentation/IR.rst 2019-11-01 10:05:12.0 +0100 @@ -56,7 +56,7 @@ Arithmetic binops - They all follow the same signature: - * .src1, .src1: operands (types must be compatible with .target) + * .src1, .src2: operands (types must be compatible with .target) * .target: result of the operation (must be an integral type) * .type: type of .target @@ -93,7 +93,7 @@ Floating-point binops - They all follow the same signature: - * .src1, .src1: operands (types must be compatible with .target) + * .src1, .src2: operands (types must be compatible with .target) * .target: result of the operation (must be a floating-point type) * .type: type of .target diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sparse-0.6.1rc2+20191007/Makefile new/sparse-0.6.1+20191101/Makefile --- old/sparse-0.6.1rc2+20191007/Makefile 2019-10-07 09:46:35.0 +0200 +++ new/sparse-0.6.1+20191101/Makefile 2019-11-01 10:05:12.0 +0100 @@ -1,4 +1,4 @@ -VERSION=0.6.1-rc2 +VERSION=0.6.1 # The following variables can be overwritten from the command line diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sparse-0.6.1rc2+20191007/lib.c new/sparse-0.6.1+20191101/lib.c --- old/sparse-0.6.1rc2+20191007/lib.c 2019-10-07 09:46:35.0 +0200 +++ new/sparse-0.6.1+20191101/lib.c 2019-11-01 10:05:12.0 +0100 @@ -310,6 +310,8 @@ int fmem_report = 0; unsigned long long fmemcpy_max_count = 10; unsigned long fpasses = ~0UL; +int fpic = 0; +int fpie = 0; int funsigned_char = UNSIGNED_CHAR; int preprocess_only; @@ -326,6 +328,7 @@ int arch_m64 = ARCH_M64_DEFAULT; int arch_big_endian = ARCH_BIG_ENDIAN; int arch_mach = MACH_NATIVE; +int arch_cmodel = CMODEL_UNKNOWN; #define CMDLINE_INCLUDE 20 @@ -468,6 +471,26 @@ arch_big_endian = 1; } else if (!strcmp(arg, "mlittle-endian")) { arch_big_endian = 0; + } else if (!strncmp(arg, "mcmodel", 7)) { + arg += 7; + if (*arg++ != '=') + die("missing argument for -mcmodel"); + else if (!strcmp(arg, "kernel")) +
commit sparse for openSUSE:Factory
Hello community, here is the log from the commit of package sparse for openSUSE:Factory checked in at 2019-10-10 11:53:18 Comparing /work/SRC/openSUSE:Factory/sparse (Old) and /work/SRC/openSUSE:Factory/.sparse.new.2352 (New) Package is "sparse" Thu Oct 10 11:53:18 2019 rev:37 rq:736791 version:0.6.1rc2+20191007 Changes: --- /work/SRC/openSUSE:Factory/sparse/sparse.changes2019-07-31 14:37:22.713833075 +0200 +++ /work/SRC/openSUSE:Factory/.sparse.new.2352/sparse.changes 2019-10-10 11:53:21.451335208 +0200 @@ -1,0 +2,27 @@ +Thu Oct 10 06:31:58 UTC 2019 - jsl...@suse.com + +- Update to version 0.6.1rc2+20191007: + * expand more builtins like __builtin_ffs() + * make 'directive in argument list' clearer + * asm: warn on invalid empty constraints + * fix sign extension in casting enums + * remove useless optimization in cast_enum_list() + * add test for enum sign extension + * do not linearize invalid expression + * asm: arrays & functions in non-memory operand degenerate into pointers + * asm: fix missing expansion of asm statements + * asm: fix liveness memory operand + * asm: linearization of output memory operands is different + * asm: missing evaluation of asm statements + * asm: use parse_asm_constraint() to verify constraints + * asm: parse constraints + * asm: keep using struct asm_operand during linearization + * asm: use a specific struct for asm operands + * asm: check earlier that body & constraints are strings + * asm: add test evaluation, expansion & linearization of ASM operands + * string: use string_expression() in parse_static_assert() + * string: add helper string_expression() + * dissect: fix processing of ASM statements + * and more... + +--- Old: sparse-0.6.1rc1+20190404.tar.xz New: sparse-0.6.1rc2+20191007.tar.xz Other differences: -- ++ sparse.spec ++ --- /var/tmp/diff_new_pack.wTuRhq/_old 2019-10-10 11:53:22.299332958 +0200 +++ /var/tmp/diff_new_pack.wTuRhq/_new 2019-10-10 11:53:22.303332947 +0200 @@ -17,7 +17,7 @@ Name: sparse -Version:0.6.1rc1+20190404 +Version:0.6.1rc2+20191007 Release:0 Summary:A semantic parser of source files License:MIT ++ _servicedata ++ --- /var/tmp/diff_new_pack.wTuRhq/_old 2019-10-10 11:53:22.335332862 +0200 +++ /var/tmp/diff_new_pack.wTuRhq/_new 2019-10-10 11:53:22.339332852 +0200 @@ -1,4 +1,4 @@ git://git.kernel.org/pub/scm/devel/sparse/sparse.git - 2b96cd804dc7e4b5f6a0aae62c1962bd6b2caae9 \ No newline at end of file + 0ccb3b4f73805d49a266a23f11d640cef8c47553 \ No newline at end of file ++ sparse-0.6.1rc1+20190404.tar.xz -> sparse-0.6.1rc2+20191007.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sparse-0.6.1rc1+20190404/Makefile new/sparse-0.6.1rc2+20191007/Makefile --- old/sparse-0.6.1rc1+20190404/Makefile 2019-04-04 22:50:29.0 +0200 +++ new/sparse-0.6.1rc2+20191007/Makefile 2019-10-07 09:46:35.0 +0200 @@ -1,4 +1,4 @@ -VERSION=0.6.1-rc1 +VERSION=0.6.1-rc2 # The following variables can be overwritten from the command line @@ -165,7 +165,7 @@ LLVM_PROGS := sparse-llvm $(LLVM_PROGS): LD := g++ LLVM_LDFLAGS := $(shell $(LLVM_CONFIG) --ldflags) -LLVM_CFLAGS := -I$(shell $(LLVM_CONFIG) --includedir) +LLVM_CFLAGS := $(shell $(LLVM_CONFIG) --cppflags) LLVM_LIBS := $(shell $(LLVM_CONFIG) --libs) LLVM_LIBS += $(shell $(LLVM_CONFIG) --system-libs 2>/dev/null) LLVM_LIBS += $(shell $(LLVM_CONFIG) --cxxflags | grep -F -q -e '-stdlib=libc++' && echo -lc++) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sparse-0.6.1rc1+20190404/allocate.c new/sparse-0.6.1rc2+20191007/allocate.c --- old/sparse-0.6.1rc1+20190404/allocate.c 2019-04-04 22:50:29.0 +0200 +++ new/sparse-0.6.1rc2+20191007/allocate.c 2019-10-07 09:46:35.0 +0200 @@ -141,6 +141,7 @@ ALLOCATOR(token, "tokens"); ALLOCATOR(context, "contexts"); ALLOCATOR(symbol, "symbols"); +ALLOCATOR(asm_operand, "asmops"); ALLOCATOR(expression, "expressions"); ALLOCATOR(statement, "statements"); ALLOCATOR(string, "strings"); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sparse-0.6.1rc1+20190404/allocate.h new/sparse-0.6.1rc2+20191007/allocate.h --- old/sparse-0.6.1rc1+20190404/allocate.h 2019-04-04 22:50:29.0 +0200 +++ new/sparse-0.6.1rc2+20191007/allocate.h 2019-10-07 09:46:35.0 +0200 @@ -82,6 +82,7 @@
commit sparse for openSUSE:Factory
Hello community, here is the log from the commit of package sparse for openSUSE:Factory checked in at 2019-07-31 14:37:20 Comparing /work/SRC/openSUSE:Factory/sparse (Old) and /work/SRC/openSUSE:Factory/.sparse.new.4126 (New) Package is "sparse" Wed Jul 31 14:37:20 2019 rev:36 rq:720031 version:0.6.1rc1+20190404 Changes: --- /work/SRC/openSUSE:Factory/sparse/sparse.changes2019-05-10 09:19:23.688428090 +0200 +++ /work/SRC/openSUSE:Factory/.sparse.new.4126/sparse.changes 2019-07-31 14:37:22.713833075 +0200 @@ -1,0 +2,21 @@ +Wed Jul 31 09:27:10 UTC 2019 - jsl...@suse.com + +- Update to version 20190404: + * fix allowing casts of AS pointers to uintptr_t + * man: explain role of uintptr_t & unsigned long in casts from AS pointers + * also accept casts of AS pointers to uintptr_t + * evaluate: externally_visible functions don't need a declaration + * expand: add explanation to 'conservative' + * expand: 'conservative' must not bypass valid simplifications + * Sparse v0.6.1-rc1 + * remove confusing intermediate 'where' in evaluate_assignment() + * display extra info for type errors in compare & conditional + * cgcc: use strict & warnings + * cgcc: add support for x86-x32 + * cgcc: favor using 'gcc -dumpmachine' to determine specifics + * cgcc: simpler handling of hard-float ARM + * cgcc: add pseudo-archs for ppc64be/ppc64le + * and a lot more... +- remove use-clang-for-sparse-llvm.patch (unneeded now) + +--- Old: sparse-20180324.tar.xz use-clang-for-sparse-llvm.patch New: sparse-0.6.1rc1+20190404.tar.xz Other differences: -- ++ sparse.spec ++ --- /var/tmp/diff_new_pack.jZzBEW/_old 2019-07-31 14:37:23.265832763 +0200 +++ /var/tmp/diff_new_pack.jZzBEW/_new 2019-07-31 14:37:23.273832760 +0200 @@ -1,7 +1,7 @@ # # spec file for package sparse # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,19 +12,20 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: sparse -Version:20180324 +Version:0.6.1rc1+20190404 Release:0 Summary:A semantic parser of source files License:MIT Group: Development/Tools/Building URL:https://sparse.wiki.kernel.org/index.php/Main_Page Source: sparse-%{version}.tar.xz -Patch1: use-clang-for-sparse-llvm.patch +BuildRequires: gcc +BuildRequires: gcc-c++ BuildRequires: ncurses-devel BuildRequires: pkgconfig BuildRequires: pkgconfig(gtk+-2.0) @@ -53,13 +54,6 @@ Sparse is primarily used in the development and debugging of the Linux kernel. -%package devel -Summary:Devel files for sparse -Group: Development/Libraries/C and C++ - -%description devel -Development headers and libraries for sparse. - %package inspect Summary:Inspect binary from sparse Group: Development/Libraries/C and C++ @@ -76,7 +70,6 @@ %prep %setup -q -%patch1 -p1 %build make \ @@ -100,7 +93,7 @@ %files %license LICENSE -%doc README FAQ Documentation/sparse.txt +%doc README FAQ %{_bindir}/cgcc %{_bindir}/c2xml %{_bindir}/sparse @@ -118,9 +111,4 @@ %files inspect %{_bindir}/test-inspect -%files devel -%{_includedir}/sparse -%{_libdir}/libsparse.a -%{_libdir}/pkgconfig/sparse.pc - %changelog ++ _service ++ --- /var/tmp/diff_new_pack.jZzBEW/_old 2019-07-31 14:37:23.293832748 +0200 +++ /var/tmp/diff_new_pack.jZzBEW/_new 2019-07-31 14:37:23.293832748 +0200 @@ -4,7 +4,9 @@ git enable sparse -%cd +@PARENT_TAG@+%cd +v(.*) +\1 *.tar ++ _servicedata ++ --- /var/tmp/diff_new_pack.jZzBEW/_old 2019-07-31 14:37:23.309832739 +0200 +++ /var/tmp/diff_new_pack.jZzBEW/_new 2019-07-31 14:37:23.309832739 +0200 @@ -1,4 +1,4 @@ git://git.kernel.org/pub/scm/devel/sparse/sparse.git - 979043ca8aae37304d2e3d43c9f281d9b8d92ba6 \ No newline at end of file + 2b96cd804dc7e4b5f6a0aae62c1962bd6b2caae9 \ No newline at end of file
commit sparse for openSUSE:Factory
Hello community, here is the log from the commit of package sparse for openSUSE:Factory checked in at 2019-05-10 09:19:22 Comparing /work/SRC/openSUSE:Factory/sparse (Old) and /work/SRC/openSUSE:Factory/.sparse.new.5148 (New) Package is "sparse" Fri May 10 09:19:22 2019 rev:35 rq:701632 version:20180324 Changes: --- /work/SRC/openSUSE:Factory/sparse/sparse.changes2018-04-19 15:32:02.832753443 +0200 +++ /work/SRC/openSUSE:Factory/.sparse.new.5148/sparse.changes 2019-05-10 09:19:23.688428090 +0200 @@ -1,0 +2,5 @@ +Wed May 8 16:37:22 UTC 2019 - o...@aepfle.de + +- Install pkgconfig into libdir instead of datadir + +--- Other differences: -- ++ sparse.spec ++ --- /var/tmp/diff_new_pack.dvU5Cu/_old 2019-05-10 09:19:24.552429427 +0200 +++ /var/tmp/diff_new_pack.dvU5Cu/_new 2019-05-10 09:19:24.556429433 +0200 @@ -84,7 +84,7 @@ PREFIX=%{_prefix} \ LIBDIR=%{_libdir} \ MANDIR=%{_mandir} \ - PKGCONFIGDIR=%{_datadir}/pkgconfig \ + PKGCONFIGDIR=%{_libdir}/pkgconfig \ CFLAGS="%{optflags}" \ V=1 @@ -95,7 +95,7 @@ PREFIX=%{_prefix} \ LIBDIR=%{_libdir} \ MANDIR=%{_mandir} \ - PKGCONFIGDIR=%{_datadir}/pkgconfig \ + PKGCONFIGDIR=%{_libdir}/pkgconfig \ install %files @@ -121,6 +121,6 @@ %files devel %{_includedir}/sparse %{_libdir}/libsparse.a -%{_datadir}/pkgconfig/sparse.pc +%{_libdir}/pkgconfig/sparse.pc %changelog
commit sparse for openSUSE:Factory
Hello community, here is the log from the commit of package sparse for openSUSE:Factory checked in at 2018-04-19 15:32:02 Comparing /work/SRC/openSUSE:Factory/sparse (Old) and /work/SRC/openSUSE:Factory/.sparse.new (New) Package is "sparse" Thu Apr 19 15:32:02 2018 rev:34 rq:597806 version:20180324 Changes: --- /work/SRC/openSUSE:Factory/sparse/sparse.changes2017-04-28 09:13:49.701640172 +0200 +++ /work/SRC/openSUSE:Factory/.sparse.new/sparse.changes 2018-04-19 15:32:02.832753443 +0200 @@ -1,0 +2,44 @@ +Wed Apr 18 14:12:34 UTC 2018 - mplus...@suse.com + +- Run spec-clener +- Build llvm based parts only on x86_64 + +--- +Tue Apr 17 10:00:58 UTC 2018 - mwi...@suse.com + +- Update to version 20180324: + * Sparse v0.5.2 + +--- +Sat Mar 24 00:00:00 CET 2018 - dste...@suse.cz + +- Update to version 20180303: + * bump up version to 0.5.2-RC1 + * By default disable the warning flag '-Wunknown-attribute' + * Update gcc attribute list + * sparse: ignore indirect_branch attribute + * add __builtin functions for isinf_sign, isfinite and isnan + * fix cgcc ELF version for ppc64/pcc64le + * Sparse preprocessing bug with zero-arg variadic macros + * gcc attr: add nonstring warn_if_not_aligned + * Sparse v0.5.1 + * test-inspect: Detect gtk3 then gtk2 package + * Makefile: pass -Wno-vla to sparse while checking pre-process.c + * lib: workaround the 'redeclared with different type' errors + * Adding _Pragma() + * Adding gcc attribute no_gccisr + * cgcc: teach cgcc about arm + * cgcc: teach cgcc about ppc64[le] + * cgcc: teach cgcc about arm64 + * add support for -fmemcpy-max-count + * add support for -Wmemcpy-max-count + * cgcc: filter-out '-fdump-linearize[=...]' + * teach sparse how to handle '-fmem-report' + * sparse: add support for _Static_assert + * constexpr: flag __builtin_bswap() as constexpr + * teach sparse about -Waddress + * make -Wbitwise operational again +- Removed patch parse-add-support-for-no_sanitize_-attributes.patch + (implemented upstream) + +--- Old: parse-add-support-for-no_sanitize_-attributes.patch sparse-20170216.tar.xz New: sparse-20180324.tar.xz Other differences: -- ++ sparse.spec ++ --- /var/tmp/diff_new_pack.oUPih1/_old 2018-04-19 15:32:03.440728424 +0200 +++ /var/tmp/diff_new_pack.oUPih1/_new 2018-04-19 15:32:03.444728259 +0200 @@ -1,7 +1,7 @@ # # spec file for package sparse # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,24 +17,24 @@ Name: sparse -Version:20170216 +Version:20180324 Release:0 Summary:A semantic parser of source files License:MIT Group: Development/Tools/Building -Url:https://sparse.wiki.kernel.org/index.php/Main_Page +URL:https://sparse.wiki.kernel.org/index.php/Main_Page Source: sparse-%{version}.tar.xz -Patch0: parse-add-support-for-no_sanitize_-attributes.patch 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} +%ifarch x86_64 BuildRequires: clang BuildRequires: llvm-devel %endif +%endif %description Sparse is a semantic parser of source files: it's neither a compiler @@ -76,7 +76,6 @@ %prep %setup -q -%patch0 -p1 %patch1 -p1 %build @@ -100,27 +99,26 @@ install %files -%defattr(-,root,root) -%doc LICENSE README FAQ Documentation/sparse.txt +%license LICENSE +%doc README FAQ Documentation/sparse.txt %{_bindir}/cgcc %{_bindir}/c2xml %{_bindir}/sparse -%{_mandir}/man1/cgcc.1%{ext_man} -%{_mandir}/man1/sparse.1%{ext_man} +%{_mandir}/man1/cgcc.1%{?ext_man} +%{_mandir}/man1/sparse.1%{?ext_man} %if 0%{?suse_version} > 1320 || 0%{?is_opensuse} +%ifarch x86_64 %files llvm -%defattr(-,root,root) %{_bindir}/sparsec %{_bindir}/sparse-llvm %endif +%endif %files inspect -%defattr(-,root,root) %{_bindir}/test-inspect %files devel -%defattr(-,root,root) %{_includedir}/sparse %{_libdir}/libsparse.a %{_datadir}/pkgconfig/sparse.pc ++ _servicedata ++ --- /var/tmp/diff_new_pack.oUPih1/_old 2018-04-19 15:32:03.504725790 +0200 +++ /var/tmp/diff_new_pack.oUPih1/_new 2018-04-19
commit sparse for openSUSE:Factory
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.changes2017-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 - jsl...@suse.com + +- 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 @@ -git://git.kernel.org/pub/scm/devel/sparse/chrisl/sparse.git +git://git.kernel.org/pub/scm/devel/sparse/sparse.git git enable sparse ++ _servicedata ++ git://git.kernel.org/pub/scm/devel/sparse/sparse.git fbbfc73099d16057cfad98668dafb50ce3844719++ sparse-20161117.tar.xz -> sparse-20170216.tar.xz ++ 5293 lines of diff (skipped) ++ use-clang-for-sparse-llvm.patch ++ From: Jiri SlabyDate: 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 --- 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)
commit sparse for openSUSE:Factory
Hello community, here is the log from the commit of package sparse for openSUSE:Factory checked in at 2017-02-08 11:04:09 Comparing /work/SRC/openSUSE:Factory/sparse (Old) and /work/SRC/openSUSE:Factory/.sparse.new (New) Package is "sparse" Changes: --- /work/SRC/openSUSE:Factory/sparse/sparse.changes2016-08-05 18:17:55.0 +0200 +++ /work/SRC/openSUSE:Factory/.sparse.new/sparse.changes 2017-02-08 11:04:10.868808439 +0100 @@ -1,0 +2,17 @@ +Fri Feb 3 19:15:38 UTC 2017 - mplus...@suse.com + +- Update to version 20161117 (boo#1023536): + * .gitignore: add cscope and Qt project files + * Add default case to switches on enum variables + * Fix size calculation of unsized bool array + * Do not drop 'nocast' modifier when taking the address. + * Fix warning compiling sparse-llvm + * sparse: add 'alloc_align' to the ignored attributes + * sparse: ignore __assume_aligned__ attribute + * sparse: add no_sanitize_address as an ignored attribute + * Handle SForced in storage_modifiers + * sparse: update __builtin_object_size() prototype +- Change _service to disabled to preven accidentally running it +- Switch back to naming based on date only + +--- Old: sparse-0.5+git.20160223.tar.xz New: sparse-20161117.tar.xz Other differences: -- ++ sparse.spec ++ --- /var/tmp/diff_new_pack.1uezFZ/_old 2017-02-08 11:04:11.268752680 +0100 +++ /var/tmp/diff_new_pack.1uezFZ/_new 2017-02-08 11:04:11.272752123 +0100 @@ -1,7 +1,7 @@ # # spec file for package sparse # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: sparse -Version:0.5+git.20160223 +Version:20161117 Release:0 Summary:A semantic parser of source files License:MIT @@ -25,18 +25,12 @@ 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 BuildRequires: gcc-c++ -BuildRequires: make BuildRequires: ncurses-devel BuildRequires: pkgconfig -BuildRequires: xz BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(libxml-2.0) -Provides: %{name} = 20150204 -Obsoletes: %{name} = 20150204 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} > 1320 +%if 0%{?suse_version} > 1320 || 0%{?is_opensuse} BuildRequires: llvm-devel %endif @@ -111,7 +105,7 @@ %{_mandir}/man1/cgcc.1%{ext_man} %{_mandir}/man1/sparse.1%{ext_man} -%if 0%{?suse_version} > 1320 +%if 0%{?suse_version} > 1320 || 0%{?is_opensuse} %files llvm %defattr(-,root,root) %{_bindir}/sparsec ++ _service ++ --- /var/tmp/diff_new_pack.1uezFZ/_old 2017-02-08 11:04:11.304747662 +0100 +++ /var/tmp/diff_new_pack.1uezFZ/_new 2017-02-08 11:04:11.304747662 +0100 @@ -1,14 +1,14 @@ - + git://git.kernel.org/pub/scm/devel/sparse/chrisl/sparse.git git enable sparse -0.5+git.%cd +%cd - + *.tar xz - + ++ sparse-0.5+git.20160223.tar.xz -> sparse-20161117.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sparse-0.5+git.20160223/Makefile new/sparse-20161117/Makefile --- old/sparse-0.5+git.20160223/Makefile2016-08-04 15:37:01.0 +0200 +++ new/sparse-20161117/Makefile2016-11-16 23:49:11.0 +0100 @@ -84,7 +84,7 @@ LLVM_PROGS := sparse-llvm $(LLVM_PROGS): LD := g++ LLVM_LDFLAGS := $(shell $(LLVM_CONFIG) --ldflags) -LLVM_CFLAGS := $(shell $(LLVM_CONFIG) --cflags | sed -e "s/-DNDEBUG//g") +LLVM_CFLAGS := $(shell $(LLVM_CONFIG) --cflags | sed -e "s/-DNDEBUG//g" | sed -e "s/-pedantic//g") LLVM_LIBS := $(shell $(LLVM_CONFIG) --libs) LLVM_LIBS += $(shell $(LLVM_CONFIG) --system-libs 2>/dev/null) PROGRAMS += $(LLVM_PROGS) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sparse-0.5+git.20160223/lib.c new/sparse-20161117/lib.c --- old/sparse-0.5+git.20160223/lib.c 2016-08-04 15:37:01.0 +0200 +++ new/sparse-20161117/lib.c 2016-11-16 23:49:11.0 +0100 @@ -888,7 +888,7 @@ add_pre_buffer("extern long double __builtin_nanl(const char *);\n"); /* And some __FORTIFY_SOURCE ones.. */ - add_pre_buffer ("extern __SIZE_TYPE__ __builtin_object_size(void *, int);\n"); + add_pre_buffer ("extern __SIZE_TYPE__ __builtin_object_size(const
commit sparse for openSUSE:Factory
Hello community, here is the log from the commit of package sparse for openSUSE:Factory checked in at 2016-08-05 18:17:50 Comparing /work/SRC/openSUSE:Factory/sparse (Old) and /work/SRC/openSUSE:Factory/.sparse.new (New) Package is "sparse" Changes: --- /work/SRC/openSUSE:Factory/sparse/sparse.changes2016-05-17 17:15:05.0 +0200 +++ /work/SRC/openSUSE:Factory/.sparse.new/sparse.changes 2016-08-05 18:17:55.0 +0200 @@ -1,0 +2,17 @@ +Thu Aug 04 13:37:04 UTC 2016 - jsl...@suse.com + +- Switch to the chrisl's repo +- Update to version 0.5+git.20160223: + * Ignore pure attribute in assignement + * Add tests for the builtin INF and nan() functions. + * sparse/parse.c: ignore hotpatch attribute + * sparse, llvm: compile: skip function prototypes to avoid SIGSEGV + * validation/prototype: regression for skipping prototypes + * ptrlist: reading deleted items in NEXT_PTR_LIST() + * .gitignore: add cscope and Qt project files + * Add default case to switches on enum variables + * Fix size calculation of unsized bool array + * Do not drop 'nocast' modifier when taking the address. +- add parse-add-support-for-no_sanitize_-attributes.patch + +--- Old: sparse-0.5+git.20150208.tar.xz New: parse-add-support-for-no_sanitize_-attributes.patch sparse-0.5+git.20160223.tar.xz Other differences: -- ++ sparse.spec ++ --- /var/tmp/diff_new_pack.GBi65m/_old 2016-08-05 18:17:56.0 +0200 +++ /var/tmp/diff_new_pack.GBi65m/_new 2016-08-05 18:17:56.0 +0200 @@ -17,13 +17,14 @@ Name: sparse -Version:0.5+git.20150208 +Version:0.5+git.20160223 Release:0 Summary:A semantic parser of source files License:MIT Group: Development/Tools/Building 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 BuildRequires: gcc-c++ BuildRequires: make @@ -79,6 +80,7 @@ %prep %setup -q +%patch0 -p1 %build make \ ++ _service ++ --- /var/tmp/diff_new_pack.GBi65m/_old 2016-08-05 18:17:56.0 +0200 +++ /var/tmp/diff_new_pack.GBi65m/_new 2016-08-05 18:17:56.0 +0200 @@ -1,6 +1,6 @@ -git://git.kernel.org/pub/scm/devel/sparse/sparse.git +git://git.kernel.org/pub/scm/devel/sparse/chrisl/sparse.git git enable sparse ++ parse-add-support-for-no_sanitize_-attributes.patch ++ From: Jiri SlabyDate: Thu, 4 Aug 2016 15:24:11 +0200 Subject: parse: add support for no_sanitize_* attributes Patch-mainline: no, submitted gcc added support for new no_sanitize_* function attributes: * no_address_safety_analysis * no_sanitize_address * no_sanitize_thread * no_sanitize_undefined The kernel uses at least no_sanitize_address as of now. So add them (and their __...__ counterparts) to ignored_attributes as we can safely ignore them. Signed-off-by: Jiri Slaby --- parse.c | 8 validation/attr-no_sanitize.c | 15 +++ 2 files changed, 23 insertions(+) create mode 100644 validation/attr-no_sanitize.c diff --git a/parse.c b/parse.c index b43d6835528b..c1ce70b2a4e5 100644 --- a/parse.c +++ b/parse.c @@ -562,6 +562,14 @@ const char *ignored_attributes[] = { "__naked__", "no_instrument_function", "__no_instrument_function__", + "no_address_safety_analysis", + "__no_address_safety_analysis__", + "no_sanitize_address", + "__no_sanitize_address__", + "no_sanitize_thread", + "__no_sanitize_thread__", + "no_sanitize_undefined", + "__no_sanitize_undefined__", "noclone", "__noclone", "__noclone__", diff --git a/validation/attr-no_sanitize.c b/validation/attr-no_sanitize.c new file mode 100644 index ..c776027ff202 --- /dev/null +++ b/validation/attr-no_sanitize.c @@ -0,0 +1,15 @@ +static void __attribute__((no_sanitize_address)) foo(void) +{ +} + +static void __attribute__((no_sanitize_thread)) bar(void) +{ +} + +static void __attribute__((no_sanitize_undefined)) baz(void) +{ +} + +/* + * check-name: attribute no_sanitize_address + */ -- 2.9.2 ++ sparse-0.5+git.20150208.tar.xz -> sparse-0.5+git.20160223.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sparse-0.5+git.20150208/c2xml.c new/sparse-0.5+git.20160223/c2xml.c --- old/sparse-0.5+git.20150208/c2xml.c 2016-05-08 12:52:56.0 +0200 +++ new/sparse-0.5+git.20160223/c2xml.c 2016-08-04 15:37:01.0 +0200 @@
commit sparse for openSUSE:Factory
Hello community, here is the log from the commit of package sparse for openSUSE:Factory checked in at 2016-05-17 17:15:02 Comparing /work/SRC/openSUSE:Factory/sparse (Old) and /work/SRC/openSUSE:Factory/.sparse.new (New) Package is "sparse" Changes: --- /work/SRC/openSUSE:Factory/sparse/sparse.changes2015-11-11 10:30:05.0 +0100 +++ /work/SRC/openSUSE:Factory/.sparse.new/sparse.changes 2016-05-17 17:15:05.0 +0200 @@ -1,0 +2,9 @@ +Sun May 8 11:08:42 UTC 2016 - mplus...@suse.com + +- Change versioning to include latest release - 0.5+git.20150208 +- Enable sparse-llvm +- Update dependencies +- Small spec file cleanup with spec-cleaner +- Make building more verbose + +--- Old: sparse-20150124.tar.xz New: sparse-0.5+git.20150208.tar.xz Other differences: -- ++ sparse.spec ++ --- /var/tmp/diff_new_pack.pfVc5G/_old 2016-05-17 17:15:06.0 +0200 +++ /var/tmp/diff_new_pack.pfVc5G/_new 2016-05-17 17:15:06.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package sparse # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,21 +17,27 @@ Name: sparse +Version:0.5+git.20150208 +Release:0 Summary:A semantic parser of source files License:MIT Group: Development/Tools/Building -Version:20150124 -Release:0 Url:https://sparse.wiki.kernel.org/index.php/Main_Page Source: sparse-%{version}.tar.xz - -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc -BuildRequires: gtk2-devel -BuildRequires: libxml2-devel +BuildRequires: gcc-c++ BuildRequires: make -BuildRequires: pkg-config +BuildRequires: ncurses-devel +BuildRequires: pkgconfig BuildRequires: xz +BuildRequires: pkgconfig(gtk+-2.0) +BuildRequires: pkgconfig(libxml-2.0) +Provides: %{name} = 20150204 +Obsoletes: %{name} = 20150204 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if 0%{?suse_version} > 1320 +BuildRequires: llvm-devel +%endif %description Sparse is a semantic parser of source files: it's neither a compiler @@ -50,46 +56,71 @@ Sparse is primarily used in the development and debugging of the Linux kernel. -%package -n sparse-devel +%package devel Summary:Devel files for sparse Group: Development/Libraries/C and C++ -%description -n sparse-devel +%description devel Development headers and libraries for sparse. -%package -n sparse-inspect +%package inspect Summary:Inspect binary from sparse Group: Development/Libraries/C and C++ -%description -n sparse-inspect +%description inspect test-inspect is a gtk frontend for sparse. +%package llvm +Summary:LLVM backed sparse +Group: Development/Libraries/C and C++ + +%description llvm +LLVM backend for sparse, including sparsec + %prep %setup -q %build -make %{?_smp_mflags} PREFIX=%{_prefix} LIBDIR=%{_libdir} MANDIR=%{_mandir} \ - PKGCONFIGDIR=%{_datadir}/pkgconfig CFLAGS="%{optflags}" +make \ + %{?_smp_mflags} \ + PREFIX=%{_prefix} \ + LIBDIR=%{_libdir} \ + MANDIR=%{_mandir} \ + PKGCONFIGDIR=%{_datadir}/pkgconfig \ + CFLAGS="%{optflags}" \ + V=1 %install -%{makeinstall} \ - PREFIX=%{_prefix} LIBDIR=%{_libdir} MANDIR=%{_mandir} \ - PKGCONFIGDIR=%{_datadir}/pkgconfig +make \ + %{?_smp_mflags} \ + DESTDIR=%{buildroot} \ + PREFIX=%{_prefix} \ + LIBDIR=%{_libdir} \ + MANDIR=%{_mandir} \ + PKGCONFIGDIR=%{_datadir}/pkgconfig \ + install %files %defattr(-,root,root) %doc LICENSE README FAQ -%{_mandir}/man?/cgcc.1.gz -%{_mandir}/man?/sparse.1.gz -%{_bindir}/c2xml %{_bindir}/cgcc +%{_bindir}/c2xml %{_bindir}/sparse +%{_mandir}/man1/cgcc.1%{ext_man} +%{_mandir}/man1/sparse.1%{ext_man} + +%if 0%{?suse_version} > 1320 +%files llvm +%defattr(-,root,root) +%{_bindir}/sparsec +%{_bindir}/sparse-llvm +%endif -%files -n sparse-inspect +%files inspect %defattr(-,root,root) %{_bindir}/test-inspect -%files -n sparse-devel +%files devel %defattr(-,root,root) %{_includedir}/sparse %{_libdir}/libsparse.a ++ _service ++ --- /var/tmp/diff_new_pack.pfVc5G/_old 2016-05-17 17:15:06.0 +0200 +++ /var/tmp/diff_new_pack.pfVc5G/_new 2016-05-17 17:15:06.0 +0200 @@ -2,8 +2,9 @@ git://git.kernel.org/pub/scm/devel/sparse/sparse.git git +enable sparse -%ad +0.5+git.%cd *.tar
commit sparse for openSUSE:Factory
Hello community, here is the log from the commit of package sparse for openSUSE:Factory checked in at 2015-11-11 10:29:47 Comparing /work/SRC/openSUSE:Factory/sparse (Old) and /work/SRC/openSUSE:Factory/.sparse.new (New) Package is "sparse" Changes: --- /work/SRC/openSUSE:Factory/sparse/sparse.changes2015-01-20 12:26:50.0 +0100 +++ /work/SRC/openSUSE:Factory/.sparse.new/sparse.changes 2015-11-11 10:30:05.0 +0100 @@ -1,0 +2,8 @@ +Fri Oct 9 10:26:19 UTC 2015 - jsl...@suse.com + +- update to 20150124 + * Teach sparse about the __COUNTER__ predefined macro + * Make macro expanded string immutable + * s390x: add the proper defines for data types + +--- Old: sparse-20141211.tar.xz New: sparse-20150124.tar.xz Other differences: -- ++ sparse.spec ++ --- /var/tmp/diff_new_pack.Z0aBzW/_old 2015-11-11 10:30:06.0 +0100 +++ /var/tmp/diff_new_pack.Z0aBzW/_new 2015-11-11 10:30:06.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package sparse # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,14 +20,16 @@ Summary:A semantic parser of source files License:MIT Group: Development/Tools/Building -Version:20141211 +Version:20150124 Release:0 Url:https://sparse.wiki.kernel.org/index.php/Main_Page Source: sparse-%{version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: gcc BuildRequires: gtk2-devel BuildRequires: libxml2-devel +BuildRequires: make BuildRequires: pkg-config BuildRequires: xz @@ -70,7 +72,7 @@ PKGCONFIGDIR=%{_datadir}/pkgconfig CFLAGS="%{optflags}" %install -make install DESTDIR=$RPM_BUILD_ROOT \ +%{makeinstall} \ PREFIX=%{_prefix} LIBDIR=%{_libdir} MANDIR=%{_mandir} \ PKGCONFIGDIR=%{_datadir}/pkgconfig ++ sparse-20141211.tar.xz -> sparse-20150124.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sparse-20141211/cgcc new/sparse-20150124/cgcc --- old/sparse-20141211/cgcc2015-01-14 15:55:41.0 +0100 +++ new/sparse-20150124/cgcc2015-10-09 12:22:11.0 +0200 @@ -279,6 +279,12 @@ _types (1, 1, 21, [24,8], [53,11], [113,15]) . _size_t ($m64 ? "long unsigned int" : "unsigned int") . ' -D__SIZEOF_POINTER__=' . ($m64 ? '8' : '4')); +} elsif ($spec eq 's390x') { + return (' -D__s390x__ -D__s390__ -D_BIG_ENDIAN' . + _types (8, 16, 32, $m64 ? 64 : 32, 64) . + _types (1, 1, 36, [24,8], [53,11], [113,15]) . + _size_t ("long unsigned int") . + ' -D__SIZEOF_POINTER__=' . ($m64 ? '8' : '4')); } elsif ($spec eq 'host_os_specs') { my $os = `uname -s`; chomp $os; @@ -294,6 +300,8 @@ return _specs ('x86_64'); } elsif ($arch =~ /^(ppc)$/i) { return _specs ('ppc'); + } elsif ($arch =~ /^(s390x)$/i) { + return _specs ('s390x'); } elsif ($arch =~ /^(sparc64)$/i) { return _specs ('sparc64'); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sparse-20141211/char.c new/sparse-20150124/char.c --- old/sparse-20141211/char.c 2015-01-14 15:55:41.0 +0100 +++ new/sparse-20150124/char.c 2015-10-09 12:22:11.0 +0200 @@ -93,6 +93,7 @@ static char buffer[MAX_STRING]; int len = 0; int bits; + int esc_count = 0; while (!done) { switch (token_type(next)) { @@ -111,6 +112,8 @@ const char *p = token->string->data; const char *end = p + token->string->length - 1; while (p < end) { + if (*p == '\\') + esc_count++; p = parse_escape(p, , end, bits, token->pos); if (len < MAX_STRING) buffer[len] = v; @@ -123,11 +126,13 @@ len = MAX_STRING; } - if (len >= string->length) /* can't cannibalize */ - string = __alloc_string(len+1); - string->length = len+1; - memcpy(string->data, buffer, len); - string->data[len] = '\0'; + if (esc_count || len >= string->length) { + if (string->immutable || len >= string->length) /* can't
commit sparse for openSUSE:Factory
Hello community, here is the log from the commit of package sparse for openSUSE:Factory checked in at 2015-01-20 12:26:47 Comparing /work/SRC/openSUSE:Factory/sparse (Old) and /work/SRC/openSUSE:Factory/.sparse.new (New) Package is sparse Changes: --- /work/SRC/openSUSE:Factory/sparse/sparse.changes2014-05-17 06:43:34.0 +0200 +++ /work/SRC/openSUSE:Factory/.sparse.new/sparse.changes 2015-01-20 12:26:50.0 +0100 @@ -1,0 +2,46 @@ +Wed Jan 14 14:56:18 UTC 2015 - jsl...@suse.com + +- update to 20141211 + * Ptr list sorting should use memmove instead of memcpy + * build: allow use of PKG_CONFIG to override pkg-config + * compile-i386.c: don't ignore return value of write(2) + * parse.c: remove duplicate 'may_alias' ignored_attributes + * cgcc: avoid passing a sparse-only option to cc + * test-suite: remove bashism to avoid test failures + * teach next_designators() use array_element_offset() + * cgcc: use $ccom to set $multiarch_dir if not specified + * cgcc: use only the cc command to determine $gcc_base_dir + * Add support for multiarch system header files + * don't run sparse{c,i} tests when sparse-llvm is disabled + * Makefile: suppress error message from shell + * don't call isdigit/tolower with a char argument + * sparse: add 'gnu_inline' to the ignored attributes + * Add the __restrict__ keyword + * sparse: treat function pointers as pointers to const data + * rename -Werror to -Wsparse-error + * sparse: Make -Werror turn warnigns into errors + * Use LLVM_CONFIG instead of llvm-config in Makefile + * sparse-llvm: Fix LLVM 3.5 linker errors + * Fix initializers in anonymous structs and unions + * Make same_symbol list share the same scope + * Fix scoping of extern symbols in block scope + * round up the array element size to byte align + * sparse: make bits_to_bytes round up instead of down + * Minor clean up for option handling + * lib.c: skip --param parameters + * parse: support c99 [static ...] in abstract array declarators + * sparse{i,c}: use LLVM_CONFIG to find llc and lli + * build: allow use of LLVM_CONFIG to override llvm-config config script + * Fix error at anoymous unions + * Add test case for the ioc type check + * Add test case for anonymous union initializer + * Add test case for extern array + * Use any previous initializer to size a symbol + * Add warning about duplicate initializers + * Support GCC's transparent unions + * evaluate: split out implementation of compatible_assignment_types + * validation/sizeof-bool: fix broken test case + * sparse: Allow override of sizeof(bool) warning + * Define __CHAR_BIT__ + +--- @@ -4 +50 @@ -- change Licence to new MIT +- change License to new MIT Old: sparse-20140128.tar.xz New: sparse-20141211.tar.xz Other differences: -- ++ sparse.spec ++ --- /var/tmp/diff_new_pack.aTPqnR/_old 2015-01-20 12:26:51.0 +0100 +++ /var/tmp/diff_new_pack.aTPqnR/_new 2015-01-20 12:26:51.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package sparse # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -20,7 +20,7 @@ Summary:A semantic parser of source files License:MIT Group: Development/Tools/Building -Version:20140128 +Version:20141211 Release:0 Url:https://sparse.wiki.kernel.org/index.php/Main_Page Source: sparse-%{version}.tar.xz ++ sparse-20140128.tar.xz - sparse-20141211.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sparse-20140128/Makefile new/sparse-20141211/Makefile --- old/sparse-20140128/Makefile2014-05-15 17:52:44.0 +0200 +++ new/sparse-20141211/Makefile2015-01-14 15:55:41.0 +0100 @@ -17,6 +17,7 @@ LDFLAGS += -g LD = gcc AR = ar +PKG_CONFIG = pkg-config ALL_CFLAGS = $(CFLAGS) $(BASIC_CFLAGS) # @@ -25,18 +26,20 @@ # CFLAGS += -O0 -DDEBUG -g3 -gdwarf-2 # -HAVE_LIBXML:=$(shell pkg-config --exists libxml-2.0 2/dev/null echo 'yes') +HAVE_LIBXML:=$(shell $(PKG_CONFIG) --exists libxml-2.0 2/dev/null echo 'yes') HAVE_GCC_DEP:=$(shell touch .gcc-test.c \ $(CC) -c -Wp,-MD,.gcc-test.d .gcc-test.c 2/dev/null \ echo 'yes'; rm -f .gcc-test.d .gcc-test.o .gcc-test.c) -HAVE_GTK2:=$(shell pkg-config --exists gtk+-2.0 2/dev/null echo 'yes') -HAVE_LLVM:=$(shell
commit sparse for openSUSE:Factory
Hello community, here is the log from the commit of package sparse for openSUSE:Factory checked in at 2014-05-17 06:43:28 Comparing /work/SRC/openSUSE:Factory/sparse (Old) and /work/SRC/openSUSE:Factory/.sparse.new (New) Package is sparse Changes: --- /work/SRC/openSUSE:Factory/sparse/sparse.changes2013-05-27 10:02:34.0 +0200 +++ /work/SRC/openSUSE:Factory/.sparse.new/sparse.changes 2014-05-17 06:43:34.0 +0200 @@ -1,0 +2,44 @@ +Thu May 15 15:39:26 UTC 2014 - danny.al-g...@bisect.de + +- change Licence to new MIT +- update to latest git version 20140128 (sparse verion 0.5.0) + - Sparse 0.5.0 + - Fix make dist failure + - sparse: add built-in atomic memory access identifiers + - gitignore: add 'version.h' + - Update the information in README about using the library. + - sparse: Also check bit_offset when checking implicit casts + - FAQ: Remove outdated sections about the license + - sparse: Relicense under the MIT license + - Revert Fix mistaken comparison that becomes a no-op. + - Revert Update the information in README about using the +library. + - sparse: add __builtin_va_arg_pack() and +__builtin_va_arg_pack_len() + - Fix expression type for floating point negation ('!') + - Fix result type of relational and logical operators + - symbol.c: Set correct size of array from parenthesized +string initializer + - sparse, llvm: die if error + - sparse, llvm: set more data attributes + - sparse, llvm: fix struct name generation + - sparse, llvm: cache symbol_type() result + - sparse, llvm: fix array size + - sparse, llvm: use LLVM_DEFAULT_TARGET_TRIPLE + - sparse, llvm: Use LLVM_HOSTTRIPLE + - sparse, llvm: set target specification + - sparse, llvm: improve pointer arithmetic handling + - sparse, llvm: add a struct access test case + - sparse, llvm: base load/store address type on +insn_symbol_type() + - sparse, llvm: de-duplicate load/store address calculation code + - sparse, llvm: Fix resulting type of store address calculations + - sparse, llvm: simplify function generation + - sparse, llvm: fix phi generation + - char.c: Fix parsing of escapes + - Trivial: Remove redundant Makefile variable + - sparse, llvm: fix link errors + - fix SIGFPE caused by signed division overflow + - Novafora license grant using MIT license. + +--- Old: sparse-20130425.tar.xz New: sparse-20140128.tar.xz Other differences: -- ++ sparse.spec ++ --- /var/tmp/diff_new_pack.IU4qPG/_old 2014-05-17 06:43:35.0 +0200 +++ /var/tmp/diff_new_pack.IU4qPG/_new 2014-05-17 06:43:35.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package sparse # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 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 @@ -18,9 +18,9 @@ Name: sparse Summary:A semantic parser of source files -License:SUSE-OSL-1.1 +License:MIT Group: Development/Tools/Building -Version:20130425 +Version:20140128 Release:0 Url:https://sparse.wiki.kernel.org/index.php/Main_Page Source: sparse-%{version}.tar.xz ++ sparse-20130425.tar.xz - sparse-20140128.tar.xz ++ 2460 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit sparse for openSUSE:Factory
Hello community, here is the log from the commit of package sparse for openSUSE:Factory checked in at 2013-05-27 10:02:32 Comparing /work/SRC/openSUSE:Factory/sparse (Old) and /work/SRC/openSUSE:Factory/.sparse.new (New) Package is sparse Changes: --- /work/SRC/openSUSE:Factory/sparse/sparse.changes2013-03-10 09:13:10.0 +0100 +++ /work/SRC/openSUSE:Factory/.sparse.new/sparse.changes 2013-05-27 10:02:34.0 +0200 @@ -1,0 +2,6 @@ +Mon May 20 13:12:53 UTC 2013 - jsl...@suse.com + +- update to 20130425 + * many fixes + +--- Old: sparse-20130225.tar.xz New: sparse-20130425.tar.xz Other differences: -- ++ sparse.spec ++ --- /var/tmp/diff_new_pack.pD8nAM/_old 2013-05-27 10:02:35.0 +0200 +++ /var/tmp/diff_new_pack.pD8nAM/_new 2013-05-27 10:02:35.0 +0200 @@ -20,7 +20,7 @@ Summary:A semantic parser of source files License:SUSE-OSL-1.1 Group: Development/Tools/Building -Version:20130225 +Version:20130425 Release:0 Url:https://sparse.wiki.kernel.org/index.php/Main_Page Source: sparse-%{version}.tar.xz ++ sparse-20130225.tar.xz - sparse-20130425.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sparse-20130225/Makefile new/sparse-20130425/Makefile --- old/sparse-20130225/Makefile2013-03-09 10:45:43.0 +0100 +++ new/sparse-20130425/Makefile2013-05-20 15:12:32.0 +0200 @@ -1,5 +1,13 @@ VERSION=0.4.4 +# Generating file version.h if current version has changed +SPARSE_VERSION:=$(shell git describe 2/dev/null || echo '$(VERSION)') +VERSION_H := $(shell cat version.h 2/dev/null) +ifneq ($(lastword $(VERSION_H)),$(SPARSE_VERSION)) +$(info $(shell echo ' GEN 'version.h)) +$(shell echo '#define SPARSE_VERSION $(SPARSE_VERSION)' version.h) +endif + OS = linux @@ -191,7 +199,7 @@ rm -f *.[oa] .*.d *.so $(PROGRAMS) $(SLIB_FILE) pre-process.h sparse.pc dist: - @if test `git describe` != v$(VERSION) ; then \ + @if test v$(SPARSE_VERSION) != v$(VERSION) ; then \ echo 'Update VERSION in the Makefile before running make dist.' ; \ exit 1 ; \ fi diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sparse-20130225/cgcc new/sparse-20130425/cgcc --- old/sparse-20130225/cgcc2013-03-09 10:45:43.0 +0100 +++ new/sparse-20130425/cgcc2013-05-20 15:12:32.0 +0200 @@ -240,27 +240,32 @@ return (' -Di386=1 -D__i386=1 -D__i386__=1' . integer_types (8, 16, 32, $m64 ? 64 : 32, 64) . float_types (1, 1, 21, [24,8], [53,11], [64,15]) . - define_size_t ($m64 ? long unsigned int : unsigned int)); + define_size_t ($m64 ? long unsigned int : unsigned int) . + ' -D__SIZEOF_POINTER__=' . ($m64 ? '8' : '4')); } elsif ($spec eq 'sparc') { return (' -Dsparc=1 -D__sparc=1 -D__sparc__=1' . integer_types (8, 16, 32, $m64 ? 64 : 32, 64) . float_types (1, 1, 33, [24,8], [53,11], [113,15]) . - define_size_t ($m64 ? long unsigned int : unsigned int)); + define_size_t ($m64 ? long unsigned int : unsigned int) . + ' -D__SIZEOF_POINTER__=' . ($m64 ? '8' : '4')); } elsif ($spec eq 'sparc64') { return (' -Dsparc=1 -D__sparc=1 -D__sparc__=1 -D__sparcv9__=1 -D__sparc64__=1 -D__arch64__=1 -D__LP64__=1' . integer_types (8, 16, 32, 64, 64, 128) . float_types (1, 1, 33, [24,8], [53,11], [113,15]) . - define_size_t (long unsigned int)); + define_size_t (long unsigned int) . + ' -D__SIZEOF_POINTER__=8'); } elsif ($spec eq 'x86_64') { return (' -Dx86_64=1 -D__x86_64=1 -D__x86_64__=1' . ($m32 ? '' : ' -D__LP64__=1') . integer_types (8, 16, 32, $m32 ? 32 : 64, 64, 128) . float_types (1, 1, 33, [24,8], [53,11], [113,15]) . - define_size_t ($m32 ? unsigned int : long unsigned int)); + define_size_t ($m32 ? unsigned int : long unsigned int) . + ' -D__SIZEOF_POINTER__=' . ($m32 ? '4' : '8')); } elsif ($spec eq 'ppc') { return (' -D__powerpc__=1 -D_BIG_ENDIAN -D_STRING_ARCH_unaligned=1' . integer_types (8, 16, 32, $m64 ? 64 : 32, 64) . float_types (1, 1, 21, [24,8], [53,11], [113,15]) . - define_size_t ($m64 ? long unsigned int : unsigned int)); + define_size_t ($m64 ? long unsigned int :
commit sparse for openSUSE:Factory
Hello community, here is the log from the commit of package sparse for openSUSE:Factory checked in at 2013-03-10 09:13:09 Comparing /work/SRC/openSUSE:Factory/sparse (Old) and /work/SRC/openSUSE:Factory/.sparse.new (New) Package is sparse, Maintainer is jsl...@suse.com Changes: --- /work/SRC/openSUSE:Factory/sparse/sparse.changes2012-10-29 20:15:20.0 +0100 +++ /work/SRC/openSUSE:Factory/.sparse.new/sparse.changes 2013-03-10 09:13:10.0 +0100 @@ -1,0 +2,12 @@ +Sat Mar 9 09:56:06 UTC 2013 - jsl...@suse.com + +- update to the latest snapshot (20130225) + * they stopped releasing, we have to use snapshots + * many fixes + * remove these: +- sparse-0.4.4-add_error_to_ignore.patch +- sparse-0.4.4-add_leaf_to_ignore.patch +- sparse-0.4.4-add_m64_support.patch +- sparse-0.4.4-add_vector_size_to_ignore.patch + +--- Old: sparse-0.4.4-add_error_to_ignore.patch sparse-0.4.4-add_leaf_to_ignore.patch sparse-0.4.4-add_m64_support.patch sparse-0.4.4-add_vector_size_to_ignore.patch sparse-0.4.4.tar.xz New: _service sparse-20130225.tar.xz Other differences: -- ++ sparse.spec ++ --- /var/tmp/diff_new_pack.DLGMUm/_old 2013-03-10 09:13:11.0 +0100 +++ /var/tmp/diff_new_pack.DLGMUm/_new 2013-03-10 09:13:11.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package sparse # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 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 @@ -20,15 +20,10 @@ Summary:A semantic parser of source files License:SUSE-OSL-1.1 Group: Development/Tools/Building -Version:0.4.4 +Version:20130225 Release:0 Url:https://sparse.wiki.kernel.org/index.php/Main_Page -Source: http://www.kernel.org/pub/software/devel/sparse/dist/sparse-%{version}.tar.xz - -Patch0: sparse-0.4.4-add_leaf_to_ignore.patch -Patch1: sparse-0.4.4-add_vector_size_to_ignore.patch -Patch2: sparse-0.4.4-add_error_to_ignore.patch -Patch3: sparse-0.4.4-add_m64_support.patch +Source: sparse-%{version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gtk2-devel @@ -53,13 +48,6 @@ Sparse is primarily used in the development and debugging of the Linux kernel. - - -Authors: - -Linus Torvalds -Josh Triplett - %package -n sparse-devel Summary:Devel files for sparse Group: Development/Libraries/C and C++ @@ -77,11 +65,6 @@ %prep %setup -q -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 - %build make %{?_smp_mflags} PREFIX=%{_prefix} LIBDIR=%{_libdir} MANDIR=%{_mandir} \ PKGCONFIGDIR=%{_datadir}/pkgconfig CFLAGS=%{optflags} ++ _service ++ services service mode=localonly name=tar_scm param name=urlgit://git.kernel.org/pub/scm/devel/sparse/sparse.git/param param name=scmgit/param param name=filenamesparse/param param name=versionformat%ad/param /service service mode=localonly name=recompress param name=file*.tar/param param name=compressionxz/param /service service mode=localonly name=set_version/ /services ++ sparse-0.4.4.tar.xz - sparse-20130225.tar.xz ++ 4268 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit sparse for openSUSE:Factory
Hello community, here is the log from the commit of package sparse for openSUSE:Factory checked in at 2012-02-14 11:27:12 Comparing /work/SRC/openSUSE:Factory/sparse (Old) and /work/SRC/openSUSE:Factory/.sparse.new (New) Package is sparse, Maintainer is gre...@suse.com Changes: --- /work/SRC/openSUSE:Factory/sparse/sparse.changes2011-09-23 12:46:42.0 +0200 +++ /work/SRC/openSUSE:Factory/.sparse.new/sparse.changes 2012-02-14 11:27:21.0 +0100 @@ -1,0 +2,16 @@ +Mon Feb 6 12:21:02 UTC 2012 - cfarr...@suse.com + +- license update: SUSE-OSL-1.1 + Spec file licenses are written in SPDX compatible format. Where there is + no short name available at spdx.org/licenses use one of the SUSE- + proprietary prefixes until the license is pushed upstream. In this case + SUSE-OSL-1.1 + +--- +Sun Jan 5 13:13:13 CEST 2012 - jsl...@suse.de + +- update to 0.4.4 + * fixes in asm handling, binary constants and others + * some other cleanups + +--- Old: _service fix-build-with-GCC-4.6-series.patch gtk-cflags-fix.patch sparse-0.4.3.tar.bz2 sparse-gcc_base-fix.patch New: sparse-0.4.4.tar.xz Other differences: -- ++ sparse.spec ++ --- /var/tmp/diff_new_pack.Scqc34/_old 2012-02-14 11:27:23.0 +0100 +++ /var/tmp/diff_new_pack.Scqc34/_new 2012-02-14 11:27:23.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package sparse # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 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 @@ -15,23 +15,20 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: sparse Summary:A semantic parser of source files -License:Open Software License 1.1 +License:SUSE-OSL-1.1 Group: Development/Tools/Building -Version:0.4.3 +Version:0.4.4 Release:0 -AutoReqProv:on Url:https://sparse.wiki.kernel.org/index.php/Main_Page -Source: http://www.kernel.org/pub/software/devel/sparse/dist/sparse-%{version}.tar.bz2 -Patch0: sparse-gcc_base-fix.patch -Patch1: fix-build-with-GCC-4.6-series.patch -Patch2: gtk-cflags-fix.patch +Source: http://www.kernel.org/pub/software/devel/sparse/dist/sparse-%{version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: gtk2-devel libxml2-devel pkg-config +BuildRequires: gtk2-devel +BuildRequires: libxml2-devel +BuildRequires: pkg-config xz %description Sparse is a semantic parser of source files: it's neither a compiler @@ -58,7 +55,6 @@ Josh Triplett %package -n sparse-devel -License:Open Software License 1.1 Summary:Devel files for sparse Group: Development/Libraries/C and C++ @@ -66,7 +62,6 @@ Development headers and libraries for sparse. %package -n sparse-inspect -License:Open Software License 1.1 Summary:Inspect binary from sparse Group: Development/Libraries/C and C++ @@ -75,9 +70,6 @@ %prep %setup -q -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 %build make %{?_smp_mflags} PREFIX=%{_prefix} LIBDIR=%{_libdir} MANDIR=%{_mandir} \ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit sparse for openSUSE:Factory
Hello community, here is the log from the commit of package sparse for openSUSE:Factory checked in at Tue Sep 20 09:38:57 CEST 2011. --- sparse/sparse.changes 2011-04-30 11:07:57.0 +0200 +++ /mounts/work_src_done/STABLE/sparse/sparse.changes 2011-09-19 17:18:59.0 +0200 @@ -1,0 +2,5 @@ +Mon Sep 19 15:18:30 UTC 2011 - co...@suse.com + +- make the _service localonly + +--- calling whatdependson for head-i586 Old: _service:recompress:tar_scm:sparse-0.4.3.tar.bz2 _service:set_version:sparse.spec New: sparse-0.4.3.tar.bz2 Other differences: -- ++ sparse.spec ++ --- /var/tmp/diff_new_pack.zi7pYD/_old 2011-09-20 09:38:53.0 +0200 +++ /var/tmp/diff_new_pack.zi7pYD/_new 2011-09-20 09:38:53.0 +0200 @@ -23,7 +23,7 @@ License:Open Software License 1.1 Group: Development/Tools/Building Version:0.4.3 -Release:1 +Release:0 AutoReqProv:on Url:https://sparse.wiki.kernel.org/index.php/Main_Page Source: http://www.kernel.org/pub/software/devel/sparse/dist/sparse-%{version}.tar.bz2 ++ _service ++ --- /var/tmp/diff_new_pack.zi7pYD/_old 2011-09-20 09:38:53.0 +0200 +++ /var/tmp/diff_new_pack.zi7pYD/_new 2011-09-20 09:38:53.0 +0200 @@ -1,13 +1,13 @@ services - service name=tar_scm + service name=tar_scm mode=localonly param name=urlgit://git.kernel.org/pub/scm/devel/sparse/sparse.git/param param name=scmgit/param param name=revisionv0.4.3/param param name=version0.4.3/param /service - service name=recompress + service name=recompress mode=localonly param name=file_service:tar_scm:sparse-*.tar/param param name=compressionbz2/param /service - service name=set_version/ + service name=set_version mode=localonly/ /services Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit sparse for openSUSE:Factory
Hello community, here is the log from the commit of package sparse for openSUSE:Factory checked in at Tue May 3 09:11:40 CEST 2011. --- sparse/sparse.changes 2010-10-31 19:04:49.0 +0100 +++ /mounts/work_src_done/STABLE/sparse/sparse.changes 2011-04-30 11:07:57.0 +0200 @@ -1,0 +2,15 @@ +Sat Apr 30 10:29:13 CEST 2011 - jsl...@suse.de + +- fix build with gcc 4.6 +- package test-inspect and c2xml +- update to 0.4.3 + * Fixup and cleanup modifier_string() function. + * inspect: add custom ast treeview model + * inspect: add some example inspect for symbol and statement + * inspect: add some expression inspection + * inspect: Add test-inspect program + * inspect: cast expression + * parser: add Blackfin gcc info + * skip may_alias and declare builtin_fabs + +--- calling whatdependson for head-i586 Old: sparse-v0.4.2-26-g8832df8.tar.bz2 New: _service _service:recompress:tar_scm:sparse-0.4.3.tar.bz2 _service:set_version:sparse.spec fix-build-with-GCC-4.6-series.patch gtk-cflags-fix.patch Other differences: -- ++ _service:set_version:sparse.spec ++ # # spec file for package sparse # # 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An Open Source License is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: sparse Summary:A semantic parser of source files License:Open Software License 1.1 Group: Development/Tools/Building Version:0.4.3 Release:1 AutoReqProv:on Url:https://sparse.wiki.kernel.org/index.php/Main_Page Source: http://www.kernel.org/pub/software/devel/sparse/dist/sparse-%{version}.tar.bz2 Patch0: sparse-gcc_base-fix.patch Patch1: fix-build-with-GCC-4.6-series.patch Patch2: gtk-cflags-fix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gtk2-devel libxml2-devel pkg-config %description Sparse is a semantic parser of source files: it's neither a compiler (although it could be used as a front-end for one) nor is it a preprocessor (although it contains as a part of it a preprocessing phase). It is meant to be a small - and simple - library. Scanty and meager, and partly because of that easy to use. It has one mission in life: create a semantic parse tree for some arbitrary user for further analysis. It's not a tokenizer, nor is it some generic context-free parser. In fact, context (semantics) is what it's all about - figuring out not just what the grouping of tokens are, but what the _types_ are that the grouping implies. Sparse is primarily used in the development and debugging of the Linux kernel. Authors: Linus Torvalds Josh Triplett %package -n sparse-devel License:Open Software License 1.1 Summary:Devel files for sparse Group: Development/Libraries/C and C++ %description -n sparse-devel Development headers and libraries for sparse. %package -n sparse-inspect License:Open Software License 1.1 Summary:Inspect binary from sparse Group: Development/Libraries/C and C++ %description -n sparse-inspect test-inspect is a gtk frontend for sparse. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %build make %{?_smp_mflags} PREFIX=%{_prefix} LIBDIR=%{_libdir} MANDIR=%{_mandir} \ PKGCONFIGDIR=%{_datadir}/pkgconfig CFLAGS=%{optflags} %install make install DESTDIR=$RPM_BUILD_ROOT \ PREFIX=%{_prefix} LIBDIR=%{_libdir} MANDIR=%{_mandir} \ PKGCONFIGDIR=%{_datadir}/pkgconfig %files %defattr(-,root,root) %doc LICENSE README FAQ %{_mandir}/man?/cgcc.1.gz %{_mandir}/man?/sparse.1.gz %{_bindir}/c2xml %{_bindir}/cgcc %{_bindir}/sparse %files -n sparse-inspect %defattr(-,root,root) %{_bindir}/test-inspect %files -n sparse-devel %defattr(-,root,root) %{_includedir}/sparse %{_libdir}/libsparse.a %{_datadir}/pkgconfig/sparse.pc %changelog ++ sparse.spec ++ --- /var/tmp/diff_new_pack.rqnBEm/_old 2011-05-03 09:09:23.0 +0200 +++ /var/tmp/diff_new_pack.rqnBEm/_new 2011-05-03 09:09:23.0 +0200 @@ -1,7 +1,7 @@ # -# spec file for package sparse (Version 0.4.2.git1) +# spec file for package sparse # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.