I'm looking for members of the LLVM community to test the 2.1 release. There are 2 ways you can help:
1) Download llvm-2.1, llvm-test-2.1, and the appropriate llvm-gcc4.0 binary. Run "make check" and the full llvm-test suite (make TEST=nightly report).
2) Download llvm-2.1, llvm-test-2.1, and the llvm-gcc4.0 source. Compile everything. Run "make check" and the full llvm-test suite (make TEST=nightly report).
Send your results to llvm-dev with the dejagnu test results in the body of the email and attach the llvm-test report (report.nightly.txt). When submitting your results, please specify the platform, Release or Debug build (default is Release) and if you built llvm with srcdir = objdir.
One more thing that I forgot. The deadline for 2.1 pre-release version 1 testing is Wednesday, September 19th (5PM PDT). At that point. I will begin merging in patches and preparing the second pre-release.
Here are my results for testing the LLVM 2.1 prerelease.
Platform: Linux AMD64
Debug: No, Release
src=obj: Yes
Nightly report is attached.
Somehow, even though I thought that I redirected stderr to a file,
it coughed it on to my terminal twice during running tests.
I copied and pasted the first on into e1.
(The second was mangled by ncurses.)
make check:
- ---------------------------------------------------
Test Run By scubed on Sat Sep 15 11:27:34 2007
Native configuration is x86_64-unknown-linux-gnu
GCC compilation is broken when Java support is enabled. I can file a detailed
bug report if anyone cares about this. When I restricted it to just C and
C++, it compiled fine.
2) Download llvm-2.1, llvm-test-2.1, and the llvm-gcc4.0 source.
Compile everything. Run "make check" and the full llvm-test suite
(make TEST=nightly report).
I tried to do this, but ran into trouble.
LLVM itself compiled fine.
GCC compilation is broken when Java support is enabled. I can file a detailed
bug report if anyone cares about this. When I restricted it to just C and
C++, it compiled fine.
Java is not supported in llvm-gcc.
I couldn't get the test suite to run:
You need to configure llvm again with ---with-llvmgccdir. Make sure you do this at the llvm level, llvm-test will be reconfigured automatically.
More bison woes. llvm-2.1 + the patch Chris mentioned builds without
bison, but llvm-gcc4 doesn't:
/home/emil/ll/llvm-gcc4.0-2.1.source/missing bison -d -o gengtype-yacc.c ../../llvm-gcc4.0-2.1.source/gcc/gengtype-yacc.y
WARNING: `bison' missing on your system. You should only need it if
you modified a `.y' file. You may need the `Bison' package
in order for those modifications to take effect. You can get
`Bison' from any GNU archive site.
gcc -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wno-error -DHAVE_CONFIG_H -DGENERATOR_FILE -DENABLE_LLVM -I/home/emil/ll/objdir-llvm/../llvm-2.1/include -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -I. -Ibuild -I../../llvm-gcc4.0-2.1.source/gcc -I../../llvm-gcc4.0-2.1.source/gcc/build -I../../llvm-gcc4.0-2.1.source/gcc/../include -I./../intl -I../../llvm-gcc4.0-2.1.source/gcc/../libcpp/include -I/home/emil/ll/llvm-2.1/include -I/home/emil/ll/objdir-llvm/include \
-o build/gengtype-lex.o gengtype-lex.c
../../llvm-gcc4.0-2.1.source/gcc/gengtype-lex.l:31:27: error: gengtype-yacc.h: No such file or directory
../../llvm-gcc4.0-2.1.source/gcc/gengtype-lex.l: In function 'yylex':
../../llvm-gcc4.0-2.1.source/gcc/gengtype-lex.l:220: error: 'yylval' undeclared (first use in this function)
[...]
gmake[1]: *** [build/gengtype-lex.o] Error 1
gmake[1]: Leaving directory `/home/emil/ll/objdir-gcc/gcc'
gmake: *** [all-gcc] Error 2
If I install bison and try again from the top, it succeeds.
Platform is FreeBSD 7.0-CURRENT on i386 (Pentium 4).
Release build (default).
srcdir != objdir, for both llvm and llvm-gcc4
I did the following:
(build llvm)
$ cd ~/ll
$ tar zxvf llvm-2.1.tar.gz
$ mkdir objdir-llvm
$ cd !$
$ ../llvm-2.1/configure --prefix=/home/emil/ll/prefix
$ gmake
(build llvm-gcc4)
$ cd ..
$ tar zxvf llvm-gcc4.0-2.1.source.tar.gz
$ mkdir objdir-gcc
$ cd !$
$ ../llvm-gcc4.0-2.1.source/configure --prefix=/home/emil/ll/prefix \
--enable-llvm=/home/emil/ll/objdir-llvm \
--enable-languages=c,c++ --program-prefix=llvm-
$ gmake
$ gmake install
(build llvm again - is this right / necessary?)
$ cd ../objdir-llvm
$ ../llvm-2.1/configure --with-llvmgccdir=/home/emil/ll/prefix \
--prefix=/home/emil/ll/prefix
$ gmake
$ gmake check
$ gmake install
$ llvm-gcc -v
gcc version 4.0.1 (Apple Computer, Inc. build 5449)(LLVM build )
The "make check" produced:
=== Summary ===
# of expected passes 2209
# of unexpected failures 41
# of expected failures 5
gmake[1]: *** [check-local] Error 1
gmake[1]: Leaving directory `/home/emil/ll/objdir-llvm/test'
gmake: *** [check] Error 2
LLVM-GCC 4.0 fails on Cygwin, possibly due to lack of symbolic links.
Configuring in i686-pc-cygwin/libstdc++-v3
configure: creating cache ./config.cache
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking target system type... i686-pc-cygwin
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-cygwin-gcc... /usr/build/llvm- gcc4.0/gcc/xgcc -B/usr/build
/llvm-gcc4.0/gcc/ -B/usr/llvm-gcc4.0/i686-pc-cygwin/bin/ -B/usr/llvm-gcc4.0/i686
-pc-cygwin/lib/ -isystem /usr/llvm-gcc4.0/i686-pc-cygwin/include -isystem /usr/l
lvm-gcc4.0/i686-pc-cygwin/sys-include
checking for C compiler default output file name... a.exe
checking whether the C compiler works... 7966 [main] a 436 _cygtls::handle_ex
ceptions: Error while dumping state (probably corrupted stack)
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
make: *** [configure-target-libstdc++-v3] Error 1