[LLVMdev] problems running test suite (-mllvm -disable-llvm-optzns)
Jay Foad
jay.foad at gmail.com
Thu Feb 12 09:57:56 PST 2009
>> I'm trying to run some of the test suite using the instructions here:
>>
>> http://llvm.org/docs/TestingGuide.html#quicktestsuite
>>
>> I've built llvm myself, but I'm using pre-built binaries of llvm-gcc
>> (from http://llvm.org/prereleases/2.5/llvm-gcc4.2-2.5-x86-linux-RHEL4.tar.gz).
>>
>> Here's what happens:
>
> the llvm testsuite (from svn, right?) uses features that are not
> available in the 2.5 prerelease candidate. Use the prerelease
> version of llvm too.
Thanks. I switched to using the testsuite from the prerelease
candidate and I've got it working now.
For the record, there was another problem that frustrated me: the
testsuite couldn't find cc1plus, because when I configured llvm I
hadn't specified --with-llvmgccdir, so llvm's Makefile.config didn't
define LLVMGCCLIBEXEC. But when I configured the testsuite I *had*
specified --with-llvmgccdir, so it had all the information it needed
to find llvm-gcc.
Thanks,
Jay.
More information about the llvm-dev
mailing list