From owner-freebsd-current@FreeBSD.ORG Thu Feb 12 04:46:50 2015 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1EDA2E25; Thu, 12 Feb 2015 04:46:50 +0000 (UTC) Received: from mail-ie0-f179.google.com (mail-ie0-f179.google.com [209.85.223.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DEDC2333; Thu, 12 Feb 2015 04:46:49 +0000 (UTC) Received: by iecat20 with SMTP id at20so9306149iec.12; Wed, 11 Feb 2015 20:46:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=6gq8YpY7vHjw8rfMhkEzk4zIGcMj+q+jnZbFpm1R5bo=; b=lsPGVunUoQDgP4e6SNR4CzfjIUqikWg2fEru8Ql9dsvHsngz1gV0Obw2Uv3vMoTTFQ CwYp40WeyHfB0oi1sDJ/vpEM0UO/KJyUns7BmHv8p7gKYrQJm2HKRMoTqxkdfMjnktEn dmPpe3/kN1U/O6cgN6x0M+Exhd3VW/5rw4AKw2mfz1ukoVay/aS4jnMT9tEJdWCYbg5E nAxHIuQJMDVq3U3BLRZquUL8l6aN/2m37fSwYm8y50XtO+294ajmIGjhNWD9XHJstKJf atjhkM+0elLjwGLE6NenkpyhrjXqSF4xaS9AA2oPfkmIU9sHJROHlBKcZiHag22n9OmF IlQw== X-Received: by 10.42.236.138 with SMTP id kk10mr3885067icb.60.1423716409049; Wed, 11 Feb 2015 20:46:49 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.175.4 with HTTP; Wed, 11 Feb 2015 20:46:18 -0800 (PST) In-Reply-To: <20150212041158.GH1302@hub.FreeBSD.org> References: <20150212023912.GG1302@hub.FreeBSD.org> <1423713360.80968.89.camel@freebsd.org> <20150212041158.GH1302@hub.FreeBSD.org> From: Jia-Shiun Li Date: Thu, 12 Feb 2015 12:46:18 +0800 Message-ID: Subject: Re: HEADS-UP: Enabling WITH_DEBUG_FILES by default To: Glen Barber Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Current , Ed Maste , Ian Lepore X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 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: Thu, 12 Feb 2015 04:46:50 -0000 On Thu, Feb 12, 2015 at 12:11 PM, Glen Barber wrote: > The major benefit is that all debugging data that we need to properly > debug application crashes in the base system will be available > out-of-box. > > There is a trade-off here, in both directions. For arm, for example, > the trade-off is that the default installed userland would grow, however > when there is a PR regarding an application crash, the tools to diagnose > the issue are there by default (we do not need to ask that the utility > is rebuilt with debugging options enabled, and then recreate the crash). > > I considered making this an opt-in thing for arm, but given the above > rationale, thought it would be more beneficial for the opposite route. > If you feel necessary, however, we can turn this off by default for now > for arm. > Is this default value supposed to go to future releases or only kept in -current for development & debugging purpose? For releases and resource-critical platforms, it'd be nice to build them all at once but only populate when needed after installation. -Jia-shiun.