From owner-freebsd-current@freebsd.org Tue Dec 8 16:59:49 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2974F9D46B6 for ; Tue, 8 Dec 2015 16:59:49 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 3E97E1F32; Tue, 8 Dec 2015 16:59:47 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id SAA26780; Tue, 08 Dec 2015 18:59:39 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1a6Lc2-000BZm-Oc; Tue, 08 Dec 2015 18:59:38 +0200 Subject: Re: HEADS-UP: Userland debug files enabled by default To: Ed Maste , FreeBSD Current References: From: Andriy Gapon Message-ID: <56670C40.30207@FreeBSD.org> Date: Tue, 8 Dec 2015 18:58:40 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Dec 2015 16:59:49 -0000 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