SHA256
1
0
forked from pool/sparse

71 Commits

Author SHA256 Message Date
84a278dfc6 Accepting request 1153112 from devel:tools:statica
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1153112
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sparse?expand=0&rev=48
2024-02-29 20:50:01 +00:00
c97d9db32b up to 0.6.4+20240203
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/sparse?expand=0&rev=53
2024-02-22 07:58:34 +00:00
dc558e18a7 Accepting request 1076899 from devel:tools:statica
- don't build llvm parts. It requires llvm < 16.

OBS-URL: https://build.opensuse.org/request/show/1076899
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sparse?expand=0&rev=47
2023-04-03 15:46:47 +00:00
c84c7acfe3 disable llvm
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/sparse?expand=0&rev=51
2023-04-03 11:06:29 +00:00
7dd9674f33 Accepting request 1041805 from devel:tools:statica
- As per previous entry, switch to _service
- Propagate optflags to LDFLAGS too
- Enable semind

- Development of sparse no longer results in a new tarball, but it is
  contained in a repo at git://git.kernel.org/pub/scm/devel/sparse/sparse.git.
  As a result, the openSUSE package has gotten out of date. In particular,
  it shows lots of ./arch/x86/include/asm/bitops.h:239:9: warning: unreplaced symbol 'return'
  for inlined routines. These obscure any actual problems with the code being
  checked. In the future, the package should be maintained from the git repo, but
  in the interim to provide a useful version of sparse, I cloned the git repo, converted
  it into a tarball, and modified the spec file.
  The last several commits are summarized as follows:
    * fix "unreplaced" warnings caused by using typeof() on inline functions
    * cleanup related to inlining of variadic functions
    * inline: free symbol list after use
    * inline: allocate statement after guards
    * inline: avoid needless intermediate vars
    * inline: declaration of the variadic vars is useless
    * inline: comment about creating node of node on variadics
    * inline: add testcases for inlining of variadics
    * fix "unreplaced" warnings caused by using typeof() on inline functions

OBS-URL: https://build.opensuse.org/request/show/1041805
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sparse?expand=0&rev=46
2022-12-09 12:18:23 +00:00
6fa7b3c6d6 more fixes
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/sparse?expand=0&rev=49
2022-12-09 08:08:11 +00:00
b5265bd16d fix link
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/sparse?expand=0&rev=48
2022-12-09 08:01:52 +00:00
afb32758c5 add _service
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/sparse?expand=0&rev=47
2022-12-09 07:57:58 +00:00
2490b9d081 Accepting request 1040832 from home:lwfinger:branches:devel:tools:statica
- Development of sparse no longer results in a new tarball, but it is
  contained in a repo at git://git.kernel.org/pub/scm/devel/sparse/sparse.git.
  As a result, the openSUSE package has gotten out of date. In particular,
  it shows lots of ./arch/x86/include/asm/bitops.h:239:9: warning: unreplaced symbol 'return'
  for inlined routines. These obscure any actual problems with the code being
  checked. In the future, the package should be maintained from the git repo, but
  in the interim to provide a useful version of sparse, I cloned the git repo, converted
  it into a tarball, and modified the spec file.
  The last several commits are summarized as follows:
    * fix "unreplaced" warnings caused by using typeof() on inline functions
    * cleanup related to inlining of variadic functions
    * inline: free symbol list after use
    * inline: allocate statement after guards
    * inline: avoid needless intermediate vars
    * inline: declaration of the variadic vars is useless
    * inline: comment about creating node of node on variadics
    * inline: add testcases for inlining of variadics
    * fix "unreplaced" warnings caused by using typeof() on inline functions

OBS-URL: https://build.opensuse.org/request/show/1040832
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/sparse?expand=0&rev=46
2022-12-07 06:48:36 +00:00
6939e0b579 Accepting request 944145 from devel:tools:statica
OBS-URL: https://build.opensuse.org/request/show/944145
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sparse?expand=0&rev=45
2022-01-06 14:51:18 +00:00
ffc172f281 Accepting request 944125 from home:berny:branches:devel:tools:statica
- Update to version 0.6.4:
  * For full list of changes see:
  https://sparse.docs.kernel.org/en/latest/release-notes/v0.6.4.html
