<div dir="ltr">The bug that I just fixed with ScriptInterpreterPython reference counting of stdin/stderr/stdout *appears* to have fixed the libedit/libreadline issues we were initially investigating :-)<div><br></div><div>
That now maybe makes more sense in light of the fix since it may have been trying to do something with a file (maybe via a weak reference) that really should have been dead at that point.</div><div><br></div><div>At this point I have no more test failures on top of tree lldb at r200486.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jan 29, 2014 at 9:37 AM, Greg Clayton <span dir="ltr"><<a href="mailto:gclayton@apple.com" target="_blank">gclayton@apple.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">RTTI is disabled in all the llvm/clang/lldb builds. When something is looking for typeinfo, it tends to mean some file was compiled thinking RTTI was enabled.<br>

<div class="HOEnZb"><div class="h5"><br>
On Jan 29, 2014, at 8:31 AM, Abid, Hafiz <<a href="mailto:Hafiz_Abid@mentor.com">Hafiz_Abid@mentor.com</a>> wrote:<br>
<br>
> I am getting these error when building with cmake. Autoconf seems ok. Any idea what can be the problem?<br>
><br>
> ../../../../lib/liblldb.so.3.5: undefined reference to `typeinfo for llvm::ModulePass'<br>
> ../../../../lib/liblldb.so.3.5: undefined reference to `typeinfo for clang::ExternalASTSource'<br>
> ../../../../lib/liblldb.so.3.5: undefined reference to `typeinfo for llvm::JITMemoryManager'<br>
> ../../../../lib/liblldb.so.3.5: undefined reference to `typeinfo for clang::ASTImporter'<br>
> ../../../../lib/liblldb.so.3.5: undefined reference to `typeinfo for clang::DiagnosticConsumer'<br>
> ../../../../lib/liblldb.so.3.5: undefined reference to `typeinfo for llvm::MemoryObject'<br>
> ../../../../lib/liblldb.so.3.5: undefined reference to `typeinfo for clang::SemaConsumer'<br>
><br>
> Regards,<br>
> Abid<br>
><br>
>> -----Original Message-----<br>
>> From: <a href="mailto:lldb-dev-bounces@cs.uiuc.edu">lldb-dev-bounces@cs.uiuc.edu</a> [mailto:<a href="mailto:lldb-dev-bounces@cs.uiuc.edu">lldb-dev-bounces@cs.uiuc.edu</a>]<br>
>> On Behalf Of Greg Clayton<br>
>> Sent: 27 January 2014 23:51<br>
>> To: <a href="mailto:lldb-dev@cs.uiuc.edu">lldb-dev@cs.uiuc.edu</a><br>
>> Subject: [lldb-dev] IOHandler branch has been merged into top of tree<br>
>><br>
>> We will need everyone to make sure their buildbots are ok and get any<br>
>> issues fixed. This is the one and only time the input/output and error<br>
>> streams will be changed in this drastic of a way. The benefits are many:<br>
>><br>
>> 1 - Input/Output/Error streams are now handled as real streams not a push<br>
>> style input<br>
>> 2 - auto completion in python embedded interpreter<br>
>> 3 - multi-line input for "script" and "expression" commands now allow you<br>
>> to edit previous/next lines using up and down arrow keys and this makes<br>
>> multi-line input actually a viable thing to use<br>
>> 4 - it is now possible to use curses to drive LLDB (please try the "gui"<br>
>> command)<br>
>><br>
>> We will need to deal with and fix any buildbot failures and tests and arise<br>
>> now that input/output and error are correctly hooked up in all cases.<br>
>><br>
>> Greg Clayton<br>
>><br>
>> _______________________________________________<br>
>> lldb-dev mailing list<br>
>> <a href="mailto:lldb-dev@cs.uiuc.edu">lldb-dev@cs.uiuc.edu</a><br>
>> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev</a><br>
<br>
_______________________________________________<br>
lldb-dev mailing list<br>
<a href="mailto:lldb-dev@cs.uiuc.edu">lldb-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><table cellspacing="0" cellpadding="0" style="color:rgb(136,136,136);font-family:'Times New Roman'"><tbody><tr style="color:rgb(85,85,85);font-family:sans-serif;font-size:small">
<td nowrap style="border-top-style:solid;border-top-color:rgb(213,15,37);border-top-width:2px">Todd Fiala |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(51,105,232);border-top-width:2px"> Software Engineer |</td>
<td nowrap style="border-top-style:solid;border-top-color:rgb(0,153,57);border-top-width:2px"> <a href="mailto:tfiala@google.com" style="color:rgb(17,85,204)" target="_blank"><span style="background-color:rgb(255,255,204);color:rgb(34,34,34);background-repeat:initial initial">tfiala@google.com</span></a> |</td>
<td nowrap style="border-top-style:solid;border-top-color:rgb(238,178,17);border-top-width:2px"><font color="#1155cc"> <a>650-943-3180</a></font></td></tr></tbody></table><br></div>
</div>