Have you tried checking out LLDB trunk?
As far as I know, for LLDB specifically, the LLVM versioning does not mark any 
specific stable release point - following trunk (or at least something 
reasonably close to trunk) is usually a good bet though - at least, if that is 
broken, somebody will chime in and fix it!

> On Dec 12, 2014, at 2:21 PM, Richard Hadsell <hads...@blueskystudios.com> 
> wrote:
> 
> Our sys admin has been unsuccessful building lldb 3.5 on CentOS 6.5.  We are 
> trying to install it for the first time, because we are compiling software 
> with clang 3.5, and TotalView does not yet support the weird debug info 
> produced by clang.  We hope that lldb will do better.
> 
> He was unable to build lldb 3.5 with clang 3.5, so he is using gcc 4.8.3, 
> which we are using as the gcc-toolchain for clang builds.  It dies with this 
> error:
> 
> llvm[2]: Compiling SBDebugger.cpp for Release+Asserts build
> /usr/local/src/llvm-3.5.0.src/tools/lldb/source/API/SBDebugger.cpp: In 
> function ‘llvm::sys::DynamicLibrary LoadPlugin(const DebuggerSP&, const 
> lldb_private::FileSpec&, lldb_private::Error&)’:
> /usr/local/src/llvm-3.5.0.src/tools/lldb/source/API/SBDebugger.cpp:87:137: 
> warning: ISO C++ forbids casting between pointer-to-function and 
> pointer-to-object [-Wpedantic]
>         LLDBCommandPluginInit init_func = 
> (LLDBCommandPluginInit)dynlib.getAddressOfSymbol("_ZN4lldb16PluginInitializeENS_10SBDebuggerE");
> ^
> In file included from 
> /usr/local/src/llvm-3.5.0.src/tools/lldb/source/API/SBDebugger.cpp:47:0:
> /usr/local/src/llvm-3.5.0.src/include/llvm/Support/DynamicLibrary.h:46:14: 
> error: ‘llvm::sys::DynamicLibrary::DynamicLibrary(void*)’ is private
>     explicit DynamicLibrary(void *data = &Invalid) : Data(data) {}
>              ^
> /usr/local/src/llvm-3.5.0.src/tools/lldb/source/API/SBDebugger.cpp:107:38: 
> error: within this context
>     return llvm::sys::DynamicLibrary();
>                                      ^
> 
> How can we download, build, and install a version of lldb that will debug our 
> clang-3.5-built software on CentOS 6.5?
> 
> -- 
> Dick Hadsell                  203-992-6320  Fax: 203-992-6001
> Reply-to:                     hads...@blueskystudios.com
> Blue Sky Studios                http://www.blueskystudios.com
> 1 American Lane, Greenwich, CT 06831-2560
> 
> 
> _______________________________________________
> lldb-dev mailing list
> lldb-dev@cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Thanks,
- Enrico
📩 egranata@.com ☎️ 27683




_______________________________________________
lldb-dev mailing list
lldb-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to