Re: HEADS-UP: Userland debug files enabled by default

From: Andriy Gapon <avg_at_FreeBSD.org>
Date: Tue, 8 Dec 2015 18:58:40 +0200
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
Received on Tue Dec 08 2015 - 15:59:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:01 UTC