[LLVMdev] [cfe-dev] !!! 3.2 Release RC3 source code available for download and testing

Matthieu Monrocq matthieu.monrocq at gmail.com
Sun Dec 30 03:46:39 PST 2012


On Sun, Dec 30, 2012 at 1:58 AM, Larry Evans <cppljevans at suddenlink.net>wrote:

> On 12/29/12 18:40, NAKAMURA Takumi wrote:
> > 2012/12/30 Larry Evans <cppljevans at suddenlink.net>:
> >> I just created clang with the tarballs without problem; however,
> >> when `make check-all` was run, I got 1 error.  My system is:
> >
> >> ~/download/llvm/pre-releases/3.2/rc3/download/build_debug $ make
> check-all
> >> llvm[0]: Running test suite
> >> make[1]: Entering directory
> >>
> `/home/evansl/download/llvm/pre-releases/3.2/rc3/download/build_debug/test'
> >> Making LLVM 'lit.site.cfg' file...
> >> Making LLVM unittest 'lit.site.cfg' file...
> >> /usr/bin/make -C
> >>
> /home/evansl/download/llvm/pre-releases/3.2/rc3/download/build_debug/test/../tools/clang/test
> >> lit.site.cfg Unit/lit.site.cfg
> >> make[2]: Entering directory
> >>
> `/home/evansl/download/llvm/pre-releases/3.2/rc3/download/build_debug/tools/clang/test'
> >> Making Clang 'lit.site.cfg' file...
> >> Making Clang 'Unit/lit.site.cfg' file...
> >> make[2]: Leaving directory
> >>
> `/home/evansl/download/llvm/pre-releases/3.2/rc3/download/build_debug/tools/clang/test'
> >> ( ulimit -t 600 ; ulimit -d 512000 ; ulimit -m 512000 ; ulimit -v
> >> 1024000 ; \
> >>
> >>
> /home/evansl/download/llvm/pre-releases/3.2/rc3/download/llvm.src/utils/lit/lit.py
> >> -s -v .
> >>
> /home/evansl/download/llvm/pre-releases/3.2/rc3/download/build_debug/test/../tools/clang/test
> >> )
> >> lit.py: lit.cfg:171: note: using clang:
> >>
> '/home/evansl/download/llvm/pre-releases/3.2/rc3/download/build_debug/Release+Debug/bin/clang'
> >> -- Testing: 12434 tests, 2 threads --
> >> Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80
> >> FAIL: LLVM :: Transforms/GVN/null-aliases-nothing.ll (10380 of 12434)
> >> ******************** TEST 'LLVM ::
> >> Transforms/GVN/null-aliases-nothing.ll' FAILED ********************
> >> Script:
> >> --
> >>
> /home/evansl/download/llvm/pre-releases/3.2/rc3/download/build_debug/Release+Debug/bin/opt
> >>
> /home/evansl/download/llvm/pre-releases/3.2/rc3/download/llvm.src/test/Transforms/GVN/null-aliases-nothing.ll
> >> -basicaa -gvn -S |
> >>
> /home/evansl/download/llvm/pre-releases/3.2/rc3/download/build_debug/Release+Debug/bin/FileCheck
> >>
> /home/evansl/download/llvm/pre-releases/3.2/rc3/download/llvm.src/test/Transforms/GVN/null-aliases-nothing.ll
> >> --
> >> Exit Code: 1
> >> Command Output (stderr):
> >> --
> >> <stdin>:1:67: error: CHECK-NOT: string occurred!
> >> ; ModuleID =
> >>
> '/home/evansl/download/llvm/pre-releases/3.2/rc3/download/llvm.src/test/Transforms/GVN/null-aliases-nothing.ll'
> >>                                                                   ^
> >>
> /home/evansl/download/llvm/pre-releases/3.2/rc3/download/llvm.src/test/Transforms/GVN/null-aliases-nothing.ll:18:18:
> >> note: CHECK-NOT: pattern specified here
> >> ; CHECK-NOT: load
> >>                  ^
> >> --
> >
> > Larry, it was an odd test. As workaround, please avoid directory
> > contains "download" to build the tree.
> >
>
> Thanks Takumi.  Would simply renaming download to dwnload be OK?  Also,
> as you can see above,  download occurs twice in the above path.  Should
> both downloads be renamed?  In addition, could you explain
> why the name, download, causes a problem?  If I knew that, I might
> avoid making a similar mistake later.
>
> > Fixed in llvm r171243.
>
> So if I just use svn instead of the tar files from:
>
>   http://llvm.org/pre-releases/3.2/rc3/
>
> the problem should disappear now?
>
> TIA.
>
> -regards,
> Larry
>

Note quite. If you look closely at the failed test:

; CHECK-NOT: load

This check that the "load" string does not appear, however "load" being a
substring of "download" makes the test fail in your case.

Obviously the test is wrong (the check should not rely on the full path to
the directory in any way), and a work around is to avoid having the "load"
substring appear anywhere in the path. For example using "dl" instead of
"download" should make this test pass.

-- Matthieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121230/57c7c7e9/attachment.html>


More information about the llvm-dev mailing list