[LLVMdev] llvm gcc 4.0 not compiling

Ryan M. Lefever lefever at crhc.uiuc.edu
Fri May 9 14:44:29 PDT 2008


I mistyped.  I meant to say, it looks like the file LLVMBuilder.h is 
missing.

Ryan M. Lefever wrote:
> I am trying to compile llvm gcc 4.0 from svn today and I'm getting the 
> error below.  It looks like the file LLVMBuilder.h.  I looked in past 
> versions of LLVM and that file exists; however, it not longer seams to 
> exist.  Has it purposely been removed?
> 
> ------------------------------------
> llvm_optimized/include ../../llvm-gcc-4.0/gcc/llvm-backend.cpp -o 
> llvm-backend.o
> In file included from ../../llvm-gcc-4.0/gcc/llvm-backend.cpp:23:
> ../../llvm-gcc-4.0/gcc/llvm-internal.h:40:38: error: 
> llvm/Support/LLVMBuilder.h: No such file or directory
> ../../llvm-gcc-4.0/gcc/llvm-internal.h:259: error: ‘LLVMBuilder’ does 
> not name a type
> /home/local/lefever/llvm/080509/llvm_optimized/include/llvm/User.h: In 
> function ‘void make_decl_llvm(tree_node*)’:
> /home/local/lefever/llvm/080509/llvm_optimized/include/llvm/User.h:28: 
> error: ‘static void* llvm::User::operator new(size_t)’ is private
> ../../llvm-gcc-4.0/gcc/llvm-backend.cpp:1015: error: within this context
> /home/local/lefever/llvm/080509/llvm_optimized/include/llvm/Function.h:113: 
> error: ‘llvm::Function::Function(const llvm::FunctionType*, 
> llvm::GlobalValue::LinkageTypes, const std::string&, llvm::Module*)’ is 
> private
> ../../llvm-gcc-4.0/gcc/llvm-backend.cpp:1015: error: within this context
> make[1]: *** [llvm-backend.o] Error 1
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev



More information about the llvm-dev mailing list