[Toybox] [PATCH] Pass cflags and hostcc in mkroot.

Denys Nykula nykula at ukr.net
Wed Oct 16 16:19:25 PDT 2019


On Wed, Oct 16, 2019 at 01:10:50AM -0500, Rob Landley wrote:
> Static linking against glibc tends to break stuff (like DNS lookup) and produce
> TONS of warnings.

Noticed. That's unfortunate.

> I had a linux from scratch based one of these, which I need to reproduce. But
> https://landley.net/aboriginal/about.html#hairball was a bunch of work to make
> anything useful. It sounds like you have a BSD-based one you're trying to use on
> Linux?

Yes, NetBSD package repository appears to be easier to bootstrap on Linux than
those of GNU/distros. Package recipes are an independent layer from toolchain and
core utils flavor, no init system enforced etc. But lots of software still assume
glibc on Linux, and pkgsrc hasn't yet updated for example ninja where upstream
merged the patch I sent for musl support so gentoo already uses it. Despite this
one being quick to solve as samurai is a drop-in replacement enough for cmake and
such, and despite many server and scriptable packages working out of the box...
I'm typing on the something useful that my script returns, but the lack of a
modern browser or a full desktop environment another user couldn't tolerate.



More information about the Toybox mailing list