[Lldb-commits] [PATCH] D68856: convert SBDebugger::***FileHandle() wrappers to native files.

Michał Górny via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 21 22:41:18 PDT 2019


mgorny added a comment.

In D68856#1717332 <https://reviews.llvm.org/D68856#1717332>, @lawrence_danna wrote:

> I spoke too soon, I don't have a *usable* netbsd VM.
>
> @mgorny, Do you have a machine you can debug on yourself?


Yes.

> Do those errors happen if you run the same test on an interactive terminal?

Yes, if by that you mean lit run on console. I haven't tried running it outside lit (yet).

> Can you step through the SWIG wrappers and tell me where it errors out?

I'm planning to do this later today.

In D68856#1717567 <https://reviews.llvm.org/D68856#1717567>, @lawrence_danna wrote:

> can you at least point me at the setup scripts buildbot us using for netbsd?   What dependencies are installed?  How is cmake invoked?   I'm getting a ton on unrelated problems just trying to build it.


https://github.com/mgorny/netbsd-llvm-build/tree/master/buildbotScripts/bashShell/svntotbuild

We're using setEnv, checkoutSource, cmake, buildLocal, in this order. I suppose only cmake matters to you, the stuff in build is a hack to reduce memory usage. Also relevant is that we're running 8.x kernel there (`netbsd-8` branch if you're using git).

We install stuff via pkgsrc <https://www.pkgsrc.org/>. Once you do the bootstrap,  `/usr/pkgsrc/devel/cmake`, `/usr/pkgsrc/devel/git` and `/usr/pkgsrc/devel/swig3` is what you need, optionally `/usr/pkgsrc/devel/ninja-build`. I don't recall needing anything else.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68856/new/

https://reviews.llvm.org/D68856





More information about the lldb-commits mailing list