[LLVMdev] Build failure: on Linux /x86

Duncan Sands baldrick at free.fr
Tue Apr 15 08:17:37 PDT 2008


> I downloaded llvm2.2 and got over with previous issue. Now a new error is
> being shown:
> APInt.cpp:2017:   instantiated from here
> /home/guest/gcc4.3.0/install_gcc_4.3.0/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/bits/ostream_insert.h:51:
> error: invalid use of incomplete type √Ęstruct std::basic_ostream<char,
> std::char_traits<char> >√Ę

I don't think it is possible to build llvm 2.2 using gcc-4.3.  Try using
gcc-4.2 or earlier.  I'm told that LLVM from svn builds with gcc-4.3.

I hope this helps,


PS: Please continue on the mailing list rather than privately emailing me:
that way others with the same problem will be able to find the discussion
in the mailing list archive.

More information about the llvm-dev mailing list