Re: Merging Luc's master branch.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 02/03/18 10:58, Christopher Li wrote:
> Hi Luc,
> 
> I just try a merge with your stable branch from master.
> 
> After fix up the first round of conflict, here is what I got:
> 
> https://git.kernel.org/pub/scm/devel/sparse/chrisl/sparse.git/log/?h=merge-luc-master
> 
> There are two test case failure. I fix the cse-size one.

I quickly tried this on cygwin (because I don't have LLVM installed
on Linux at the moment). I have had, for a long time, three of
the backend (ie. LLVM) tests failing on master. I have e-mailed the
list about these failures before - but I had forgotten to e-mail
about some 'workarounds' that I have found since then (and they may
well be specific to cygwin).

Anyway, without those 'workarounds' I see several more failures in
the backend tests (but _not_ backend/call-variadic.c), but if I apply
those workarounds, then:

$ make check
...
  TEST    warn-unknown-attribute-yes (Wunknown-attribute-yes.c)
OK: out of 426 tests, 381 passed, 45 failed
	45 of them are known to fail
$ git diff
diff --git a/sparsec b/sparsec
index e421776..9ed65ac 100755
--- a/sparsec
+++ b/sparsec
@@ -36,7 +36,7 @@ $DIRNAME/sparse-llvm $SPARSEOPTS > $TMPLLVM
 
 LLC=`"${LLVM_CONFIG:-llvm-config}" --bindir`/llc
 
-$LLC -o - $TMPLLVM | as -o $TMPFILE
+$LLC -exception-model=sjlj -o - $TMPLLVM | as -o $TMPFILE
 
 if [ $NEED_LINK -eq 1 ]; then
        if [ -z $OUTFILE ]; then
diff --git a/sparsei b/sparsei
index 3431a9f..d915b1f 100755
--- a/sparsei
+++ b/sparsei
@@ -10,4 +10,4 @@ if [ $# -eq 0 ]; then
   exit 1
 fi
 
-$DIRNAME/sparse-llvm $@ | $LLI
+$DIRNAME/sparse-llvm $@ | $LLI -force-interpreter=true
$ 

Hope That Helps!

ATB,
Ramsay Jones


--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux