[lldb-dev] LLDB Assertion failed

Siva Chandra sivachandra at google.com
Mon Feb 2 20:26:48 PST 2015


On Mon, Feb 2, 2015 at 8:10 PM, Ziming Song <s.ziming at hotmail.com> wrote:
> I build LLDB following this tutorial on the website.
>
> svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm
> cd llvm/tools
> svn co http://llvm.org/svn/llvm-project/cfe/trunk clang
> svn co http://llvm.org/svn/llvm-project/lldb/trunk lldb
> cd ../..
> mkdir build && cd build
> cmake ../llvm
> make -j4
>
> But while executing make, I encountered an error saying:
>
> Python script sym-linking LLDB Python API
> Program 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 255
> make[1]: *** [tools/lldb/source/CMakeFiles/liblldb.dir/all] Error 2
> make: *** [all] Error 2

After a recent change, one is having to specify CMAKE_BUILD_TYPE explicitly:

cmake -DCMAKE_BUILD_TYPE=Debug ../llvm



More information about the lldb-dev mailing list