simona bellavista
2012-Mar-05 15:33 UTC
[LLVMdev] installing llvm from source, make check-all fails on llvm::transforms and clang:preprocessor
I downloaded via svn the release_30 and current version code. I am on x86_64 GNU/Linux, I am compiling with gcc 4.4.6 I compiled release_30 with make ENABLE_OPTIMIZED=0 OPTIMIZE_OPTION=-O0 and current release with make In both cases, when I make check-all I get : FAIL: Clang :: Preprocessor/macro_paste_c_block_comment.c (2562 of 9598) ******************** TEST 'Clang :: Preprocessor/macro_paste_c_block_comment.c' FAILED ******************** Script: -- /scratch/user/download/release_30/build/Debug/bin/clang -cc1 -internal-isystem /scratch/user/download/release_30/build/Debug/bin/../lib/clang/3.0/include /scratch/user/download/release_30/llvm/tools/clang/test/Preprocessor/macro_paste_c_block_comment.c -Eonly 2>&1 | grep error /scratch/user/download/release_30/build/Debug/bin/clang -cc1 -internal-isystem /scratch/user/download/release_30/build/Debug/bin/../lib/clang/3.0/include /scratch/user/download/release_30/llvm/tools/clang/test/Preprocessor/macro_paste_c_block_comment.c -Eonly 2>&1 | not grep unterminated /scratch/user/download/release_30/build/Debug/bin/clang -cc1 -internal-isystem /scratch/user/download/release_30/build/Debug/bin/../lib/clang/3.0/include /scratch/user/download/release_30/llvm/tools/clang/test/Preprocessor/macro_paste_c_block_comment.c -Eonly 2>&1 | not grep scratch -- Exit Code: 1 Command Output (stdout): -- /scratch/user/download/release_30/llvm/tools/clang/test/Preprocessor/macro_paste_c_block_comment.c:6:1: error: pasting formed '/*', an invalid preprocessing token 1 error generated. /scratch/user/download/release_30/llvm/tools/clang/test/Preprocessor/macro_paste_c_block_comment.c:6:1: error: pasting formed '/*', an invalid preprocessing token /scratch/user/download/release_30/llvm/tools/clang/test/Preprocessor/macro_paste_c_block_comment.c:5:16: note: expanded from: -- ******************** FAIL: LLVM :: Transforms/GVN/null-aliases-nothing.ll (8045 of 9598) ******************** TEST 'LLVM :: Transforms/GVN/null-aliases-nothing.ll' FAILED ******************** Script: -- /scratch/user/download/release_30/build/Debug/bin/opt /scratch/user/download/release_30/llvm/test/Transforms/GVN/null-aliases-nothing.ll -basicaa -gvn -S | /scratch/user/download/release_30/build/Debug/bin/FileCheck /scratch/user/download/release_30/llvm/test/Transforms/GVN/null-aliases-nothing.ll -- Exit Code: 1 Command Output (stderr): -- <stdin>:9:12: error: CHECK-NOT: string occurred! %before = load i32* %p ^ /scratch/user/download/release_30/llvm/test/Transforms/GVN/null-aliases-nothing.ll:18:18: note: CHECK-NOT: pattern specified here ; CHECK-NOT: load ^ -- -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120305/063925ac/attachment.html>
Duncan Sands
2012-Mar-06 10:05 UTC
[LLVMdev] installing llvm from source, make check-all fails on llvm::transforms and clang:preprocessor
Hi Simona, these failures are due to the name of the path to LLVM/clang, see below.> /scratch/user/download/release_30/build/Debug/bin/clang -cc1 -internal-isystem > /scratch/user/download/release_30/build/Debug/bin/../lib/clang/3.0/include > /scratch/user/download/release_30/llvm/tools/clang/test/Preprocessor/macro_paste_c_block_comment.c > > > -Eonly 2>&1 | not grep scratchThis test checks that the word "scratch" doesn't occur in the clang output. But because it lives under your "/scratch" directory, the word scratch does occur, in the path.> /scratch/user/download/release_30/llvm/test/Transforms/GVN/null-aliases-nothing.ll:18:18: > note: CHECK-NOT: pattern specified here > ; CHECK-NOT: loadHere it is checked that the word "load" does not occur. But because it lives under "download" which contains "load", the word load is wrongly thought to occur. Yes, this is all very silly and shows a weakness in the testing infrastructure. Ciao, Duncan.
James Molloy
2012-Mar-06 10:54 UTC
[LLVMdev] installing llvm from source, make check-all fails on llvm::transforms and clang:preprocessor
> -Eonly 2>&1 | not grep scratchI'm pretty sure this one was fixed after 3.0 branched. -----Original Message----- From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Duncan Sands Sent: 06 March 2012 10:05 To: llvmdev at cs.uiuc.edu Subject: Re: [LLVMdev] installing llvm from source, make check-all fails on llvm::transforms and clang:preprocessor Hi Simona, these failures are due to the name of the path to LLVM/clang, see below.> /scratch/user/download/release_30/build/Debug/bin/clang -cc1 -internal-isystem > /scratch/user/download/release_30/build/Debug/bin/../lib/clang/3.0/include > /scratch/user/download/release_30/llvm/tools/clang/test/Preprocessor/macro_paste_c_block_comment.c > > > -Eonly 2>&1 | not grep scratchThis test checks that the word "scratch" doesn't occur in the clang output. But because it lives under your "/scratch" directory, the word scratch does occur, in the path.> /scratch/user/download/release_30/llvm/test/Transforms/GVN/null-aliases-nothing.ll:18:18: > note: CHECK-NOT: pattern specified here > ; CHECK-NOT: loadHere it is checked that the word "load" does not occur. But because it lives under "download" which contains "load", the word load is wrongly thought to occur. Yes, this is all very silly and shows a weakness in the testing infrastructure. Ciao, Duncan. _______________________________________________ LLVM Developers mailing list LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev -- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
Possibly Parallel Threads
- [LLVMdev] installing llvm from source, make check-all fails on llvm::transforms and clang:preprocessor
- [LLVMdev] make check-all : errors in clang and llvm
- [LLVMdev] LLVM 3.0 Has Been Branched
- [LLVMdev] LLVM 3.0 Has Been Branched
- [LLVMdev] LLVM 3.0 Has Been Branched