[LLVMdev] llvm gcc 4.0 not compiling

Tanya M. Lattner tonic at nondot.org
Fri May 9 15:30:44 PDT 2008


> 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-gcc 4.0 is no longer supported (as of 2.2):
http://lists.cs.uiuc.edu/pipermail/llvmdev/2008-February/012416.html

To answer your question, LLVMBuilder.h was renamed to IRBuilder.h.

-Tanya

>
> ------------------------------------
> 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