From patchwork Fri Mar 2 20:57:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ramsay Jones X-Patchwork-Id: 10255683 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1571A602B5 for ; Fri, 2 Mar 2018 21:05:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 039222842B for ; Fri, 2 Mar 2018 21:05:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EA211284D2; Fri, 2 Mar 2018 21:05:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DB86E2842B for ; Fri, 2 Mar 2018 21:05:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933368AbeCBVFA (ORCPT ); Fri, 2 Mar 2018 16:05:00 -0500 Received: from avasout04.plus.net ([212.159.14.19]:36663 "EHLO avasout04.plus.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933204AbeCBVFA (ORCPT ); Fri, 2 Mar 2018 16:05:00 -0500 X-Greylist: delayed 450 seconds by postgrey-1.27 at vger.kernel.org; Fri, 02 Mar 2018 16:04:59 EST Received: from [10.0.2.15] ([80.189.70.162]) by smtp with ESMTPA id rrk7e2RMaTRZxrrk8eKnVr; Fri, 02 Mar 2018 20:57:29 +0000 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.3 cv=R6ot5+ZX c=1 sm=1 tr=0 a=zzlqjQC3YyNvDZl/Gy+4mg==:117 a=zzlqjQC3YyNvDZl/Gy+4mg==:17 a=IkcTkHD0fZMA:10 a=VwQbUJbxAAAA:8 a=gSnYNkHstKOLVFmxocUA:9 a=QEXdDO2ut3YA:10 a=AjGcO6oz07-iQ99wixmX:22 X-AUTH: ramsayjones@:2500 Subject: Re: Merging Luc's master branch. To: Christopher Li , Luc Van Oostenryck , Linux-Sparse References: From: Ramsay Jones Message-ID: <8127ea37-aa1e-cdff-a9eb-43e6f5bbf0f1@ramsayjones.plus.com> Date: Fri, 2 Mar 2018 20:57:27 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-GB X-CMAE-Envelope: MS4wfACb0X2dT3joC2TfEfGf9B2KQK6wgZckcXWtJ8HljqsZwGCmIT9vL0aNrkeynK9/B49H5W2v7t6CDeLBIZTPLK7LlEMTEgiGm8SE72kvoDNueApnr5PN hl0IuF/WeVE2HPVWdrE1lMPmUnm47Yy2HZFwHoWjRwfNXaHk5AylsyFFGXgAWCg99m1tTojtmdShIg== Sender: linux-sparse-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sparse@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 $ 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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