[LLVMdev] Latest SVN head (gcc front end) build failed

Tanya Lattner tonic at nondot.org
Wed May 21 22:36:08 PDT 2008


Did you update llvm and build that first?

-Tanya

On May 21, 2008, at 10:29 PM, Rajika Kumarasiri wrote:

> hi all,
> I was trying to build the latest LLVM gcc front end and it failed.
>
> rajika@:~/project/llvm/dst-directory$ svn info | grep URL
> URL: http://llvm.org/svn/llvm-project/llvm-gcc-4.2/trunk
>
> configure option:  ../dst-directory/configure --prefix=/usr/local/  
> --enable-llvm=/home/rajika/project/llvm/llvm-objects
>
> it gave me the following errors
>
> ../../dst-directory/gcc/llvm-convert.cpp:1163: error: 'Create' is  
> not a member of 'llvm::CastInst'
> ../../dst-directory/gcc/llvm-convert.cpp: In member function  
> 'llvm::AllocaInst* TreeToLLVM::CreateTemporary(const llvm::Type*)':
> ../../dst-directory/gcc/llvm-convert.cpp:1250: error: 'Create' is  
> not a member of 'llvm::CastInst'
> make[3]: *** [llvm-convert.o] Error 1
> make[3]: Leaving directory `/home/rajika/project/llvm/llvm-gcc4.2- 
> objects/gcc'
> make[2]: *** [all-stage1-gcc] Error 2
> make[2]: Leaving directory `/home/rajika/project/llvm/llvm-gcc4.2- 
> objects'
> make[1]: *** [stage1-bubble] Error 2
> make[1]: Leaving directory `/home/rajika/project/llvm/llvm-gcc4.2- 
> objects'
> make: *** [all] Error 2
>
>
>
> Any help to fix this? Thanks!
>
> -Rajika
>
> -- 
> comp.lang.c - http://groups.google.com/group/comp.lang.c/topics
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080521/d3219eed/attachment.html>


More information about the llvm-dev mailing list