Anton Korobeynikov
2008-Mar-19 13:19 UTC
[LLVMdev] Proposal for GSoC project for improving llvm-test testsuite
Hello, Everyone> Tests that run a *lot* of complicated code would test the correctness of > the compiler. Think code written by crazy people that does crazy things;Just my two cents. From time to time I'm testing LLVM via compiling & running such big beasts as Qt and Mozilla. Also, at 2.0 time I tried to compile & test bunch of software from KDE and many others. They cannot be easily included into LLVM testsuite: their build system usually is pretty complicated. But some solution definitely needs to be introduced. -- WBR, Anton Korobeynikov
Holger Schurig
2008-Mar-19 13:49 UTC
[LLVMdev] Proposal for GSoC project for improving llvm-test testsuite
> Just my two cents. From time to time I'm testing LLVM via > compiling & running such big beasts as Qt and Mozilla. Also, > at 2.0 time I tried to compile & test bunch of software from > KDE and many others.I tried to compile the 3D game engine "darkplaces" with llvm-gcc 4.2, but the produced binary didn't work. However, I didn't find out how debug this further :-/ If you want, I can send the commands to get darkplaces, Nexuiz data files, patch to makefile & makefile.inc for llvm-gcc compilation.
Joachim Durchholz
2008-Mar-19 15:59 UTC
[LLVMdev] Proposal for GSoC project for improving llvm-test testsuite
Am Mittwoch, den 19.03.2008, 14:49 +0100 schrieb Holger Schurig:> > Just my two cents. From time to time I'm testing LLVM via > > compiling & running such big beasts as Qt and Mozilla. Also, > > at 2.0 time I tried to compile & test bunch of software from > > KDE and many others. > > I tried to compile the 3D game engine "darkplaces" with llvm-gcc > 4.2, but the produced binary didn't work."Didn't work" means... what? Compilation failed? Program doesn't work? Either way: what mesages do you get? Are there any differences when compiling with the standard 4.2 gcc? (Some distributions install gcc 4.0, you have to explicitly install gcc-4.2 to get the equivalent GNU compiler.)> However, I didn't find out how debug this further :-/No problem, just run a few preliminary tests. This will allow people to determine what component the problem is in: code generator (if gcc works but gcc-llvm doesn't), language semantics (if neither gcc nor llvm-gcc work - probably a gcc problem then, playing around with -O2 or -O0 might make the problem go away; if that still doesn't help, there's a real possibility that the 3D driver or hardware is broken). Darkplaces is probably not a good test for the LLVM test suite. Any failure may be due to problems with the 3D hardware or the drivers, Regards, Jo
Reasonably Related Threads
- [LLVMdev] Proposal for GSoC project for improving llvm-test testsuite
- [LLVMdev] Proposal for GSoC project for improving llvm-test testsuite
- [LLVMdev] Proposal for GSoC project for improving llvm-test testsuite
- [LLVMdev] Proposal for GSoC project for improving llvm-test testsuite
- [LLVMdev] Proposal for GSoC project for improving llvm-test testsuite