From: Angelo Graziosi <angelo.graziosi@alice.it>
To: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Cc: Eli Zaretskii <eliz@gnu.org>, jasonr@gnu.org, emacs-devel@gnu.org
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 [thread overview]
Message-ID: <47A6EA5D.8020707@alice.it> (raw)
In-Reply-To: <wltzkpcd0f.wl%mituharu@math.s.chiba-u.ac.jp>
YAMAMOTO Mitsuharu ha scritto:
>>>>>> On Mon, 04 Feb 2008 09:39:38 +0100, Angelo Graziosi <angelo.graziosi@alice.it> 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
>> results.
>
> 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 \
done
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
...
Angelo
next prev parent reply other threads:[~2008-02-04 10:35 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-01 20:32 The bootstrap of Emacs on Cygwin is broken [Is also: unicode branch is merged to trunk] Angelo Graziosi
2008-02-02 18:03 ` Eli Zaretskii
2008-02-02 19:32 ` Angelo Graziosi
2008-02-02 19:43 ` Eli Zaretskii
2008-02-02 21:21 ` Angelo Graziosi
2008-02-03 4:10 ` Eli Zaretskii
2008-02-03 9:19 ` Angelo Graziosi
2008-02-03 19:40 ` Eli Zaretskii
2008-02-03 21:02 ` Angelo Graziosi
2008-02-03 21:02 ` Jason Rumney
2008-02-03 21:14 ` Angelo Graziosi
2008-02-04 4:19 ` Eli Zaretskii
2008-02-04 8:39 ` Angelo Graziosi
2008-02-04 9:00 ` YAMAMOTO Mitsuharu
2008-02-04 10:35 ` Angelo Graziosi [this message]
2008-02-04 11:01 ` YAMAMOTO Mitsuharu
2008-02-04 11:11 ` Jason Rumney
2008-02-04 20:55 ` Eli Zaretskii
2008-02-04 22:07 ` Angelo Graziosi
2008-02-05 4:17 ` Eli Zaretskii
2008-02-05 2:10 ` Angelo Graziosi
2008-02-05 4:17 ` Eli Zaretskii
2008-02-05 10:12 ` Angelo Graziosi
2008-02-05 10:19 ` Jason Rumney
2008-02-05 10:52 ` Angelo Graziosi
2008-02-05 11:10 ` Jason Rumney
2008-02-05 12:03 ` Angelo Graziosi
2008-02-05 20:17 ` Eli Zaretskii
2008-02-05 20:49 ` Angelo Graziosi
2008-02-06 4:10 ` Eli Zaretskii
2008-02-06 15:27 ` Angelo Graziosi
2008-05-28 2:15 ` Jashy
2008-05-28 3:06 ` Stefan Monnier
2008-05-28 3:21 ` YAMAMOTO Mitsuharu
2008-02-05 17:22 ` Angelo Graziosi
2008-02-04 4:16 ` Eli Zaretskii
2008-02-04 8:58 ` Jason Rumney
2008-02-02 18:03 ` Dan Nicolaescu
2008-02-02 18:32 ` Eli Zaretskii
2008-05-28 7:42 ` Angelo Graziosi
2008-05-28 10:20 ` Jashy
2008-05-28 10:30 ` YAMAMOTO Mitsuharu
2008-05-28 11:36 ` Jashy
2008-05-28 12:06 ` YAMAMOTO Mitsuharu
2008-05-28 13:16 ` Jashy
2008-05-28 17:21 ` Angelo Graziosi
2008-05-29 0:38 ` YAMAMOTO Mitsuharu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47A6EA5D.8020707@alice.it \
--to=angelo.graziosi@alice.it \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=jasonr@gnu.org \
--cc=mituharu@math.s.chiba-u.ac.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).