From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Reilly Newsgroups: gmane.emacs.devel Subject: Re: Building Emacs fails on Cygwin Date: Tue, 11 Nov 2008 12:57:15 -0500 Message-ID: <4919C77B.9050909@pajato.com> References: <4919BF5D.80802@alice.it> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1226426159 31217 80.91.229.12 (11 Nov 2008 17:55:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Nov 2008 17:55:59 +0000 (UTC) Cc: emacs-devel@gnu.org To: Angelo Graziosi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 11 18:57:00 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KzxTu-00077G-Ci for ged-emacs-devel@m.gmane.org; Tue, 11 Nov 2008 18:56:50 +0100 Original-Received: from localhost ([127.0.0.1]:39336 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzxSm-00043i-Ky for ged-emacs-devel@m.gmane.org; Tue, 11 Nov 2008 12:55:40 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KzxSd-000414-1x for emacs-devel@gnu.org; Tue, 11 Nov 2008 12:55:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KzxSb-00040G-F4 for emacs-devel@gnu.org; Tue, 11 Nov 2008 12:55:30 -0500 Original-Received: from [199.232.76.173] (port=43283 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzxSb-000404-6k for emacs-devel@gnu.org; Tue, 11 Nov 2008 12:55:29 -0500 Original-Received: from mail.pajato.com ([68.191.253.210]:54078 helo=copa.pajato.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KzxSa-000229-Qb for emacs-devel@gnu.org; Tue, 11 Nov 2008 12:55:28 -0500 Original-Received: from 68-191-253-214.static.oxfr.ma.charter.com (68-191-253-214.static.oxfr.ma.charter.com [68.191.253.214]) (authenticated bits=0) by copa.pajato.com (8.14.1/8.13.8) with ESMTP id mABHtMh4013557 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 11 Nov 2008 12:55:23 -0500 User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) In-Reply-To: <4919BF5D.80802@alice.it> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (copa.pajato.com [68.191.253.210]); Tue, 11 Nov 2008 12:55:23 -0500 (EST) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:105571 Archived-At: Angelo Graziosi wrote: > Paul Michael Reilly wrote: > >> The bootstrap failed as shown below > > This has been discussed longly [1]. I think this is also related to > recent discussion titled > > "size of emacs executable after unicode merge". > > The solution is the patch below. Pre-built binaries here [2]. > > > =============================== > --- sheap.c.orig 2008-05-14 14:56:07.000000000 +0200 > +++ sheap.c 2008-06-28 18:21:30.984375000 +0200 > @@ -24,7 +24,7 @@ > > #include > > -#define STATIC_HEAP_SIZE (12 * 1024 * 1024) > +#define STATIC_HEAP_SIZE (25 * 1024 * 1024) Seems to me that this is merely a short term fix until the next time Emacs needs more heap. Is it impossible/impractical to find a mechanism to determine how big this requirement should be at build time so the problem can be solved forever? I'll plead guilty right up front to not having a clue on what the optimal long term answer might be. And thanks for your help. Much appreciated. -pmr