From owner-svn-src-all@FreeBSD.ORG Fri Jun 7 23:51:08 2013 Return-Path: Delivered-To: svn-src-all@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 AE6ECADD; Fri, 7 Jun 2013 23:51:08 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from gw.catspoiler.org (gw.catspoiler.org [75.1.14.242]) by mx1.freebsd.org (Postfix) with ESMTP id 8E3A61A76; Fri, 7 Jun 2013 23:51:08 +0000 (UTC) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.13.3/8.13.3) with ESMTP id r57NowUR087706; Fri, 7 Jun 2013 16:51:02 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Message-Id: <201306072351.r57NowUR087706@gw.catspoiler.org> Date: Fri, 7 Jun 2013 16:50:58 -0700 (PDT) From: 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/... To: gjb@FreeBSD.org In-Reply-To: <20130607233859.GE1578@glenbarber.us> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, emaste@FreeBSD.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jun 2013 23:51:08 -0000 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 >> > >> > Log: >> > Add a new knob WITH_DEBUG_FILES to control the building of standalone >> > debug files for userland programs and libraries. The "-g" debug flag >> > is automatically applied when WITH_DEBUG_FILES is set. >> > >> > The debug files are now named ${prog}.debug and ${shlib}.debug for >> > consistency with other systems and documentation. In addition they are >> > installed under /usr/lib/debug, to simplify the process of installing >> > 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 subdirectory. >> > GDB automatically searches both of these directories for standalone >> > debug files. >> >> 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 nice >> for /boot/kernel/*.symbols, btw ... >> > > 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). 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.