<div dir="ltr"><div dir="ltr">I this was because of a change in llvm which broke codesigning of debugserver: <a href="https://reviews.llvm.org/D64965">https://reviews.llvm.org/D64965</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 19, 2019 at 10:36 AM Gábor Márton via lldb-dev <<a href="mailto:lldb-dev@lists.llvm.org">lldb-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Actually, it is embarrassing (perhaps for macOS and not for me) that after a reboot the problem is gone.<div>Perhaps after "sudo /usr/sbin/DevToolsSecurity --enable" a reboot is required, but could not find anything official about that.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 19, 2019 at 7:20 PM Gábor Márton <<a href="mailto:martongabesz@gmail.com" target="_blank">martongabesz@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">This might not be related to the debugserver, I just realized that I get <div>"error: <span class="gmail-m_1710130628135181757gmail-m_-2133299894781877036gmail-il">process</span> <span class="gmail-m_1710130628135181757gmail-m_-2133299894781877036gmail-il">exited</span> with status -1 (Error 1)"<br></div><div>even with the simplest main.c.</div><div>This may be some kind of security issue on mac OS...</div><div>Though I've checked and I have SIP disabled and I have executed "sudo /usr/sbin/DevToolsSecurity --enable".</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 19, 2019 at 4:46 PM Gábor Márton <<a href="mailto:martongabesz@gmail.com" target="_blank">martongabesz@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Stefan,<div><br></div><div>Since the commit</div><div>"[CMake] Always build debugserver on Darwin and allow tests to use the system's one"</div><div>I cannot use the system debugserver for testing.</div><div>I receive the following error message from lldb when I execute "ninja check-lldb":<br></div><div>```</div><div>runCmd: run<br>runCmd failed!<br>error: process exited with status -1 (Error 1)<br></div><div>```</div><div><br></div><div><div>I do set up "-DLLDB_USE_SYSTEM_DEBUGSERVER=ON" with cmake so I see</div></div><div>```</div><div>-- LLDB tests use out-of-tree debugserver: /Library/Developer/CommandLineTools/Library/PrivateFrameworks/LLDB.framework/Resources/debugserver<br></div><div>```</div><div><br></div><div>Also, I have inspected the following test output</div><div>```</div><div>Command invoked: /usr/bin/python /Users/egbomrt/llvm2/git/llvm/tools/lldb/test/dotest.py -q --arch=x86_64 -s /Users/egbomrt/llvm2/build/release_assert/lldb-test-traces --build-dir /Users/egbomrt/llvm2/build/release_assert/lldb-test-build.noindex -S nm -u CXXFLAGS -u CFLAGS --executable /Users/egbomrt/llvm2/build/release_assert/./bin/lldb --dsymutil /Users/egbomrt/llvm2/build/release_assert/./bin/dsymutil --filecheck /Users/egbomrt/llvm2/build/release_assert/./bin/FileCheck -C /Users/egbomrt/llvm2/build/release_assert/bin/clang --codesign-identity - --out-of-tree-debugserver --arch x86_64 -t --env TERM=vt100 -p TestCModules.py --results-port 49931 -S nm --inferior -p TestCModules.py /Users/egbomrt/llvm2/git/llvm/tools/lldb/packages/Python/lldbsuite/test/lang/c/modules --event-add-entries worker_index=0:int<br>  1 out of 736 test suites processed - TestCModules.py<br></div><div>```</div><div>so it seems like the argument for --out-of-tree-debugserver is missing...</div><div><br></div>Could you please advise?<div><br></div><div>Thank you,</div><div>Gabor</div></div>
</blockquote></div>
</blockquote></div>
_______________________________________________<br>
lldb-dev mailing list<br>
<a href="mailto:lldb-dev@lists.llvm.org" target="_blank">lldb-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev</a><br>
</blockquote></div>