From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: dump-emacs doesn't fail even if Pure Lisp storage overflows Date: Sun, 22 Jan 2006 02:48:07 +0200 Organization: JURTA Message-ID: <87slrhedhb.fsf@jurta.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1137894054 1059 80.91.229.2 (22 Jan 2006 01:40:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 22 Jan 2006 01:40:54 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 22 02:40:51 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 1F0UDr-0001N8-7q for ged-emacs-devel@m.gmane.org; Sun, 22 Jan 2006 02:40:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F0UGP-0001tz-Tk for ged-emacs-devel@m.gmane.org; Sat, 21 Jan 2006 20:43:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F0UGD-0001sV-1J for emacs-devel@gnu.org; Sat, 21 Jan 2006 20:43:17 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F0UGB-0001p6-3u for emacs-devel@gnu.org; Sat, 21 Jan 2006 20:43:16 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F0UGA-0001p0-Vd for emacs-devel@gnu.org; Sat, 21 Jan 2006 20:43:15 -0500 Original-Received: from [194.126.101.111] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1F0UKe-00054b-Lf for emacs-devel@gnu.org; Sat, 21 Jan 2006 20:47:52 -0500 Original-Received: from mail.neti.ee (80-235-32-6-dsl.mus.estpak.ee [80.235.32.6]) by Relayhost1.neti.ee (Postfix) with ESMTP id D04D416B8; Sun, 22 Jan 2006 03:40:30 +0200 (EET) Original-To: Kenichi Handa In-Reply-To: (Kenichi Handa's message of "Fri, 20 Jan 2006 16:41:48 +0900") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee 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:49368 Archived-At: > I've just increased BASE_PURESIZE to 1190000 because it > seems that Solaris requires more pure bytes than GNU/Linux. > > But, the problem is that building of Emacs proceeds even if > this message is shown: > > Pure Lisp storage overflow (approx. 1173352 bytes needed) This message is very easy to miss. Perhaps it should be changed to allow highlighting by one of the compile.el rules, for instance: emacs:0:warning: Pure Lisp storage overflow (approx. 1181968 bytes needed) > And, the resulting emacs behaves very strangely. Due to the following condition in `Fgarbage_collect' GC gets skipped: if (pure_bytes_used_before_overflow) return Qnil; There is a special function `check_pure_size' to print a warning. I tried to add it to this condition, but calling it directly from this condition prints warning messages too often, because when GC can't be done, Fgarbage_collect gets called repeatedly. -- Juri Linkov http://www.jurta.org/emacs/