[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The bootstrap of Emacs on Cygwin is broken [Is also: unicode branch

From: Angelo Graziosi
Subject: Re: The bootstrap of Emacs on Cygwin is broken [Is also: unicode branch is merged to trunk]
Date: Mon, 04 Feb 2008 11:35:09 +0100
User-agent: Thunderbird (Windows/20071031)

YAMAMOTO Mitsuharu ha scritto:
On Mon, 04 Feb 2008 09:39:38 +0100, Angelo Graziosi <address@hidden> said:

Try using -g3 -O1, it should produce better debug info.  Not sure
if it will help in this case, though.

Concorde! In any case, for the sake of completeness, below the

What happens if you increase the value of STATIC_HEAP_SIZE in sheap.c?

We have some progress here!

with STATIC_HEAP_SIZE (24 * 1024 * 1024) instead of (12 * ...) it fails in the same manner (temacs.exe.stackdump) only a little shifted forward;

with STATIC_HEAP_SIZE   (36 * 1024 * 1024) it fails in this way:
find /tmp/emacs/lisp -name "*.elc" -print | xargs chmod +w >/dev/null 2>&1 || true; \ wd=/tmp/emacs/lisp; subdirs=`(cd $wd; find . -type d -print)`; for file in $subdirs; do case $file in */Old | */RCS | */CVS | */CVS/* | */.* | */.*/* | */=* ) ;; *) wins="$wins $wd/$file" ;; esac; done; \
        els=`echo $wins | tr ' \011' '\012\012' | \
                sed -e 's|\(.\)$|\1/|' -e 's|^\./||' -e 's|$|*.el|'`;   \
for el in /tmp/emacs/lisp/emacs-lisp/byte-opt.el /tmp/emacs/lisp/emacs-lisp/bytecomp.el /tmp/emacs/lisp/subr.el /tmp/emacs/lisp/progmodes/cc-mode.el /tmp/emacs/lisp/progmodes/cc-vars.el $els; do \
          if test -f $el; \
          then \
            echo Compiling $el; \
EMACSLOADPATH=/tmp/emacs/lisp LC_ALL=C ../src/bootstrap-emacs.exe -batch --no-site-file --multibyte -f batch-byte-compile-if-not-done $el || exit 1; \
          fi \
Compiling /tmp/emacs/lisp/emacs-lisp/byte-opt.el
Wrote /tmp/emacs/lisp/emacs-lisp/byte-opt.elc
Compiling /tmp/emacs/lisp/emacs-lisp/bytecomp.el
Wrote /tmp/emacs/lisp/emacs-lisp/bytecomp.elc
Compiling /tmp/emacs/lisp/subr.el
Wrote /tmp/emacs/lisp/subr.elc
Compiling /tmp/emacs/lisp/progmodes/cc-mode.el
Fatal error (6)/bin/sh: line 4: 3676 Aborted (core dumped) EMACSLOADPATH=/tmp/emacs/lisp LC_ALL=C ../src/bootstrap-emacs.exe -batch --no-site-file --multibyte -f batch-byte-compile-if-not-done $el
make[2]: *** [compile] Error 1
make[2]: Leaving directory `/tmp/emacs/build/lisp'
make[1]: *** [bootstrap-build] Error 2
make[1]: Leaving directory `/tmp/emacs/build'
make: *** [bootstrap] Error 2

But this: "Fatal error (6)/bin/sh: line 4: 3676 Aborted..." (bootstrap_emacs.exe.stackdump) is an old problem building under Cygwin: it also happened with 22 and 23.0.50 versions. It usually is solved with a new check out of Emacs from CVS or... changing build directory. And effectively changing from /tmp/build to $HOME/downloads/emacs/tmp/emacs/build is still building (also with -j2 option in make!), even if slowly.

May you suggest an optimal value for STATIC_HEAP_SIZE ?

I note also some warnings beside those reported on emacs-devel:

/home/graziosi/downloads/emacs.ports/tmp.emacs/emacs/src/fontset.c:1804: warning: incompatible implicit declaration of built-in function 'sprintf'

/home/graziosi/downloads/emacs.ports/tmp.emacs/emacs/src/search.c:2456: warning: comparison is always true due to limited range of data type


reply via email to

[Prev in Thread] Current Thread [Next in Thread]