I am testing the latest LLVM release (2.9).
When I run the regression tests, I get many failures:
cd llvm-2.9.build/test
make
Expected Passes : 2605
Expected Failures : 46
Unsupported Tests : 542
Unexpected Failures: 2658
For info:
- I was working with 2.8 so far and I didn’t have these issues.
- LLVM was build using: …/llvm-2.9/configure --enable-assertions
What is the status of these regression tests ? Did I do sth wrong when building llvm 2.9 ?
Thank you !
Works for me so you probably did something wrong.
-eric
I tried on a different machine x86_64 ( vs x86 ) and I don’t have these issues anymore (the tests are failing on the x86 machine because of a segmentation fault)
Both builds were done using: g++ (GCC) 4.2.4 (Ubuntu 4.2.4-1ubuntu4)
Something should be wrong with my environment…
The only differences I noticed during the compilation are the following warnings (which appear several times, but each time in ilist.h):
llvm-2.9/include/llvm/ADT/ilist.h: In member function ‘virtual bool::AAEval::runOnFunction(llvm::Function&)’:
llvm-2.9/include/llvm/ADT/ilist.h:175: warning: ‘this.581’ is used uninitialized in this function
llvm-2.9/include/llvm/ADT/ilist.h:175: note: ‘this.581’ was declared here
llvm-2.9/include/llvm/ADT/ilist.h:175: warning: ‘this.581’ is used uninitialized in this function
llvm-2.9/include/llvm/ADT/ilist.h:175: note: ‘this.581’ was declared here
Damien.
Eric, could you tell me which version of gcc you are using (According to http://llvm.org/docs/GettingStarted.html, gcc 3.4.2 should be used but I don’t know if this document is up to date regarding the required software versions)
Anyway I also tried with gcc version 3.4.6 (Ubuntu 3.4.6-6ubuntu5)
And now, I get a bunch of errors like this one:
llvm-2.9/lib/Support/regcomp.c: In function cset* allocset(parse*)': llvm-2.9/lib/Support/regcomp.c:1050: error: invalid conversion from
void*’ to cset*' llvm-2.9/lib/Support/regcomp.c:1055: error: invalid conversion from
void*’ to uch*' llvm-2.9/lib/Support/regcomp.c: In function
void mcadd(parse*, cset*, const char*)‘:
llvm-2.9/lib/Support/regcomp.c:1188: error: invalid conversion from void*' to
char*’
llvm-2.9/lib/Support/regcomp.c: In function void findmust(parse*, re_guts*)': llvm-2.9/lib/Support/regcomp.c:1477: error: invalid conversion from
void*’ to `char*’
Thank you
Damien.
I use 4.2 on a Mac, but you should be able to use quite a few different compilers.
-eric
Hi Damien,
Eric, could you tell me which version of gcc you are using (According to
http://llvm.org/docs/GettingStarted.html, gcc 3.4.2 should be used but I don't
know if this document is up to date regarding the required software versions)
the 2.9 binaries for x86-32 linux were built using gcc-4.4 on ubuntu maverick.
There were no unexpected test failures.
Ciao, Duncan.