[LLVMdev] Builing llvm-gcc error with current trunk

Won J Jeon wjjeon at gmail.com
Thu Jul 9 19:58:50 PDT 2009


Hello,

I'm trying to re-build llvm-gcc with gcc 4.3.2 on x86 Linux machine and has
the following error message during compilation.

../../llvm-gcc/gcc/llvm-types.cpp: In function avoid
writeLLVMTypesStringTable():
../../llvm-gcc/gcc/llvm-types.cpp:198: error: no matching function for call
to 'llvm::GlobalVariable::GlobalVariable(const llvm::Type*, bool,
llvm::GlobalValue::LinkageTypes, llvm::Constant*&, const char [15],
llvm::Module*&)'

These are the options that I used for configuration:

../llvm-gcc/configure --prefix=`pwd`/../llvm-gcc-install
--program-prefix=llvm- --enable-llvm=/home/wonjeon/llvm
--enable-languages=c,c++ --disable-threads --disable-nls --disable-shared

Can anyone help?

Regards,
Won
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090709/c2134b40/attachment.html>


More information about the llvm-dev mailing list