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

Rob Landley rob at landley.net
Sat Oct 26 17:06:54 PDT 2019


On 10/16/19 6:19 PM, Denys Nykula wrote:
> 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.

Is there a walkthrough on doing this or a URL I could follow it at? More build
environments to test against is good...

Rob



More information about the Toybox mailing list