Index | Thread | Search

From:
"Theo de Raadt" <deraadt@openbsd.org>
Subject:
Re: [PATCH] Allow building libc without generating tags
To:
"John Ericson" <git@JohnEricson.me>
Cc:
tech@openbsd.org
Date:
Wed, 15 May 2024 08:40:28 -0600

Download raw body.

Thread
John Ericson <git@JohnEricson.me> wrote:

> For regular OpenBSD development (that takes plan on OpenBSD), I agree there is
> no pressing reason to disable building tags.
> 
> I however am coming from Nixpkgs where we do exotic bootstrapping things. In
> particular, this patch comes from this PR [1], which would be our third
> supported BSD cross compilation. There is a also FreeBSD native bootstrap in the
> works [2], and there is also work porting over GNU Guix's almost-ex-nihilo Linux
> bootstrap [3]. Our perspective based on such endeavors is that we much rather
> first build libc alone, and later build the tags as a separate far downstream
> build step.

Makes no sense to me.

We have a 1.5G source tree. All the parts must do only what _we_ need.
We should not bend over to external requirements, which become
unmaintained (unmaintainable) aspects outside our immediate view.  It is
unnecessary complexity.  Since we don't use this button, it won't take
long before it gets refactored into breakage.  We refactor a lot.

So this is entirely a downstream problem.