[llvm-commits] [llvm] r139934 - in /llvm/trunk: autoconf/configure.ac configure

Eric Christopher echristo at apple.com
Mon Oct 10 10:49:45 PDT 2011


On Oct 9, 2011, at 3:12 PM, Joerg Sonnenberger wrote:

> On Fri, Sep 16, 2011 at 08:36:17PM -0000, Eric Christopher wrote:
>> Author: echristo
>> Date: Fri Sep 16 15:36:16 2011
>> New Revision: 139934
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=139934&view=rev
>> Log:
>> Have the llvm configure process look for clang, then llvm-gcc, and then gcc
>> on all platforms.
> 
> This breaks the build for me on Linux. It seems to pick up Clang and
> that gives:
> 
> /home/joerg/work/LLVM/llvm/lib/Object/ELFObjectFile.cpp:257:3: error:
> implicit instantiation of undefined template
>   '<anonymous>::ELFDataTypeTypedefHelper<1, false>'
>   LLVM_ELF_IMPORT_TYPES(target_endianness, is64Bits)
> 
> etc.

Should probably install a newer clang or you can use CC=gcc CXX=g++ on your configure line. The clang-2.9 release should be in good enough shape to build top of tree llvm.

-eric



More information about the llvm-commits mailing list