HEADS-UP: Userland debug files enabled by default

From: Ed Maste <emaste_at_freebsd.org>
Date: Tue, 8 Dec 2015 10:27:44 -0500
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.
Received on Tue Dec 08 2015 - 14:28:04 UTC

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