From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Izumi Tsutsui Newsgroups: gmane.emacs.bugs Subject: bug#4629: "Emergency (alloc): Warning: past 85% of memory limit" on NetBSD/mips Date: Sun, 4 Oct 2009 20:05:51 +0900 Message-ID: <091004200551.M0109566@mirage.ceres.dti.ne.jp> Reply-To: Izumi Tsutsui , 4629@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1254720214 4024 80.91.229.12 (5 Oct 2009 05:23:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 5 Oct 2009 05:23:34 +0000 (UTC) Cc: tsutsui@ceres.dti.ne.jp To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 05 07:23:28 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mug2g-0008Aj-SZ for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Oct 2009 07:23:27 +0200 Original-Received: from localhost ([127.0.0.1]:53923 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mug2g-0002DX-Q0 for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Oct 2009 01:23:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MuPFL-0003R2-2U for bug-gnu-emacs@gnu.org; Sun, 04 Oct 2009 07:27:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MuPFB-0003OK-1G for bug-gnu-emacs@gnu.org; Sun, 04 Oct 2009 07:27:17 -0400 Original-Received: from [199.232.76.173] (port=60028 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MuPF9-0003Nv-IT for bug-gnu-emacs@gnu.org; Sun, 04 Oct 2009 07:27:12 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:59977) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MuPF8-0006fC-V5 for bug-gnu-emacs@gnu.org; Sun, 04 Oct 2009 07:27:11 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n94BR8IE011408; Sun, 4 Oct 2009 04:27:09 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n94BF9Is009585; Sun, 4 Oct 2009 04:15:09 -0700 Resent-Date: Sun, 4 Oct 2009 04:15:09 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Izumi Tsutsui Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sun, 04 Oct 2009 11:15:09 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4629 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12546543738610 (code B ref -1); Sun, 04 Oct 2009 11:15:09 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 4 Oct 2009 11:06:13 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n94B6Ap2008606 for ; Sun, 4 Oct 2009 04:06:12 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MuOun-0006Yx-0q for bug-gnu-emacs@gnu.org; Sun, 04 Oct 2009 07:06:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MuOue-0006X7-Ch for bug-gnu-emacs@gnu.org; Sun, 04 Oct 2009 07:06:05 -0400 Original-Received: from [199.232.76.173] (port=44848 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MuOud-0006Wa-44 for bug-gnu-emacs@gnu.org; Sun, 04 Oct 2009 07:05:59 -0400 Original-Received: from vsmtp02.dti.ne.jp ([202.216.231.137]:36965) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MuOuc-0003J6-64 for bug-gnu-emacs@gnu.org; Sun, 04 Oct 2009 07:05:58 -0400 Original-Received: from mirage.ceres.dti.ne.jp (HKRpm202.hyogo-ip.dti.ne.jp [59.157.221.202]) by vsmtp02.dti.ne.jp (3.11v) with ESMTP AUTH id n94B5qfF017573; Sun, 4 Oct 2009 20:05:52 +0900 (JST) Original-Received: from mirage.ceres.dti.ne.jp (localhost [127.0.0.1]) by mirage.ceres.dti.ne.jp (8.14.3/8.14.3) with ESMTP id n94B5qon007891; Sun, 4 Oct 2009 20:05:52 +0900 (JST) Original-Received: (from tsutsui@localhost) by mirage.ceres.dti.ne.jp (8.14.3/8.14.3/Submit) id n94B5qFW010028; Sun, 4 Oct 2009 20:05:52 +0900 (JST) X-Mailer: mnews [version 1.22PL7(UNI)] 2008-02/02(Sat) X-detected-operating-system: by monty-python.gnu.org: Solaris 9 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sun, 04 Oct 2009 07:27:17 -0400 X-Mailman-Approved-At: Mon, 05 Oct 2009 01:23:19 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:31692 Archived-At: Hi, Emacs-23.1 on NetBSD/cobalt (mipsel) 5.0.1 also gets the following warning message as well as bug#2685 on Debian lenny. >> Emergency (alloc): Warning: past 85% of memory limit The following patch (and configure rev 1.326 on HEAD) fixes it: --- src/m/mips.h.orig 2009-06-21 13:38:20.000000000 +0900 +++ src/m/mips.h @@ -50,7 +50,7 @@ NOTE-END */ #define TEXT_START 0x00400000 -#ifndef GNU_LINUX +#if !defined(GNU_LINUX) && !defined(__NetBSD__) #define DATA_START 0x10000000 #endif NetBSD/alpha has the same problem as mentioned in bug#2072, and the following patch for emacs-23.1 works fine on NetBSD/alpha 5.0: --- src/m/alpha.h.orig 2009-06-21 13:38:20.000000000 +0900 +++ src/m/alpha.h @@ -95,7 +95,7 @@ NOTE-END #undef UNEXEC #define UNEXEC unexelf.o -#ifndef GNU_LINUX +#if !defined(GNU_LINUX) && !defined(__NetBSD__) #define DATA_START 0x140000000 #endif I guess these DATA_START definitions are for DEC ULTRIX and OSF/1. Thanks, --- Izumi Tsutsui