[LLVMdev] can't build w/expensive checks

John Regehr regehr at cs.utah.edu
Fri Aug 28 12:30:06 PDT 2009


I get the error below when trying to build clang with expensive checks. 
  Works fine w/o these.  Is this a known problem?

This is on Ubuntu Hardy using this compiler:

regehr at john-home:~$ g++ --version
g++ (GCC) 4.2.4 (Ubuntu 4.2.4-1ubuntu4)

Thanks,

John Regehr


make[4]: Entering directory 
`/home/regehr/z/tmp/llvm-r80385/tools/clang/lib/Basic'
llvm[4]: Compiling Builtins.cpp for Release+Checks build
llvm[2]: Linking Release+Checks executable llvm-db (without symbols)
In file included from /usr/include/c++/4.2/debug/debug.h:141,
                  from /usr/include/c++/4.2/bits/stl_algobase.h:78,
                  from /usr/include/c++/4.2/algorithm:65,
                  from 
/home/regehr/z/tmp/llvm-r80385/include/llvm/ADT/StringRef.h:13,
                  from 
/home/regehr/z/tmp/llvm-r80385/include/llvm/ADT/StringMap.h:17,
                  from 
/home/regehr/z/tmp/llvm-r80385/tools/clang/lib/Basic/../../include/clang/Basic/IdentifierTable.h:20,
                  from Builtins.cpp:15:
/usr/include/c++/4.2/debug/formatter.h: In constructor 
‘__gnu_debug::_Error_formatter::_Parameter::_Parameter(const 
__gnu_debug::_Safe_iterator<_Iterator, _Sequence>&, const char*, 
__gnu_debug::_Error_formatter::_Is_iterator)’:
/usr/include/c++/4.2/debug/formatter.h:218: error: cannot use typeid 
with -fno-rtti



More information about the llvm-dev mailing list