- sparse.spec: update URL to project home page.

OBS-URL: https://build.opensuse.org/request/show/944125
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/sparse?expand=0&rev=45
2022-01-06 05:45:47 +00:00
26e72f884d Accepting request 867123 from devel:tools:statica
- Update to version 0.6.3:
  * For full list of changes see:
  https://sparse.docs.kernel.org/en/latest/release-notes/v0.6.3.html
- Drop upstreamed 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 (forwarded request 867120 from pluskalm)

OBS-URL: https://build.opensuse.org/request/show/867123
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sparse?expand=0&rev=44
2021-01-27 17:58:22 +00:00
0417786abc Accepting request 867120 from home:pluskalm:branches:devel:tools:statica
- Update to version 0.6.3:
  * For full list of changes see:
  https://sparse.docs.kernel.org/en/latest/release-notes/v0.6.3.html
- Drop upstreamed 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

OBS-URL: https://build.opensuse.org/request/show/867120
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/sparse?expand=0&rev=43
2021-01-27 09:29:44 +00:00
db2017ef3c Accepting request 837254 from devel:tools:statica
- 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

OBS-URL: https://build.opensuse.org/request/show/837254
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sparse?expand=0&rev=43
2020-09-25 14:35:40 +00:00
0ea80e5094 add patches
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/sparse?expand=0&rev=41
2020-09-25 05:32:52 +00:00
0adfbe2188 Accepting request 834835 from devel:tools:statica
OBS-URL: https://build.opensuse.org/request/show/834835
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sparse?expand=0&rev=42
2020-09-16 17:39:12 +00:00
3c877b4051 Accepting request 834811 from home:dirkmueller:branches:devel:tools:statica
- 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

OBS-URL: https://build.opensuse.org/request/show/834811
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/sparse?expand=0&rev=39
2020-09-16 08:09:32 +00:00
00d530b2b1 Accepting request 812801 from devel:tools:statica
- 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

OBS-URL: https://build.opensuse.org/request/show/812801
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sparse?expand=0&rev=41
2020-06-09 22:49:42 +00:00
b1e3f2ab82 up to 0.6.1+20200606
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/sparse?expand=0&rev=37
2020-06-09 07:39:27 +00:00
99d25f5d36 Accepting request 795670 from devel:tools:statica
OBS-URL: https://build.opensuse.org/request/show/795670
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sparse?expand=0&rev=40
2020-04-21 11:07:43 +00:00
3c518b159d Accepting request 795307 from home:pluskalm:branches:devel:tools:statica
- 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

OBS-URL: https://build.opensuse.org/request/show/795307
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/sparse?expand=0&rev=35
2020-04-20 07:10:48 +00:00
7680385ec3 Accepting request 770523 from devel:tools:statica
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/770523
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sparse?expand=0&rev=39
2020-02-07 14:52:44 +00:00
85a090505e up to 0.6.1+20200129
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/sparse?expand=0&rev=33
2020-01-30 10:32:47 +00:00
35273bbfb7 Accepting request 745101 from devel:tools:statica
- 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

OBS-URL: https://build.opensuse.org/request/show/745101
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sparse?expand=0&rev=38
2019-11-04 16:16:07 +00:00
d4d9017d74 up to 0.6.1+20191101
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/sparse?expand=0&rev=31
2019-11-04 08:07:41 +00:00
7e26319ad9 Accepting request 736791 from devel:tools:statica
- 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...

OBS-URL: https://build.opensuse.org/request/show/736791
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sparse?expand=0&rev=37
2019-10-10 09:53:18 +00:00
c98cb0af79 up to 0.6.1rc2+20191007
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/sparse?expand=0&rev=29
2019-10-10 07:03:40 +00:00
dfa4b349fc Accepting request 720031 from devel:tools:statica
update and fix build failure

