From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Duncan Mak" Newsgroups: gmane.emacs.devel Subject: Re: Crash building unicode2, NSTATICS too low, pure space overflow. Date: Fri, 4 Aug 2006 05:29:18 -0400 Message-ID: <97f770b50608040229t599b976dvb82b9befaefd6f4a@mail.gmail.com> References: <44D19F77.4050904@swipnet.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1277307382==" X-Trace: sea.gmane.org 1154685655 22975 80.91.229.2 (4 Aug 2006 10:00:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 4 Aug 2006 10:00:55 +0000 (UTC) Cc: emacs-unicode@gnu.org, jan.h.d@swipnet.se, emacs-devel@gnu.org, rms@gnu.org, Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 04 12:00:52 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G8wTp-0003O8-Eh for ged-emacs-devel@m.gmane.org; Fri, 04 Aug 2006 12:00:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G8wTo-0003jm-Uk for ged-emacs-devel@m.gmane.org; Fri, 04 Aug 2006 06:00:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G8vzg-0000Vl-4h for emacs-devel@gnu.org; Fri, 04 Aug 2006 05:29:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G8vzc-0000St-6v for emacs-devel@gnu.org; Fri, 04 Aug 2006 05:29:21 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G8vzb-0000SS-Fu for emacs-devel@gnu.org; Fri, 04 Aug 2006 05:29:19 -0400 Original-Received: from [64.233.166.180] (helo=py-out-1112.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G8w38-000547-Ey for emacs-devel@gnu.org; Fri, 04 Aug 2006 05:32:58 -0400 Original-Received: by py-out-1112.google.com with SMTP id x31so197312pye for ; Fri, 04 Aug 2006 02:29:18 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=RyskbxskwCtd7tqK5HgWifqhciEp5yMg1vZ93bWur99H0NgPxUahJZkjqtzFhEg2eHIYKD07xKIbkJg6BtinSt1mIUnd07Tfmqxcz6tZ/LVpDuXV4w2gMvqDbanTh2FJ5KoOSTiLURTk/CiqErfz9ga8oWPrdI7otjazxTdQ5Sw= Original-Received: by 10.35.36.13 with SMTP id o13mr4669739pyj; Fri, 04 Aug 2006 02:29:18 -0700 (PDT) Original-Received: by 10.35.115.6 with HTTP; Fri, 4 Aug 2006 02:29:18 -0700 (PDT) Original-To: "Andreas Schwab" In-Reply-To: X-Mailman-Approved-At: Fri, 04 Aug 2006 06:00:18 -0400 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:58082 Archived-At: --===============1277307382== Content-Type: multipart/alternative; boundary="----=_Part_3333_25214583.1154683758159" ------=_Part_3333_25214583.1154683758159 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline With the following two patches, I was able to build emacs: in puresize.h -#define BASE_PURESIZE (1102000 + SYSTEM_PURESIZE_EXTRA + SITELOAD_PURESIZE_EXTRA) +#define BASE_PURESIZE (1235000 + SYSTEM_PURESIZE_EXTRA + SITELOAD_PURESIZE_EXTRA) in alloc.c -#define NSTATICS 1280 +#define NSTATICS 2032 However, I can't type anything into the buffer in the resulting emacs. I configured it with: ./configure --with-x-toolkit=gtk --enable-font-backend --with-xft Duncan. ------=_Part_3333_25214583.1154683758159 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline With the following two patches, I was able to build emacs:

in puresize.h

-#define BASE_PURESIZE (1102000 + SYSTEM_PURESIZE_EXTRA + SITELOAD_PURESIZE_EXTRA)
+#define BASE_PURESIZE (1235000 + SYSTEM_PURESIZE_EXTRA + SITELOAD_PURESIZE_EXTRA)

in alloc.c

-#define NSTATICS 1280
+#define NSTATICS 2032

However, I can't type anything into the buffer in the resulting emacs.

I configured it with:

./configure --with-x-toolkit=gtk --enable-font-backend  --with-xft

Duncan.
------=_Part_3333_25214583.1154683758159-- --===============1277307382== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --===============1277307382==--