From nobody Fri Nov 26 09:51:43 2021 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 1504B18B7881 for ; Fri, 26 Nov 2021 09:51:59 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4J0qlf6SLbz3j3c; Fri, 26 Nov 2021 09:51:58 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (v-critter.freebsd.dk [192.168.55.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by phk.freebsd.dk (Postfix) with ESMTPS id D759F8929B; Fri, 26 Nov 2021 09:51:50 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.16.1/8.16.1) with ESMTPS id 1AQ9pjHW044891 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 26 Nov 2021 09:51:45 GMT (envelope-from phk@critter.freebsd.dk) Received: (from phk@localhost) by critter.freebsd.dk (8.16.1/8.16.1/Submit) id 1AQ9phkb044890; Fri, 26 Nov 2021 09:51:43 GMT (envelope-from phk) Message-Id: <202111260951.1AQ9phkb044890@critter.freebsd.dk> To: Ed Maste cc: Eugene Grosbein , Warner Losh , FreeBSD Hackers Subject: Re: Retiring WITHOUT_CXX In-reply-to: From: "Poul-Henning Kamp" References: <13a7b078-9e53-6bc2-a94e-b366ac1413dd@grosbein.net> List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <44888.1637920303.1@critter.freebsd.dk> Date: Fri, 26 Nov 2021 09:51:43 +0000 X-Rspamd-Queue-Id: 4J0qlf6SLbz3j3c X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N -------- Ed Maste writes: > Of course it's important to support small images, but we need to do so > via pkgbase, nanobsd, etc., rather than poorly-maintained build knobs. > (Knobs like WITHOUT_INCLUDES are built into our make infrastructure, > and are fine.) Just a bit of nit-picking and some commentary: At least as far as NanoBSD goes, that is a tautological argument, because slim NanoBSD images are created using WITHOUT_* options[1]. WITHOUT_CXX used to be one of the good ones, it freed up a lot of space, at a cost of, as I remember it, groff. We should always have a few such supported "shaves a lot" options, if for no other reason than because the B-O-S does positively explodes if it has to do all the combinatorics. These days, WITHOUT_TOOLCHAIN is my goto for really slim images, it shaves twice as much as WITHOUT_CXX. Poul-Henning [1] This is why I wrote the build-option-survey in the first place :-) -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.