OBS-URL: https://build.opensuse.org/request/show/720031
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sparse?expand=0&rev=36
2019-07-31 12:37:20 +00:00
92b27bbe5e up to 0.6.1rc1+20190404
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/sparse?expand=0&rev=27
2019-07-31 10:14:59 +00:00
f6bfa3a42d Accepting request 701632 from devel:tools:statica
OBS-URL: https://build.opensuse.org/request/show/701632
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sparse?expand=0&rev=35
2019-05-10 07:19:22 +00:00
11f83215c7 Accepting request 701631 from home:olh:branches:devel:tools:statica
- Install pkgconfig into libdir instead of datadir

OBS-URL: https://build.opensuse.org/request/show/701631
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/sparse?expand=0&rev=25
2019-05-08 17:15:22 +00:00
0f848b781f Accepting request 597806 from devel:tools:statica
- Run spec-clener
- Build llvm based parts only on x86_64

- Update to version 20180324:
  * Sparse v0.5.2

- 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

OBS-URL: https://build.opensuse.org/request/show/597806
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sparse?expand=0&rev=34
2018-04-19 13:32:02 +00:00
e03ee5f021 - Run spec-clener
- Build llvm based parts only on x86_64

OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/sparse?expand=0&rev=23
2018-04-18 14:16:12 +00:00
d3b4c4c4a1 OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/sparse?expand=0&rev=22 2018-04-18 07:25:02 +00:00
b34e0dadb9 Accepting request 597409 from home:mwilck:branches:devel:tools:statica
- Update to version 20180324:
  * Sparse v0.5.2 (boo#1089833)

OBS-URL: https://build.opensuse.org/request/show/597409
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/sparse?expand=0&rev=21
2018-04-18 07:24:48 +00:00
750d964c84 Accepting request 590780 from home:dsterba:branches:devel:tools:statica
- Update to version 20180303:

non-x86_64 arches are broken for various reasons. Tumbleweed/x86_64 works.

OBS-URL: https://build.opensuse.org/request/show/590780
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/sparse?expand=0&rev=20
2018-03-30 09:48:52 +00:00
6dcace28d9 Accepting request 491193 from devel:tools:statica
- 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.

OBS-URL: https://build.opensuse.org/request/show/491193
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sparse?expand=0&rev=33
2017-04-28 07:13:43 +00:00
a65f5c444f up to 20170216
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/sparse?expand=0&rev=17
2017-04-26 06:24:55 +00:00
e191979270 up to 20170216
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/sparse?expand=0&rev=16
2017-04-26 06:22:10 +00:00
0ba3bb7b47 use clang for sparse-llvm
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/sparse?expand=0&rev=15
2017-04-26 06:18:34 +00:00
181b8ac503 OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/sparse?expand=0&rev=14 2017-04-26 06:06:58 +00:00
fa9d4c3836 use clang for sparse-llvm
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/sparse?expand=0&rev=13
2017-04-26 06:00:02 +00:00
21bda0e91f Accepting request 454634 from devel:tools:statica
- Update to version 20161117 (boo#1023536):

OBS-URL: https://build.opensuse.org/request/show/454634
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sparse?expand=0&rev=32
2017-02-08 10:04:09 +00:00
c41f67c91f OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/sparse?expand=0&rev=11 2017-02-04 10:13:10 +00:00
57cead184e - Update to version 20161117 (boo#1023536):
- Change _service to disabled to preven accidentally running it
- Switch back to naming based on date only

OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/sparse?expand=0&rev=10
2017-02-04 10:07:49 +00:00
7281a0c9a8 - Update to version 0.5+git.20161117:
* .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

OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/sparse?expand=0&rev=9
2017-02-03 19:17:43 +00:00
d4efaac025 Accepting request 416941 from devel:tools:statica
- 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

OBS-URL: https://build.opensuse.org/request/show/416941
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sparse?expand=0&rev=31
2016-08-05 16:17:50 +00:00
6a023595b0 update & no_sanitize support
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/sparse?expand=0&rev=7
2016-08-04 13:49:07 +00:00
9f0105acf4 Accepting request 395003 from devel:tools:statica
- 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

OBS-URL: https://build.opensuse.org/request/show/395003
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sparse?expand=0&rev=30
2016-05-17 15:15:02 +00:00
756400fab4 ,
OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/sparse?expand=0&rev=5
2016-05-12 09:15:21 +00:00