From owner-freebsd-current@FreeBSD.ORG Thu Feb 12 14:59:08 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 2E676E28; Thu, 12 Feb 2015 14:59:08 +0000 (UTC) Received: from mail-qc0-x235.google.com (mail-qc0-x235.google.com [IPv6:2607:f8b0:400d:c01::235]) (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 D7CCCCE0; Thu, 12 Feb 2015 14:59:07 +0000 (UTC) Received: by mail-qc0-f181.google.com with SMTP id p6so8772471qcv.12; Thu, 12 Feb 2015 06:59:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=s8ZpUQ0Nhm1CnSDsklEUjdE2RzbIl0vmh3WX6NVOqmA=; b=FHsErwycgbvjlKD/gLLoMObXuqW7I3AesSg2J3KoEin/qwIaVqukI6lOMGyiivGAcq bDAAsTkNkPL9ctoThLNyfKMlcR+2Da4Oq9FaRiXjckhSXGVTZKTsOvkEf2+jJTXwiTV4 kVzZ8s1AiSq9IXHyVGV9szF9KYG9/7Qdkk4P6t+MZoV+YiQnnVvz/EmTjTQnCgL6kddJ HqDZsoeONFjmko5uB750n0q2p1s59arhn682UBpHpFyiN1QLNxhzHf9YZxayrsRoL4OO 8Tmv2HSD/8VuCgdRvXS5ac1m9kgqY/2M6XVCDUY7gJcDXC5x9cLqkJxHRe84nOykRj6Q OU6A== X-Received: by 10.229.80.72 with SMTP id s8mr11764227qck.24.1423753147084; Thu, 12 Feb 2015 06:59:07 -0800 (PST) MIME-Version: 1.0 Sender: carpeddiem@gmail.com Received: by 10.140.39.209 with HTTP; Thu, 12 Feb 2015 06:58:46 -0800 (PST) In-Reply-To: <1423714981.80968.100.camel@freebsd.org> References: <20150212023912.GG1302@hub.FreeBSD.org> <1423713360.80968.89.camel@freebsd.org> <20150212041158.GH1302@hub.FreeBSD.org> <1423714981.80968.100.camel@freebsd.org> From: Ed Maste Date: Thu, 12 Feb 2015 09:58:46 -0500 X-Google-Sender-Auth: GMa7lkOC8vxho9pILQiZACSjn5s Message-ID: Subject: Re: HEADS-UP: Enabling WITH_DEBUG_FILES by default To: Ian Lepore Content-Type: text/plain; charset=UTF-8 Cc: Glen Barber , FreeBSD Current 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 14:59:08 -0000 On 11 February 2015 at 23:23, Ian Lepore wrote: > > I can't imagine that anybody is going to be happy with an installed > system size increase from 520 to 2520 MB no matter how much it helps > debugging, especially considering the the typical installation media is > in the 2-8 GB range (with lots of 2 and 4 GB cards out there because > that's what vendors bundle with the boards). This change will have almost(*) no effect on the size of a default installation from FreeBSD releases, or the size of those releases (CD or memstick images). The plan is that the debug files will be available as package sets that can be installed on demand, but in order to do so the debug data needs to be built and stored at the time the release is built. I say "almost" no effect because the installed binaries grow by a trivial amount with the addition of a .gnu_debuglink section and note. For illustration here are the file sizes of ls, files in the objdir unless otherwise noted: # no debug ls 44465 ls (installed) 31920 # with debug ls.full 89401 ls.debug 60145 ls 40344 ls (installed) 32016