Date: Thu, 12 Feb 2015 09:58:46 -0500 From: Ed Maste <emaste@freebsd.org> To: Ian Lepore <ian@freebsd.org> Cc: Glen Barber <gjb@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: HEADS-UP: Enabling WITH_DEBUG_FILES by default Message-ID: <CAPyFy2D_iJsxSB2B5qO7dBxD5J_tvv09cZ7THCcFF-qsX8dq5g@mail.gmail.com> In-Reply-To: <1423714981.80968.100.camel@freebsd.org> References: <20150212023912.GG1302@hub.FreeBSD.org> <CAPyFy2CSDaukZhJeC3t0%2BccuGW=VTJRT4BoXCNrTUYB%2BxpM5AA@mail.gmail.com> <1423713360.80968.89.camel@freebsd.org> <20150212041158.GH1302@hub.FreeBSD.org> <1423714981.80968.100.camel@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11 February 2015 at 23:23, Ian Lepore <ian@freebsd.org> wrote: > > I can't imagine that anybody is going to be happy with an installed > system size increase from 520 to 2520 MB no matter how much it helps > debugging, especially considering the the typical installation media is > in the 2-8 GB range (with lots of 2 and 4 GB cards out there because > that's what vendors bundle with the boards). This change will have almost(*) no effect on the size of a default installation from FreeBSD releases, or the size of those releases (CD or memstick images). The plan is that the debug files will be available as package sets that can be installed on demand, but in order to do so the debug data needs to be built and stored at the time the release is built. I say "almost" no effect because the installed binaries grow by a trivial amount with the addition of a .gnu_debuglink section and note. For illustration here are the file sizes of ls, files in the objdir unless otherwise noted: # no debug ls 44465 ls (installed) 31920 # with debug ls.full 89401 ls.debug 60145 ls 40344 ls (installed) 32016
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2D_iJsxSB2B5qO7dBxD5J_tvv09cZ7THCcFF-qsX8dq5g>