[cfe-dev] Error on clang::CodeGen::CGBuilderTy while building clang from svn trunk

Arji Cot arjicot at gmail.com
Sun Jul 21 13:44:42 PDT 2013


error: ‘clang::CodeGen::CGBuilderTy’ has no member named
‘DisableDebugLocations’
     Builder.DisableDebugLocations();
             ^
llvm/tools/clang/lib/CodeGen/CGBlocks.cpp:1174:13: error:
‘clang::CodeGen::CGBuilderTy’ has no member named ‘EnableDebugLocations’
     Builder.EnableDebugLocations();
             ^

And I'm building the svn revision

$ svn info
URL: http://llvm.org/svn/llvm-project/llvm/trunk
Repository Root: http://llvm.org/svn/llvm-project
Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8
Revision: 186794
Node Kind: directory
Schedule: normal
Last Changed Author: rafael
Last Changed Rev: 186792
Last Changed Date: 2013-07-21 14:58:07 +0200 (dom, 21 lug 2013)

with the following configuration

CXX=/PATH/TO/LOCAL/bin/g++ \
 CC=/PATH/TO/LOCAL/bin/gcc \
 LDFLAGS="-L/PATH/TO/LOCAL/lib/gcc/x86_64-unknown-linux-gnu/lib64/" \
 ../llvm/configure \
 --prefix=/PATH/TO/INSTALLATION/ \
 --enable-optimized \
 --enable-cxx11 \
 --enable-assertions \
 --enable-shared \
 --enable-doxygen \
 --enable-optimized \
 --enable-debug-runtime \
 --enable-ltdl-install \
 --enable-gold \
 --enable-plugins \
 --with-binutils-include=/usr/include

And I'm under linux 64 bit as you can guess. I replaced the full path for
given directories with uppercase words to simplify the post above, but
basically what was working before, doesn't work right now.

I'm actually building out of tree of course with the following project in
my trunk copy:

 - llvm
 - clang ( cfe )
 - clang-tools-extra
 - compiler-rt
 - lldb

any idea about what is wrong with this ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130721/8c281598/attachment.html>


More information about the cfe-dev mailing list