From owner-freebsd-current@freebsd.org Tue Oct 27 22:09:57 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 5F9B2A1D88D for ; Tue, 27 Oct 2015 22:09:57 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-io0-x234.google.com (mail-io0-x234.google.com [IPv6:2607:f8b0:4001:c06::234]) (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 2D3AC108C; Tue, 27 Oct 2015 22:09:57 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by ioll68 with SMTP id l68so238854825iol.3; Tue, 27 Oct 2015 15:09:56 -0700 (PDT) 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=EQ2A3wUUc4RfoPuYKn2JPnsCwEU/81MKwq7ouKrrsOc=; b=i7Ngl18KWohgN7NaOnjWvMevRaB8g6TkHvwGGWIRK+p4tN7YL5SNv3NswdiOl5DCBe Il8gEYBi6k+337VulKjlrAl2f53FUlWD9NuFfgvaz20K0iGpOtP5h5SGfRuVG8MUkCL9 IeJN9U3wgJslxXUbx3qidgqI7Kvn8G3s/4sd3+Zl+topenuLgf4Q0Js9uceq19yEWYgH pdWtZh5CpR/DotsQOHk6izQnCiCFX/bfPsGrsHmkCViNe/twj38gNKoB8OGrfnPr7oBj eXCzaubecN0zVwuNMSLWw7vYFQ7GOAzOUh+0tnkY4D5fwBTcBGK2gMx1SPzPnw0rHh63 HDsQ== X-Received: by 10.107.10.95 with SMTP id u92mr45133702ioi.180.1445983796514; Tue, 27 Oct 2015 15:09:56 -0700 (PDT) MIME-Version: 1.0 Sender: carpeddiem@gmail.com Received: by 10.107.158.75 with HTTP; Tue, 27 Oct 2015 15:09:37 -0700 (PDT) In-Reply-To: <20150212023912.GG1302@hub.FreeBSD.org> References: <20150212023912.GG1302@hub.FreeBSD.org> From: Ed Maste Date: Tue, 27 Oct 2015 18:09:37 -0400 X-Google-Sender-Auth: x2zc9GcPRWwwLEaC-XlDwLNFzsc Message-ID: Subject: Re: HEADS-UP: Enabling WITH_DEBUG_FILES by default To: Glen Barber Cc: FreeBSD Current Content-Type: text/plain; charset=UTF-8 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, 27 Oct 2015 22:09:57 -0000 On 11 February 2015 at 21:39, Glen Barber wrote: > Hi, > > Within the next 24 hours, I will merge the release-install-debug branch > into head, which will enable building and installing stripped debugging > files by default. > > In general, this should have no significant impact, but any fallout will > be addressed as soon as possible after the merge. > > Those that do not want debugging files built/installed by default should > add 'WITHOUT_DEBUG_FILES=1' to src.conf(5). This will also be noted in > UPDATING. I want to pick this change up again. There are a few separate parts under discussion: 1. Release build changes to support standalone debug 2. Installer changes 3. Switching debug files on by default 4. Separating into two or more debug dist sets Glen's proposed merge from earlier this year included #1 through #3, but was held up based on discussion in this thread. I propose that we merge #1 and #2 now, since they're effectively a no-op if debug files aren't enabled, but facilitate further testing. Separating the debug dist sets (into runtime and binaries, or even more fine-grained) requires coordination with the packaged base work, and I suggest that we hold off on that project for now. I'd like to flip the default shortly after and continue refining it with it enabled - we need to start finding and fix issues now in order to have it ready for 11.0. I have a review open for the default switch, in https://reviews.freebsd.org/D4018. In my test just now on a powerful server the cpu (user+system) time increased from 15260s to 15760s. Wall clock time increased by under 40s (20:08.83 to 20:47.49). The objdir was 2.4GB without debug and 4.3GB with.