We are currently also having the same problem when building lldb for linux.
The work around we are using is to build clang, llvm and lldb with "-fno-rtti" as part of CMAKE_CXX_FLAGS, which will bypass this problem. My guess is that something has been added to one of these project which doesn't build with -fno-rtti, or it has been removed somewhere.

On 29/01/2014 16:31, Abid, Hafiz wrote:
I am getting these error when building with cmake. Autoconf seems ok. Any idea 
what can be the problem?

../../../../lib/liblldb.so.3.5: undefined reference to `typeinfo for 
llvm::ModulePass'
../../../../lib/liblldb.so.3.5: undefined reference to `typeinfo for 
clang::ExternalASTSource'
../../../../lib/liblldb.so.3.5: undefined reference to `typeinfo for 
llvm::JITMemoryManager'
../../../../lib/liblldb.so.3.5: undefined reference to `typeinfo for 
clang::ASTImporter'
../../../../lib/liblldb.so.3.5: undefined reference to `typeinfo for 
clang::DiagnosticConsumer'
../../../../lib/liblldb.so.3.5: undefined reference to `typeinfo for 
llvm::MemoryObject'
../../../../lib/liblldb.so.3.5: undefined reference to `typeinfo for 
clang::SemaConsumer'

Regards,
Abid

-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of Greg Clayton
Sent: 27 January 2014 23:51
To: [email protected]
Subject: [lldb-dev] IOHandler branch has been merged into top of tree

We will need everyone to make sure their buildbots are ok and get any
issues fixed. This is the one and only time the input/output and error
streams will be changed in this drastic of a way. The benefits are many:

1 - Input/Output/Error streams are now handled as real streams not a push
style input
2 - auto completion in python embedded interpreter
3 - multi-line input for "script" and "expression" commands now allow you
to edit previous/next lines using up and down arrow keys and this makes
multi-line input actually a viable thing to use
4 - it is now possible to use curses to drive LLDB (please try the "gui"
command)

We will need to deal with and fix any buildbot failures and tests and arise
now that input/output and error are correctly hooked up in all cases.

Greg Clayton

_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to