On 02/08/16 17:20, Rick Payne wrote:
That failing, try to do a "regular" NetBSD build on your host. See
instructions here:
https://wiki.netbsd.org/tutorials/how_to_build_netbsd-current/
Just building "tools" is enough.
That did work:
[snip]
Is the suggestion to use this toolchain for rumprun now?
You can try. If it works, use it ;-)
If that build fails too, file an upstream bug report to NetBSD. Even if you do
come up with a patch, it needs to trickle into our repo via upstream, so an
upstream bug report is the right thing to do.
If that build doesn't fail, we need to figure out where the difference is --
there should be zero differences, but computers are oh so good at screwing
people.
Well, yes, there’s always the chance that something is a bit crazy on this
machine…
Well there was at least one part of crazy in my brain (as usual). I
forgot that for a NetBSD tools build, you're using the host toolchain to
build the actual tools and compat code. For Rumprun in your case,
you're using the host toolchain to build a toolchain which is used to
build the compat libs for the Rumprun case. It all gets very confusing
quite quickly (at least for me) ...