[cfe-dev] Compiling latest clang...

Jonathan Sauer jonathan.sauer at gmx.de
Mon Jul 18 08:00:06 PDT 2011


> In trying to compile the latest version of clang with the latest version of llvm, I have been getting the compilation error below.
> It seems it is not a new issue (see http://permalink.gmane.org/gmane.comp.compilers.llvm.bugs/13921). However, I can't tell if it's been resolved or not.

According to <http://llvm.org/bugs/show_bug.cgi?id=10261>, it seems to be somewhat in limbo.

> I am working from a Mac OS X 10.6.8.
> Could somebody please tell me the latest version of clang that is guaranteed to be working with a latest of llvm?

This morning, I got clang+LLVM r135379 from subversion and compiled (and used) it successfully using Mac OS X 10.6.7
and Apple's GCC 4.2.1 build 5666 (part of XCode 3.2.6). I did:

$ make update
$ make clean
$ make

Did you try cleaning the build directory? I once had problems linking after somehow stale object files were left

Hope that helps,

More information about the cfe-dev mailing list