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: Fri, 26 Apr 2019 17:30:41 +0100 Message-ID: <87ftq47mq6.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> <87ef5t9h18.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="8665"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 26 18:40:05 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 1hK3tN-00028M-NE for ged-emacs-devel@m.gmane.org; Fri, 26 Apr 2019 18:40:05 +0200 Original-Received: from localhost ([127.0.0.1]:49490 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hK3tM-0006F6-Iq for ged-emacs-devel@m.gmane.org; Fri, 26 Apr 2019 12:40:04 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:35040) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hK3kL-0007HM-UD for emacs-devel@gnu.org; Fri, 26 Apr 2019 12:30:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hK3kK-0003fG-MG for emacs-devel@gnu.org; Fri, 26 Apr 2019 12:30:45 -0400 Original-Received: from cloud103.planethippo.com ([78.129.138.110]:53002) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hK3kK-0003dX-95 for emacs-devel@gnu.org; Fri, 26 Apr 2019 12:30: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=KYWu/VVcqP840JV1C/8BN1oov9J+OvekrMmIGTd7R7I=; b=s2oOmfW1g1CdGPuiA2FK/mlTc LjUYeU/HpLvuHnHSiVlV1AP+P83+mAWCWAizht6fCJUOvWZO5ImgbON3Z/vJRW2x0mH37oCVrhD8m FKfAHnqKU3BV8CRKDIL+Rs0b838xYI2iyry1/ni5kT3rR5rMXniY7v4shbuRuXlQQWU/od1hqUX29 bfUB1aUqrTgJ5GnNluEt3dVFrz/qbr0P7dHePhxyD59BKAVGE14HCytb84FO4wdKRdb5OM6TifkrE 0Qdbzzx3w87V/G1DsITLUrOBHFWYZ9uVXpv5MxlO+rMKLn8jSr3VRv3q+UIeizDzIcrkm59ZwfIz2 Hlt4a73IQ==; Original-Received: from janus-nat-128-240-225-68.ncl.ac.uk ([128.240.225.68]:63345 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1hK3kI-0007YM-7C; Fri, 26 Apr 2019 17:30:42 +0100 In-Reply-To: <87ef5t9h18.fsf@russet.org.uk> (Phillip Lord's message of "Tue, 23 Apr 2019 11:01:39 +0100") 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:235962 Archived-At: phillip.lord@russet.org.uk (Phillip Lord) writes: > 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. I have now trialled there and there are versions on alpha https://alpha.gnu.org/gnu/emacs/pretest/windows/emacs-27/ The "emacs-27.0.50" files are built like a release build, while the "-snapshot" ones are built like a snapshot build. In terms of the download size, -no-deps drops from 107M to 46M which is the most extreme drop. The installer version drops by only 10M because it's lzma compressed. Uncompressed sizes will be proportionately larger. Happy if people want to give these a trial to see if there is any functional or otherwise noticable difference between the two. I update the build scripts on master in a short while if there are no complaints. Phil