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>
Hi Won,> 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.if you are using llvm from svn then you need to build llvm-gcc from svn too. Ciao, Duncan.
Thanks. When I also updated llvm-gcc source code from trunk, there is no more compilation issue. Won On Fri, Jul 10, 2009 at 2:23 AM, Duncan Sands <baldrick at free.fr> wrote:> Hi Won, > > > 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. > > if you are using llvm from svn then you need to build llvm-gcc from svn > too. > > Ciao, > > Duncan. > _______________________________________________ > 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/20090710/8d4c5e2a/attachment.html>