This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]