GNU bug report logs - #4629
"Emergency (alloc): Warning: past 85% of memory limit" on NetBSD/mips

Previous Next

Package: emacs;

Reported by: Izumi Tsutsui <tsutsui <at> ceres.dti.ne.jp>

Date: Sun, 4 Oct 2009 11:15:09 UTC

Severity: important

Tags: patch

Merged with 2072

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Izumi Tsutsui <tsutsui <at> ceres.dti.ne.jp>
To: bug-gnu-emacs <at> gnu.org
Cc: tsutsui <at> ceres.dti.ne.jp
Subject: bug#4629: "Emergency (alloc): Warning: past 85% of memory limit" on NetBSD/mips
Date: Sun, 4 Oct 2009 20:05:51 +0900
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




This bug report was last modified 15 years and 118 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.