Yes, he is building from the LLVM trunk.  I'll look for the bugzilla site.

On 12/15/2014 02:16 PM, Enrico Granata wrote:
To be honest, things have been compiling just fine around here for a while, but 
I work on OS X with clang, so your luck may vary.

Do you have a trunk LLVM as well?
As for bugs, LLVM has a bugzilla you could use.

On Dec 15, 2014, at 10:40 AM, Richard Hadsell <hads...@blueskystudios.com 
<mailto:hads...@blueskystudios.com>> wrote:

I misunderstood what my sys admin told me.  He was building lldb from the 
trunk, when g++ 4.8.3 gave that error.  Has there been a fix for it in the last 
few days?  How do I report a bug like this?

On 12/12/2014 07:58 PM, Richard Hadsell wrote:
Thanks.  I'll recommend that to my guy.  We didn't realize that lldb wasn't 
vetted the way clang is for an llvm release.

On 12/12/2014 05:26 PM, Enrico Granata wrote:
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 
<mailto: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?


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


--
Dick Hadsell                    203-992-6320  Fax: 203-992-6001
Reply-to:                       hads...@blueskystudios.com
Blue Sky Studioshttp://www.blueskystudios.com
1 American Lane, Greenwich, CT 06831-2560

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





--

Dick Hadsell                    203-992-6320  Fax: 203-992-6001
Reply-to:                       hads...@blueskystudios.com
Blue Sky Studioshttp://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

Reply via email to