[LLVMdev] Compiling SPEC

Tanu Sharma tanusharma_04 at yahoo.com
Mon Jun 13 06:40:44 PDT 2005


Hello,

I have been trying to compile spec benchmark with llvm.I am trying the 2 methods suggested but have not succeeded yet .
1) Setting the flags -Wl,-native-cbe or -Wl,-native flags to llvm-gcc. 
This results in successful compilation with llvm BUT it doesn't create .bc files (?)which I need for my experimentation.Any other significant modification/addition missing ??
2) Using llvm-test :
I get this error after a long time when it enters into Spec directory.

-----------------------------------------------------------------------------------------------

`/home/tsharma/llvm-cvs/llvm/projects/llvm-test/External/SPEC/CFP2000' > gmake[4]: Entering directory > 

`/home/tsharma/llvm-cvs/llvm/projects/llvm-test/External/SPEC/CFP2000/177.mesa' > gmake[4]: *** No rule to make target `Output/accum.rbc', needed by > `Output/177.mesa.linked.rbc'. Stop. > gmake[4]: Leaving directory > 

----------------------------------------------------------------------------------------------

Also please tell me how to test only SPEC benchmark with llvm-test , else it takes a long time to enter SPEC.

Am I missing something somewhere?I tried a lot but still failure !! Please help me find my way out.

Appreciate you help.

Thanks

TS


Chris Lattner <sabre at nondot.org> wrote:On Mon, 30 May 2005, Tanu Sharma wrote:

> I have been trying to compile the SPEC benchmark but have failed even 
> after several attempts.The first error I get while trying to run is :

There are two ways to do this:

1. Use the llvm-test harness
2. Use the official spec harness with -Wl,-native-cbe or -Wl,-native flags
to llvm-gcc.

-Chris

> --------------------------------------------------------------------
>
> Error loading program '../00000002/gzip_base.x86_linux.bc': Can't open file: ../00000002/gzip_base.x86_linux.bc
>
> -----------------------------------------------------------------------
>
>
>
> Has anyone tried doing this ?Could you please tell me the changes required to compile it with llvm.
>
>
>
> Thanks
>
> TS
>
>
> ---------------------------------
> Yahoo! Mail Mobile
> Take Yahoo! Mail with you! Check email on your mobile phone.

-Chris

-- 
http://nondot.org/sabre/
http://llvm.cs.uiuc.edu/

_______________________________________________
LLVM Developers mailing list
LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev


		
---------------------------------
Discover Yahoo!
 Stay in touch with email, IM, photo sharing & more. Check it out!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20050613/4b86283b/attachment.html>


More information about the llvm-dev mailing list