Date: Tue, 8 Dec 2015 18:58:40 +0200 From: Andriy Gapon <avg@FreeBSD.org> To: Ed Maste <emaste@FreeBSD.org>, FreeBSD Current <freebsd-current@FreeBSD.org> Subject: Re: HEADS-UP: Userland debug files enabled by default Message-ID: <56670C40.30207@FreeBSD.org> In-Reply-To: <CAPyFy2Dif1meSC0742%2BbAsyLRUz0wS8_h6jaFrTNfc1YCWS5rQ@mail.gmail.com> References: <CAPyFy2Dif1meSC0742%2BbAsyLRUz0wS8_h6jaFrTNfc1YCWS5rQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 08/12/2015 17:27, Ed Maste wrote: > As of r291955 userland debug files are built and installed by default, > in order to facilitate debugging. They will be built as part of the > release process (in FreeBSD 11) so that they can be made available for > download either at install time, or later on to debug a core file > after a crash. (Release builds currently require the use of all > default options.) > > The debug files will be located automatically by gdb or lldb, by > following the ".gnu_debuglink" section in the binary or library. > > These files occupy additional disk space in the build object directory > (e.g. /usr/obj) and in the install target filesystem (in > /usr/lib/debug/...). If you do not want to build and install the debug > files for any reason, add the following to /etc/src.conf: > WITHOUT_DEBUG_FILES=YES > > I hope to refine the option further to provide separate control over > building debug files for binaries and for libraries/rltd. Thank you very much! This is a good improvement. Now I only wish that we could do the same for packages (where possible) :-) -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56670C40.30207>