[LLVMdev] Compilation problems

Chris Lattner sabre at nondot.org
Sat Mar 24 11:21:06 PDT 2007


On Sat, 24 Mar 2007, Ferad Zyulkyarov wrote:
> I try to compile LLVM and the GCC frontend for LLVM.
> The steps that I follow are first to compile LLVM and later to compile
> GCC front end.
>
> I tried to compile LLVM 1.8, 1.9 releases and the CVS versions.
> I tried to compile with different GCC compilers 3.4.0, 4.1.2 and 4.2.0

In addition to what others have said, be *absolutely* sure that you match 
the llvm-gcc version with the llvm version.  They are version locked.

-Chris

> GCC compilers 3.4.0 and 4.2.0 fail compiling LLVM sources. GCC 4.1.2 works.
>
> I cannot compile GCC front end. When I compile GCC front end with gcc
> 3.4.0 and gcc 4.1.2 I get some compilation errors (I didn't note
> them). When I compile it with gcc4.2.0 I get an error that cc1
> requires libstdc++.so.6 GLIBCXX_3.4.9 version
>
> Are the installation instruction up-to-date in the packages? Please,
> may you give me the correct combinations of tools that give me
> successfully compiled and linked binary set.
>
> Thanks,
> Ferad
>
>

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list