From owner-svn-src-head@FreeBSD.ORG Fri Jun 7 23:59:18 2013 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id F1960ECD; Fri, 7 Jun 2013 23:59:17 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from onyx.glenbarber.us (onyx.glenbarber.us [199.48.134.227]) by mx1.freebsd.org (Postfix) with ESMTP id B8E981AB4; Fri, 7 Jun 2013 23:59:17 +0000 (UTC) Received: from glenbarber.us (kaos.glenbarber.us [71.224.221.174]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: gjb) by onyx.glenbarber.us (Postfix) with ESMTPSA id B118723F848; Fri, 7 Jun 2013 19:59:13 -0400 (EDT) DKIM-Filter: OpenDKIM Filter v2.8.3 onyx.glenbarber.us B118723F848 Authentication-Results: onyx.glenbarber.us; dkim=none reason="no signature"; dkim-adsp=none Date: Fri, 7 Jun 2013 19:59:11 -0400 From: Glen Barber To: Don Lewis Subject: Re: svn commit: r251512 - in head: . etc etc/mtree gnu/usr.bin/gdb gnu/usr.bin/gdb/arch/amd64 gnu/usr.bin/gdb/arch/arm gnu/usr.bin/gdb/arch/i386 gnu/usr.bin/gdb/arch/ia64 gnu/usr.bin/gdb/arch/mips gnu/... Message-ID: <20130607235911.GH1578@glenbarber.us> References: <20130607233859.GE1578@glenbarber.us> <201306072351.r57NowUR087706@gw.catspoiler.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="o71xDhNo7p97+qVi" Content-Disposition: inline In-Reply-To: <201306072351.r57NowUR087706@gw.catspoiler.org> X-Operating-System: FreeBSD 10.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, emaste@FreeBSD.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jun 2013 23:59:18 -0000 --o71xDhNo7p97+qVi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 07, 2013 at 04:50:58PM -0700, Don Lewis wrote: > On 7 Jun, Glen Barber wrote: > > On Fri, Jun 07, 2013 at 04:35:23PM -0700, Don Lewis wrote: > >> On 7 Jun, Ed Maste wrote: > >> > Author: emaste > >> > Date: Fri Jun 7 21:40:02 2013 > >> > New Revision: 251512 > >> > URL: http://svnweb.freebsd.org/changeset/base/251512 > >> >=20 > >> > Log: > >> > Add a new knob WITH_DEBUG_FILES to control the building of standal= one > >> > debug files for userland programs and libraries. The "-g" debug f= lag > >> > is automatically applied when WITH_DEBUG_FILES is set. > >> > =20 > >> > The debug files are now named ${prog}.debug and ${shlib}.debug for > >> > consistency with other systems and documentation. In addition the= y are > >> > installed under /usr/lib/debug, to simplify the process of install= ing > >> > them if needed after a crash. Users of bsd.{prog,lib}.mk outside = of the > >> > base system place the standalone debug files in a .debug subdirect= ory. > >> > GDB automatically searches both of these directories for standalone > >> > debug files. > >>=20 > >> Can the debug files be compressed so they don't take up as much room? = It > >> looks like gdb supports compressed symbol files. The same would be ni= ce > >> for /boot/kernel/*.symbols, btw ... > >>=20 > >=20 > > I don't think compression will gain us much here. The difference of > > release medium size with WITH_DEBUG_FILES set versus without is ~2GB > > compared to ~750MB. On the release medium, the debug files are > > compressed with the base system with xz(1). >=20 > I'm not concerned so much about the size of the release medium as I am > about how much space this will take on my /usr partition. I still > remember having to resize the root partitions on all my machines when > the kernel symbols were added. My head machine also has a small drive > with everything under / and space is very tight once all the ports are > installed. >=20 Understood. I was just pointing out the significant size difference overall. Glen --o71xDhNo7p97+qVi Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iQEcBAEBCAAGBQJRsnPPAAoJEFJPDDeguUajtA0H/3mBKbUq06JSTvg6F0fEjy+I KlJCJfzanMNiTt8/uBhjDiJ8TS9QxaeJTntoxrSP1Pk82BVy1aoWR9PBlLnkT0Ow cgYKSTAWAJ8WxsPoo6Ra38ggMsLZtvlQEMizC5wjbs67N3UAOSp52ttghvnNKniD WAi6tPvYs1/sHGQAjwm9QLUOOaPB52BbwF0f6t2P+kK05Bk6Pc+9eyv2IjNv7gW3 DB0Qp8EC6Xv49e0s3z8vqbVaKJ0pY/kjYHReSmvR7gIrGJsFdEgQYqq9pZv3ILFE nTZLZzu3CwDIajL0E6tmmpvpSJbCuR5MaoqmKCbJi+LSVxYRm34LceasirdB8J4= =jzUn -----END PGP SIGNATURE----- --o71xDhNo7p97+qVi--