[lldb-dev] LLDB Assertion failed

Ziming Song s.ziming at hotmail.com
Mon Feb 2 20:10:14 PST 2015


I build LLDB following this tutorial on the website.
svn co http://llvm.org/svn/llvm-project/llvm/trunk llvmcd llvm/toolssvn co http://llvm.org/svn/llvm-project/cfe/trunk clang svn co http://llvm.org/svn/llvm-project/lldb/trunk lldbcd ../..mkdir build && cd buildcmake ../llvmmake -j4
But while executing make, I encountered an error saying:
Python script sym-linking LLDB Python APIProgram error: Invalid parameters entered, -h for help. You entered:['--buildConfig=', '--srcRoot=/home/szm/workSpace/studio/llvm/tools/lldb', '--targetDir=/home/szm/workSpace/studio/llvm-build2/tools/lldb/source/../scripts', '--cfgBldDir=/home/szm/workSpace/studio/llvm-build2/tools/lldb/source/../scripts', '--prefix=/home/szm/workSpace/studio/llvm-build2', '--cmakeBuildConfiguration=.', '-m'] (-1)make[2]: *** [lib/liblldb.so.3.7.0] Error 255make[1]: *** [tools/lldb/source/CMakeFiles/liblldb.dir/all] Error 2make: *** [all] Error 2
But the compilation can go on if I type make again.
ZimingDate: Mon, 2 Feb 2015 14:52:11 -0800
Subject: Re: [lldb-dev] LLDB Assertion failed
From: vharron at google.com
To: s.ziming at hotmail.com
CC: lldb-dev at cs.uiuc.edu

Hi Ziming,
Can you share your exact checkout and build steps as a script?
Vince


On Feb 2, 2015 9:46 AM, "Ziming Song" <s.ziming at hotmail.com> wrote:






Hi all,
I just compiled the lastest version of LLDB on ubuntu. But when I executed the `lldb` in the bin directory, it print the following and exit:
lldb: /home/szm/workSpace/studio/llvm/include/llvm/Support/CommandLine.h:673: void llvm::cl::parser<DataType>::addLiteralOption(const char*, const DT&, const char*) [with DT = llvm::ScheduleDAGInstrs* (*)(llvm::MachineSchedContext*); DataType = llvm::ScheduleDAGInstrs* (*)(llvm::MachineSchedContext*)]: Assertion `findOption(Name) == Values.size() && "Option already exists!"' failed.Aborted (core dumped)
And the same for lldm-mi.
Also, if I create a simple program that uses LLDB API and run it, it'll complain that:
error while loading shared libraries: liblldb.so.3.7.0: cannot open shared object file: No such file or directory
But liblldb.so.3.7.0 exists, even if I copy the file to the same directory.
 		 	   		  

_______________________________________________

lldb-dev mailing list

lldb-dev at cs.uiuc.edu

http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev


 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20150203/44675342/attachment.html>


More information about the lldb-dev mailing list