From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: phillip.lord@russet.org.uk (Phillip Lord) Newsgroups: gmane.emacs.devel Subject: Re: Bloat in the Emacs Windows package Date: Tue, 23 Apr 2019 11:01:39 +0100 Message-ID: <87ef5t9h18.fsf@russet.org.uk> References: <87mukocyze.fsf@russet.org.uk> <83v9zceb3n.fsf@gnu.org> <87tvev1epx.fsf@russet.org.uk> <83v9zbcesn.fsf@gnu.org> <87a7gnypsx.fsf@russet.org.uk> <83sguecxth.fsf@gnu.org> <87r29t22pk.fsf@russet.org.uk> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="205807"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.90 (gnu/linux) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 23 12:07:57 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hIsLE-000rOR-VB for ged-emacs-devel@m.gmane.org; Tue, 23 Apr 2019 12:07:57 +0200 Original-Received: from localhost ([127.0.0.1]:51007 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIsLD-0004eQ-Oe for ged-emacs-devel@m.gmane.org; Tue, 23 Apr 2019 06:07:55 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38696) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIsJr-0004bx-FO for emacs-devel@gnu.org; Tue, 23 Apr 2019 06:06:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hIsFE-000082-QG for emacs-devel@gnu.org; Tue, 23 Apr 2019 06:01:47 -0400 Original-Received: from cloud103.planethippo.com ([78.129.138.110]:49186) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hIsFE-000066-8Q for emacs-devel@gnu.org; Tue, 23 Apr 2019 06:01:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=QX/R1W+jplo/HPaLTvRBXocw9L9QrciZP7C1WObcr/E=; b=0TaMIf5aa3ie709Oi6T0NyPvu JUBRHGJNBye2Qkpbvy8kNrFGzm/Xjozth9n+rSeb/044oP92Tyf7es43/kw9b5XsEwbBd95kWPCva 2vk9t+ED8hJKyeS61PUmAJ2+yPK7/+97yv3Gzoi1qG+3JAin8UtiL6PNqjAd8D/FxPB5zQ+CUaiFF 4pPHtHk9+wUlLE0Gt/EooOaPO1yryd/euIsbDerpJbTU2A7HOQNbARIoK/1JRi0LHDV5tQSATykm8 K/7SkjbX9P8TIlByZKByUtbdCoZQRn41CuKBUE7P9zBHFlLaOLRlWSknEnhhIjPoLvthvATj50595 xWa17hgYg==; Original-Received: from janus-nat-128-240-225-119.ncl.ac.uk ([128.240.225.119]:60694 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1hIsFC-0005cv-3T; Tue, 23 Apr 2019 11:01:42 +0100 In-Reply-To: (Stefan Monnier's message of "Mon, 22 Apr 2019 22:25:55 -0400") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 78.129.138.110 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:235805 Archived-At: Stefan Monnier writes: >> I am currently not treating snapshots and release builds differently at >> all. When I took over the windows builds, there were no snapshots to my >> knowledge. It's possible that is why I put debug symbols in and meant to >> take them out but didn't. > > Indeed, the snapshots should be distributed with full debug info > (even if some users don't appreciate it). So, currently we have: CFLAGS="-O2 -static -g3" In future, we should have for snapshots CFLAGS="-O2 -static -g3" and build with "make install", while for tagged releases (including release candidates) I will use: CFLAGS="-O2 -static" and build with "make install-strip" (I can't see the point in doing -g3 and make install-strip). I'll also build some snapshots for release branches (as well as master) so that there will be a build with debug info to be distributed on alpha.gnu.org. This will be mostly be at a slightly different commit from the release; so, sometimes no use for debugging a new bug introduced into a recent release, although, I can always build a new snapshot. This will happen for Emacs-27, as I would rather not alter the packaging during a major release cycle. Independently of this, I'll see if I can work up an MSI installer. Phil