Hi Pavel, I do an in-tree build, so lldb is next to clang. And I use ccache, could that be a problem? If yes then why just with the unit tests? Here is how I configured cmake: cmake ../../git/llvm -G Ninja -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -DBUILD_SHARED_LIBS=1 -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_ENABLE_ASSERTIONS=1
Thanks, Gabor On Tue, Jun 26, 2018 at 5:05 PM Pavel Labath <lab...@google.com> wrote: > Hello Gabor, > > The error message (Option 'help-list' registered more than once) leads > me to believe that this is caused by an uncommon (for lldb, at least) > build configuration. Can you share your cmake configuration? > > I suspect TestLinuxCore is also failing due to unexpected build > configuration, specifically missing targets in llvm (mips?). I'll try > to fix that this week. > On Tue, 26 Jun 2018 at 14:44, Gábor Márton via lldb-dev > <lldb-dev@lists.llvm.org> wrote: > > > > Hi > > > > By using "ninja check-lldb-unit" some of the unit tests fail with the > tip of the master. (I am using Ubuntu Linux.) The error is always related > to the CommandLine options: > > > > FAIL: lldb-Unit :: > ScriptInterpreter/Python/./ScriptInterpreterPythonTests/PythonDataObjectsTest.TestBorrowedReferences > (120 of 363) > > ******************** TEST 'lldb-Unit :: > ScriptInterpreter/Python/./ScriptInterpreterPythonTests/PythonDataObjectsTest.TestBorrowedReferences' > FAILED ******************** > > Note: Google Test filter = PythonDataObjectsTest.TestBorrowedReferences > > [==========] Running 1 test from 1 test case. > > [----------] Global test environment set-up. > > [----------] 1 test from PythonDataObjectsTest > > [ RUN ] PythonDataObjectsTest.TestBorrowedReferences > > : CommandLine Error: Option 'help-list' registered more than once! > > LLVM ERROR: inconsistency in registered CommandLine options > > > > The other lit tests pass, except TestLinuxCore.py. > > > > I already set up LD_LIBRARY_PATH to point to $build/bin. > > Am I missing something else? > > > > Any help would be appreciated. > > > > Thanks, > > Gábor > > _______________________________________________ > > lldb-dev mailing list > > lldb-dev@lists.llvm.org > > http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev >
_______________________________________________ lldb-dev mailing list lldb-dev@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev