[LLVMdev] Problem Running llvm-suite

Dale Johannesen dalej at apple.com
Mon Feb 9 15:02:52 PST 2009


On Feb 8, 2009, at 11:23 AMPST, Patrick Simmons wrote:
>>>
>>> You need to put it under the "projects" subdirectory.  Read this:
>>> http://llvm.org/docs/TestingGuide.html
>>>
>>> It is perhaps a little confusing; looks like you stopped reading
>>> after  the first "test suite" section.  Keep going.
>>>
>>> _______________________________________________
>>> LLVM Developers mailing list
>>> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>>>
>> Thanks, Dale.  I did what you said, and I can run the test suite now.
>> Unfortunately, the tests all fail, with cc1 complaining about unknown
>> debugging options being passed to it.  The two possible causes I can
>> think of for this are that I passed "--enable-optimized" when
>> configuring LLVM, and that I used the GCC frontend located in
>> /home/vadve/shared/llvm-gcc-4.2 instead of compiling the GCC frontend
>> myself (I added the bin directory to my PATH).  Do you think either  
>> of
>> these things could be responsible?
>>
>> Thanks again,
>> --Patrick
>>
> That should be /home/vadve/shared/llvm-gcc4.2, sorry for the typo.  It
> was correct in my PATH.

I've never used that FE, I've always built my own.  So it seems  
possible that's the problem.
I don't personally use -enable-optimized much, but other people do;  
that seems unlikely.




More information about the llvm-dev mailing list