delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/26/11:44:11

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 26 Mar 2003 09:43:39 -0700
Message-Id: <200303261643.h2QGhdUx024950@wolf.cimsoft.com>
From: Robert Mecklenburg <mecklen AT cimsoft DOT com>
To: Cygwin Users List <cygwin AT cygwin DOT com>
Subject: trying to compile emacs under cygwin

I'm trying to compile emacs under cygwin to debug the hanging problems
I'm experiencing and I've run into a minor wall.  Running
emacs-21.2.install yields the error:

Dumping under names emacs and emacs-21.2.1
Static heap usage: 2102240 of 2254144, slop is 65536
Static heap usage: 2102240 of 2254144, slop is 65536 -- 148k wasted -- reset to 2167776k
emacs: SHEAP_ADJUSTMENT needs to be modified to reduce memory waste!
make[1]: *** [emacs] Error 1
make[1]: Leaving directory `/usr/src/emacs-21.2-12/emacs-21.2-build/src'

This comes from sheap.c:


  if (lost > STATIC_HEAP_SLOP) {
    sprintf (buf + strlen (buf), " -- %ldk wasted", (long)(lost/1024));
    if (die_if_pure_storage_exceeded) {
      sheap_adjust_h(STATIC_HEAP_SLOP - lost);
      sprintf (buf + strlen (buf), " -- reset to %ldk", 
	       (long) (STATIC_HEAP_SIZE + STATIC_HEAP_SLOP - lost));
      rc = -1;
    }
    message ("%s", buf);
  }

  if (rc < 0) {
    unlink("SATISFIED");
    fatal ("SHEAP_ADJUSTMENT needs to be modified to reduce memory waste!");
  }

I suppose I could increase the size of STATIC_HEAP_SLOP, but that is
clearly a bad hack and may have other consequences.  Suggestions?

Thanks,
-- 
Robert


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019