From nobody Fri Nov 26 02:38:55 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 B7BCE18BAFD2 for ; Fri, 26 Nov 2021 02:39:12 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [IPv6:2a01:4f8:c2c:26d8::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J0f8J38vMz3qHq; Fri, 26 Nov 2021 02:39:12 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221] (may be forged)) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id 1AQ2d5d7047806 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 26 Nov 2021 02:39:06 GMT (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: emaste@freebsd.org Received: from [10.58.0.10] (dadvw [10.58.0.10]) by eg.sd.rdtc.ru (8.16.1/8.16.1) with ESMTPS id 1AQ2d5C5061864 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Fri, 26 Nov 2021 09:39:05 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: Retiring WITHOUT_CXX To: Ed Maste References: <13a7b078-9e53-6bc2-a94e-b366ac1413dd@grosbein.net> Cc: Warner Losh , FreeBSD Hackers From: Eugene Grosbein Message-ID: <84615b2d-b9cd-708f-78f8-c52fadb71d18@grosbein.net> Date: Fri, 26 Nov 2021 09:38:55 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 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 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT autolearn=disabled version=3.4.2 X-Spam-Report: * -0.0 SHORTCIRCUIT No description available. * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on hz.grosbein.net X-Rspamd-Queue-Id: 4J0f8J38vMz3qHq 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 26.11.2021 5:16, Ed Maste wrote > On Thu, 25 Nov 2021 at 16:52, Eugene Grosbein wrote: >> >> 26.11.2021 4:45, Warner Losh wrote: >>> >>> We've grown enough C++ support this is likely sane. >> >> How embedded-friendly is this? I mean a difference in required space for self-contained small file system. >> Comparing with 8.x/9.x, minimal FreeBSD image become pretty big. > > I'm not really concerned about this with respect specifically to WITHOUT_CXX. > > 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.) I use nanobsd to build my images and knobs are main tool for nanobsd (though not only) to exclude unneeded parts of system from resulting image. That's why I have asked.