[cfe-dev] LLVM and Clang 3.1 on CentOS 5.6 GCC 4.4

Mohamed Bana mohamed at bana.org.uk
Mon Aug 6 14:45:55 PDT 2012


Do I need to apply patches to the 3.1 tarball to make it compile on CentOS
5.6 x86?  From my searching it seems like using GCC 4.4 on CentOS 5.6 x86
is supported but it fails when trying to compile ASan.

What are the right flags to pass to configure?  By default CentOS 5.6 uses
GCC 4.1 so the headers - even after installing GCC 4.4 - that configure
uses when I tell it to us a different compiler are still the 4.1 ones.

    CC=gcc44 CXX=g++44 ../configure ...

This is the bug report:  http://llvm.org/bugs/show_bug.cgi?id=12522

I guess my question is what am I missing from the configure line?

 —Mohamed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120806/12b4b5d3/attachment.html>


More information about the cfe-dev mailing list