I successfully built LLVM (r102824) with ./configure --enable-optimized --enable-targets=host --with-built-clang on Fedora 12 on an Athlon64 processor. (The clang is the 2.7 pre-built version.) However, running `make check' produced 6 unexpected failures (see below). If there's something you'd like me to do, just holler. --- Vladimir FAIL: /usr/local/src/llvm/test/Bindings/Ocaml/vmcore.ml Failed with exit(10) at line 2 while running: ./vmcore.ml.tmp vmcore.ml.tmp.bc FAILED: builder/builder/dbg #1 FAIL: /usr/local/src/llvm/test/FrontendC/crash-invalid-array.c for PR6913 Failed with exit(1) at line 1 while running: not /usr/local/llvm-gcc4.2-2.7-x86_64-linux/bin/llvm-gcc -emit-llvm -w -O1 /usr/local/src/llvm/test/FrontendC/crash-invalid-array.c -S |& /bin/grep {error: invalid use of array with unspecified bounds} child process exited abnormally FAIL: /usr/local/src/llvm/test/FrontendC/inline-asm-function.c Failed with exit(1) at line 1 while running: /usr/local/llvm-gcc4.2-2.7-x86_64-linux/bin/llvm-gcc -emit-llvm -w -S /usr/local/src/llvm/test/FrontendC/inline-asm-function.c -fasm-blocks -o - -O | /bin/grep naked child process exited abnormally Running /usr/local/src/llvm/test/FrontendC++/dg.exp ... FAIL: /usr/local/src/llvm/test/FrontendC++/2010-02-17-DbgArtificialArg.cpp Failed with exit(1) at line 1 while running: /usr/local/llvm-gcc4.2-2.7-x86_64-linux/bin/llvm-gcc -emit-llvm -w -g -S /usr/local/src/llvm/test/FrontendC++/2010-02-17-DbgArtificialArg.cpp -o - | /bin/grep DW_TAG_pointer_type | /bin/grep "i32 524303, metadata .., metadata ..., metadata .., i32 ., i64 .., i64 .., i64 0, i32 64, metadata ..." child process exited abnormally FAIL: /usr/local/src/llvm/test/FrontendC++/2010-03-22-empty-baseclass.cpp Failed with exit(1) at line 1 while running: /usr/local/llvm-gcc4.2-2.7-x86_64-linux/bin/llvm-gcc -emit-llvm -w -S -emit-llvm /usr/local/src/llvm/test/FrontendC++/2010-03-22-empty-baseclass.cpp -o - -O2 | FileCheck /usr/local/src/llvm/test/FrontendC++/2010-03-22-empty-baseclass.cpp /usr/local/src/llvm/test/FrontendC++/2010-03-22-empty-baseclass.cpp:134:11: error: expected string not found in input // CHECK: ret i32 ^ <stdin>:1:1: note: scanning from here ; ModuleID '/usr/local/src/llvm/test/FrontendC++/2010-03-22-empty-baseclass.cpp' ^ <stdin>:14:5: note: possible intended match here declare i32 @puts(i8* nocapture) nounwind ^ FAIL: /usr/local/src/llvm/test/FrontendC++/2010-04-30-OptimizedMethod-Dbg.cpp Failed with exit(1) at line 2 while running: grep "i1 false, i1 true. . . DW_TAG_subprogram" 2010-04-30-OptimizedMethod-Dbg.cpp.tmp | count 2 Expected 2 lines, got 0. -- Vladimir G. Ivanovic http://www.leonora.org +1 650 450 4101 vladimir at acm.org -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 261 bytes Desc: OpenPGP digital signature URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100503/1bdd9feb/attachment.sig>
On May 3, 2010, at 10:43 AMPDT, Vladimir G. Ivanovic wrote:> I successfully built LLVM (r102824) with > > ./configure --enable-optimized --enable-targets=host --with-built-clang > > on Fedora 12 on an Athlon64 processor. (The clang is the 2.7 pre-built > version.)and the llvm-gcc appears to be also?> However, running `make check' produced 6 unexpected failures > (see below). If there's something you'd like me to do, just holler.In general, tests added after a branch forked won't pass on that branch. That accounts for these at least:> FAIL: /usr/local/src/llvm/test/FrontendC/inline-asm-function.c > Failed with exit(1) at line 1 > while running: /usr/local/llvm-gcc4.2-2.7-x86_64-linux/bin/llvm-gcc > -emit-llvm -w -S > /usr/local/src/llvm/test/FrontendC/inline-asm-function.c -fasm-blocks -o > - -O | /bin/grep naked > child process exited abnormally > Running /usr/local/src/llvm/test/FrontendC++/dg.exp ... > > FAIL: > /usr/local/src/llvm/test/FrontendC++/2010-04-30-OptimizedMethod-Dbg.cpp > Failed with exit(1) at line 2 > while running: grep "i1 false, i1 true. . . DW_TAG_subprogram" > 2010-04-30-OptimizedMethod-Dbg.cpp.tmp | count 2 > Expected 2 lines, got 0.and probably others.
on 05/03/2010 11:13 AM Dale Johannesen said the following:> On May 3, 2010, at 10:43 AMPDT, Vladimir G. Ivanovic wrote: > > >> I successfully built LLVM (r102824) with >> >> ./configure --enable-optimized --enable-targets=host --with-built-clang >> >> on Fedora 12 on an Athlon64 processor. (The clang is the 2.7 pre-built >> version.) > > and the llvm-gcc appears to be also?Correct. Both are in my PATH.>> However, running `make check' produced 6 unexpected failures >> (see below). If there's something you'd like me to do, just holler. > > In general, tests added after a branch forked won't pass on that branch. That accounts for these at least:I don't understand. These are tests in the LLVM testsuite, not llvm-gcc tests. I have a consistent copy of LLVM and I don't know of any dependencies between post-2.7 LLVM and llvm-gcc-2.7. So they should pass, no? Or are you saying that there are such (heretofore) unmentioned dependencies that require a post-2.7 version of llvm-gcc to pass? --- Vladimir Vladimir G. Ivanovic http://www.leonora.org +1 650 450 4101 vladimir at acm.org>> FAIL: /usr/local/src/llvm/test/FrontendC/inline-asm-function.c >> Failed with exit(1) at line 1 >> while running: /usr/local/llvm-gcc4.2-2.7-x86_64-linux/bin/llvm-gcc >> -emit-llvm -w -S >> /usr/local/src/llvm/test/FrontendC/inline-asm-function.c -fasm-blocks -o >> - -O | /bin/grep naked >> child process exited abnormally >> Running /usr/local/src/llvm/test/FrontendC++/dg.exp ... >> >> FAIL: >> /usr/local/src/llvm/test/FrontendC++/2010-04-30-OptimizedMethod-Dbg.cpp >> Failed with exit(1) at line 2 >> while running: grep "i1 false, i1 true. . . DW_TAG_subprogram" >> 2010-04-30-OptimizedMethod-Dbg.cpp.tmp | count 2 >> Expected 2 lines, got 0. > > and probably others. >-------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 261 bytes Desc: OpenPGP digital signature URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100503/e460be38/attachment.sig>