<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Arial, sans-serif" size="2">
<div>I downloaded lldb and tried to build it according to <a href="http://lldb.llvm.org/build.html"><font color="#0000FF"><u>http://lldb.llvm.org/build.html</u></font></a> (using 'svn update -r 152265' for llvm and clang), but failed. Both with clang-3.1 and
gcc-4.3.4 on Linux SLED11.1. Is there any recommended compiler for lldb?</div>
<div> </div>
<div>The problem with clang-3.1 is:</div>
<div> </div>
<div>llvm[1]: Compiling IntervalMap.cpp for Release+Debug+Asserts build</div>
<div>In file included from /dev/shm/uabpath/master/lib/Support/IntervalMap.cpp:14:</div>
<div>/dev/shm/uabpath/master/include/llvm/ADT/IntervalMap.h:1980:32: error: use 'template' keyword to treat 'newNode' as a dependent template name</div>
<div> Node[NewNode] = this->map->newNode<NodeT>();</div>
<div> ^</div>
<div> template</div>
<div>1 error generated.</div>
<div>make[1]: *** [/dev/shm/uabpath/master/build-clang/lib/Support/Release+Debug+Asserts/IntervalMap.o] Error 1</div>
<div>make[1]: Leaving directory `/dev/shm/uabpath/master/build-clang/lib/Support'</div>
<div>make: *** [all] Error 1</div>
<div> </div>
<div>The problem with gcc-4.3.4 is (besides a lot of printf format warnings), many errors like:</div>
<div> </div>
<div>/usr/include/c++/4.3/tr1/boost_sp_shared_count.h:81: error: cannot use typeid with -fno-rtti</div>
<div> </div>
<div>For example:</div>
<div> </div>
<div>llvm[3]: Compiling lldb-log.cpp for Debug+Asserts build</div>
<div>In file included from /usr/include/c++/4.3/tr1/memory:66,</div>
<div> from /proj/flex_asic/git/llvm.svn/tools/lldb/source/../include/lldb/lldb-forward.h:24,</div>
<div> from /proj/flex_asic/git/llvm.svn/tools/lldb/source/../include/lldb/lldb-types.h:14,</div>
<div> from /proj/flex_asic/git/llvm.svn/tools/lldb/source/../include/lldb/lldb-defines.h:13,</div>
<div> from /proj/flex_asic/git/llvm.svn/tools/lldb/source/../include/lldb/lldb-public.h:13,</div>
<div> from /proj/flex_asic/git/llvm.svn/tools/lldb/source/../include/lldb/lldb-private.h:15,</div>
<div> from /proj/flex_asic/git/llvm.svn/tools/lldb/source/../include/lldb/lldb-private-log.h:17,</div>
<div> from /proj/flex_asic/git/llvm.svn/tools/lldb/source/lldb-log.cpp:10:</div>
<div>/usr/include/c++/4.3/tr1/boost_sp_shared_count.h: In member function 'virtual void* std::tr1::_Sp_counted_base_impl<_Ptr, _Deleter, _Lp>::_M_get_deleter(const std::type_info&)':</div>
<div>/usr/include/c++/4.3/tr1/boost_sp_shared_count.h:81: error: cannot use typeid with -fno-rtti</div>
<div>In file included from /usr/include/c++/4.3/tr1/memory:67,</div>
<div> from /proj/flex_asic/git/llvm.svn/tools/lldb/source/../include/lldb/lldb-forward.h:24,</div>
<div> from /proj/flex_asic/git/llvm.svn/tools/lldb/source/../include/lldb/lldb-types.h:14,</div>
<div> from /proj/flex_asic/git/llvm.svn/tools/lldb/source/../include/lldb/lldb-defines.h:13,</div>
<div> from /proj/flex_asic/git/llvm.svn/tools/lldb/source/../include/lldb/lldb-public.h:13,</div>
<div> from /proj/flex_asic/git/llvm.svn/tools/lldb/source/../include/lldb/lldb-private.h:15,</div>
<div> from /proj/flex_asic/git/llvm.svn/tools/lldb/source/../include/lldb/lldb-private-log.h:17,</div>
<div> from /proj/flex_asic/git/llvm.svn/tools/lldb/source/lldb-log.cpp:10:</div>
<div>/usr/include/c++/4.3/tr1_impl/boost_shared_ptr.h: In function '_Del* std::tr1::get_deleter(const std::tr1::__shared_ptr<_Tp1, _Lp>&)':</div>
<div>/usr/include/c++/4.3/tr1_impl/boost_shared_ptr.h:630: error: cannot use typeid with -fno-rtti</div>
<div>make[3]: *** [/dev/shm/uabpath/build-lldb-gcc/tools/lldb/source/Debug+Asserts/lldb-log.o] Error 1</div>
<div> </div>
<div>/Patrik Hägglund</div>
<div> </div>
</font>
</body>
</html>