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