From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.devel Subject: Re: The bootstrap of Emacs on Cygwin is broken [Is also: unicode branch is merged to trunk] Date: Tue, 05 Feb 2008 11:12:13 +0100 Message-ID: <47A8367D.60803@alice.it> References: <47A381C7.3000003@alice.it> <47A4C54D.5000602@alice.it> <47A4DEC0.8040406@alice.it> <47A5872A.2030601@alice.it> <47A62BFF.6040806@gnu.org> <47A62EBB.80404@alice.it> <47A6CF4A.9050805@alice.it> <47A6EA5D.8020707@alice.it> <47A7C57C.2050402@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 1202206450 18401 80.91.229.12 (5 Feb 2008 10:14:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Feb 2008 10:14:10 +0000 (UTC) Cc: jasonr@gnu.org, mituharu@math.s.chiba-u.ac.jp, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 05 11:14:31 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 1JMKos-0001SN-GK for ged-emacs-devel@m.gmane.org; Tue, 05 Feb 2008 11:14:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JMKoL-0004TA-LA for ged-emacs-devel@m.gmane.org; Tue, 05 Feb 2008 05:13:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JMKne-0004Kb-IT for emacs-devel@gnu.org; Tue, 05 Feb 2008 05:13:10 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JMKnY-0004J5-WF for emacs-devel@gnu.org; Tue, 05 Feb 2008 05:13:09 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JMKnY-0004Iy-Mc for emacs-devel@gnu.org; Tue, 05 Feb 2008 05:13:04 -0500 Original-Received: from smtp-out26.alice.it ([85.33.2.26]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JMKnR-000678-6R; Tue, 05 Feb 2008 05:12:57 -0500 Original-Received: from FBCMMO03.fbc.local ([192.168.68.197]) by smtp-out26.alice.it with Microsoft SMTPSVC(6.0.3790.1830); Tue, 5 Feb 2008 11:12:53 +0100 Original-Received: from FBCMCL01B03.fbc.local ([192.168.69.84]) by FBCMMO03.fbc.local with Microsoft SMTPSVC(6.0.3790.1830); Tue, 5 Feb 2008 11:12:42 +0100 Original-Received: from [82.57.170.248] ([82.57.170.248]) by FBCMCL01B03.fbc.local with Microsoft SMTPSVC(6.0.3790.1830); Tue, 5 Feb 2008 11:12:43 +0100 User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) In-Reply-To: X-OriginalArrivalTime: 05 Feb 2008 10:12:43.0342 (UTC) FILETIME=[A594CEE0:01C867DF] X-detected-kernel: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ 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:88266 Archived-At: Eli Zaretskii ha scritto: >> Date: Tue, 05 Feb 2008 03:10:04 +0100 >> From: Angelo Graziosi >> CC: mituharu@math.s.chiba-u.ac.jp, emacs-devel@gnu.org, jasonr@gnu.org >> >> Well, I have completed the bootstrap (now it take 3 hours aganist 1 - >> 1.5 of 23.0.50 builds) without stackdump. I have used 32MB for >> STATIC_HEAP_SIZE and > > So I guess 32MB is the value we need to use, right? 32MB is the value that has given the best result. I have used it applying this: ======================================================== --- sheap.c.orig 2008-01-08 21:44:26.000000000 +0100 +++ sheap.c 2008-02-04 21:37:57.234375000 +0100 @@ -26,7 +26,11 @@ #include -#define STATIC_HEAP_SIZE (12 * 1024 * 1024) +#ifdef CYGWIN + #define STATIC_HEAP_SIZE (32 * 1024 * 1024) +#else + #define STATIC_HEAP_SIZE (12 * 1024 * 1024) +#endif int debug_sheap = 0; ======================================================== (Eli, if you object that things as "#ifdef CYGWIN" should go to cygwin.h, observe the sheap.c yet contains an "#ifdef CYGWIN sbrk...") Cheers, Angelo.