From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: Andreas Schwab <schwab@linux-m68k.org>, emacs-devel@gnu.org
Subject: Re: Emacs 23.3 released
Date: Fri, 11 Mar 2011 20:38:36 -0500 [thread overview]
Message-ID: <jwvvczpw2hs.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <AANLkTikqZe-0MzqU9m-qL6GMRqF+QErrCfadzGHFHOud@mail.gmail.com> (Juanma Barranquero's message of "Sat, 12 Mar 2011 01:03:36 +0100")
> because files.el has not been compiled:
> Lisp nesting exceeds `max-lisp-eval-depth'
That's easier to fix: check lisp/Makefile.in where I pass higher values
of max-lisp-eval-depth. Hmm... I guess I should have expected it, the
w32 doesn't use Makefile.in.
Try the 100% guaranteed untested patch below, which should more or less
mimick what we use on POSIX platforms.
Stefan
=== modified file 'lisp/makefile.w32-in'
--- lisp/makefile.w32-in 2011-02-14 00:23:11 +0000
+++ lisp/makefile.w32-in 2011-03-12 01:37:28 +0000
@@ -66,6 +66,15 @@
$(lisp)/cedet/semantic/loaddefs.el $(lisp)/cedet/ede/loaddefs.el \
$(lisp)/cedet/srecode/loaddefs.el
+# Value of max-lisp-eval-depth when compiling initially.
+# During bootstrapping the byte-compiler is run interpreted when compiling
+# itself, and uses more stack than usual.
+#
+BIG_STACK_DEPTH = 1200
+BIG_STACK_OPTS = --eval "(setq max-lisp-eval-depth $(BIG_STACK_DEPTH))"
+
+BYTE_COMPILE_FLAGS = $(BIG_STACK_OPTS) $(BYTE_COMPILE_EXTRA_FLAGS)
+
# Files to compile before others during a bootstrap. This is done to
# speed up the bootstrap process. The CC files are compiled first
# because CC mode tweaks the compilation process, and requiring
@@ -75,6 +84,9 @@
COMPILE_FIRST = \
$(lisp)/emacs-lisp/byte-opt.el \
$(lisp)/emacs-lisp/bytecomp.el \
+ $(lisp)/emacs-lisp/pcase.elc \
+ $(lisp)/emacs-lisp/macroexp.elc \
+ $(lisp)/emacs-lisp/cconv.elc \
$(lisp)/subr.el \
$(lisp)/progmodes/cc-mode.el \
$(lisp)/progmodes/cc-vars.el
@@ -287,7 +299,7 @@
.SUFFIXES: .elc .el
.el.elc:
- -$(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $<
+ -$(emacs) $(BYTE_COMPILE_FLAGS) -f batch-byte-compile $<
# Compile all Lisp files, but don't recompile those that are up to
# date. Some files don't actually get compiled because they set the
@@ -307,22 +319,22 @@
compile-CMD:
# -for %%f in ($(lisp) $(WINS)) do for %%g in (%%f\*.elc) do @attrib -r %%g
for %%f in ($(COMPILE_FIRST)) do \
- $(emacs) -l loaddefs $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile-if-not-done %%f
+ $(emacs) -l loaddefs $(BYTE_COMPILE_FLAGS) -f batch-byte-compile-if-not-done %%f
for %%f in (. $(WINS)) do for %%g in (%%f/*.el) do \
- $(emacs) -l loaddefs $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile-if-not-done %%f/%%g
+ $(emacs) -l loaddefs $(BYTE_COMPILE_FLAGS) -f batch-byte-compile-if-not-done %%f/%%g
compile-SH:
# for elc in $(lisp)/*.elc $(lisp)/*/*.elc; do attrib -r $$elc; done
for el in $(COMPILE_FIRST); do \
echo Compiling $$el; \
- $(emacs) -l loaddefs $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile-if-not-done $$el; \
+ $(emacs) -l loaddefs $(BYTE_COMPILE_FLAGS) -f batch-byte-compile-if-not-done $$el; \
done
for dir in $(lisp) $(WINS); do \
for el in $$dir/*.el; do \
if test -f $$el; \
then \
echo Compiling $$el; \
- $(emacs) -l loaddefs $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile-if-not-done $$el; \
+ $(emacs) -l loaddefs $(BYTE_COMPILE_FLAGS) -f batch-byte-compile-if-not-done $$el; \
fi \
done; \
done
@@ -335,31 +347,31 @@
compile-always-CMD:
# -for %%f in ($(lisp) $(WINS)) do for %%g in (%%f\*.elc) do @attrib -r %%g
- for %%f in ($(COMPILE_FIRST)) do $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile %%f
- for %%f in (. $(WINS)) do for %%g in (%%f/*.el) do $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile %%f/%%g
+ for %%f in ($(COMPILE_FIRST)) do $(emacs) $(BYTE_COMPILE_FLAGS) -f batch-byte-compile %%f
+ for %%f in (. $(WINS)) do for %%g in (%%f/*.el) do $(emacs) $(BYTE_COMPILE_FLAGS) -f batch-byte-compile %%f/%%g
compile-always-SH:
# for elc in $(lisp)/*.elc $(lisp)/*/*.elc; do attrib -r $$elc; done
for el in $(COMPILE_FIRST); do \
echo Compiling $$el; \
- $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $$el || exit 1; \
+ $(emacs) $(BYTE_COMPILE_FLAGS) -f batch-byte-compile $$el || exit 1; \
done
for dir in $(lisp) $(WINS); do \
for el in $$dir/*.el; do \
echo Compiling $$el; \
- $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $$el || exit 1; \
+ $(emacs) $(BYTE_COMPILE_FLAGS) -f batch-byte-compile $$el || exit 1; \
done; \
done
compile-calc: compile-calc-$(SHELLTYPE)
compile-calc-CMD:
- for %%f in ($(lisp)/calc/*.el) do $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile %%f
+ for %%f in ($(lisp)/calc/*.el) do $(emacs) $(BYTE_COMPILE_FLAGS) -f batch-byte-compile %%f
compile-calc-SH:
for el in $(lisp)/calc/*.el; do \
echo Compiling $$el; \
- $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $$el || exit 1; \
+ $(emacs) $(BYTE_COMPILE_FLAGS) -f batch-byte-compile $$el || exit 1; \
done
# Backup compiled Lisp files in elc.tar.gz. If that file already
next prev parent reply other threads:[~2011-03-12 1:38 UTC|newest]
Thread overview: 130+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-10 5:34 Emacs 23.3 released Chong Yidong
2011-03-10 8:58 ` Bastien
2011-03-10 16:07 ` Stefan Monnier
2011-03-10 16:22 ` David Kastrup
2011-03-10 16:54 ` Chong Yidong
2011-03-10 17:54 ` David Kastrup
2011-03-10 18:00 ` Lennart Borgman
2011-03-10 19:17 ` State of the CEDET merge (was: Emacs 23.3 released) David Engster
2011-03-11 14:29 ` State of the CEDET merge Lluís
2011-03-11 14:45 ` David Kastrup
2011-03-11 15:48 ` Lluís
2011-03-12 9:42 ` David Kastrup
2011-03-12 13:15 ` Eric M. Ludlam
2011-03-12 20:49 ` Stefan Monnier
2011-03-13 14:13 ` Ted Zlatanov
2011-03-14 19:55 ` Lluís
2011-03-14 20:39 ` Lennart Borgman
2011-03-14 22:28 ` Lluís
2011-03-13 15:13 ` David Engster
2011-03-14 20:08 ` Lluís
2011-03-15 1:33 ` Stefan Monnier
2011-03-16 14:03 ` Lluís
2011-03-16 15:24 ` Stefan Monnier
2011-03-16 15:30 ` David Kastrup
2011-03-16 20:23 ` Lluís
2011-03-18 17:43 ` Eli Zaretskii
2011-03-18 17:51 ` Eli Zaretskii
2011-07-24 8:14 ` David Kastrup
2011-07-24 10:01 ` David Engster
2011-07-24 13:11 ` David Kastrup
2011-07-27 2:46 ` Chong Yidong
2011-07-27 6:25 ` David Kastrup
2011-07-27 7:21 ` David Engster
2011-07-27 7:39 ` David Kastrup
2011-07-27 8:06 ` Andreas Röhler
2011-07-27 8:24 ` David Kastrup
2011-07-27 16:14 ` Compiled files without sources???? Richard Stallman
2011-07-27 17:57 ` David Kastrup
2011-07-28 5:53 ` Richard Stallman
2011-07-28 10:02 ` Paul Eggert
2011-07-28 23:00 ` Richard Stallman
2011-07-28 23:28 ` Paul Eggert
2011-07-29 14:32 ` Milan
2011-07-29 22:33 ` Chong Yidong
2011-07-30 2:12 ` Chong Yidong
2011-07-30 4:36 ` Richard Stallman
2011-07-30 20:33 ` Chong Yidong
2011-07-30 23:20 ` Thien-Thi Nguyen
2011-07-31 4:46 ` Tim Cross
2011-07-31 11:03 ` David Kastrup
2011-07-31 13:29 ` Tim Cross
2011-07-31 17:45 ` Andreas Röhler
2011-07-31 17:55 ` Stephen J. Turnbull
2011-07-31 18:06 ` Lars Ingebrigtsen
2011-07-31 20:06 ` Stephen J. Turnbull
2011-07-31 21:47 ` David Engster
2011-07-31 22:36 ` David Kastrup
2011-07-31 23:15 ` David Engster
2011-08-01 0:14 ` Chong Yidong
2011-07-31 23:10 ` Tim Cross
2011-08-01 12:33 ` Stephen J. Turnbull
2011-08-01 13:14 ` David Kastrup
2011-08-01 14:37 ` Stephen J. Turnbull
2011-08-01 14:42 ` Thien-Thi Nguyen
2011-08-02 0:13 ` Richard Stallman
2011-08-02 7:10 ` David Kastrup
2011-08-03 4:17 ` Richard Stallman
2011-08-02 0:13 ` Letting the users off the hook Richard Stallman
2011-08-03 4:16 ` Richard Stallman
2011-08-03 6:50 ` Stephen J. Turnbull
2011-08-03 19:18 ` Richard Stallman
2011-07-31 23:56 ` Compiled files without sources???? Richard Stallman
2011-07-31 16:19 ` Richard Stallman
2011-07-31 17:04 ` Chong Yidong
2011-07-31 23:56 ` Richard Stallman
2011-08-01 3:08 ` Chong Yidong
2011-08-01 21:28 ` Replacing tarballs on-the-fly (was: Re: Compiled files without sources????) Ulrich Mueller
2011-08-02 16:09 ` Replacing tarballs on-the-fly Chong Yidong
2011-08-02 17:43 ` Ulrich Mueller
2011-08-03 4:17 ` Richard Stallman
2011-08-03 20:31 ` Chong Yidong
2011-08-02 0:13 ` Compiled files without sources???? Richard Stallman
2011-08-02 15:56 ` Chong Yidong
2011-08-03 4:16 ` Richard Stallman
2011-07-30 4:35 ` Richard Stallman
2011-07-29 16:25 ` Evgeny M. Zubok
2011-07-29 16:37 ` David Kastrup
2011-07-29 23:40 ` Richard Stallman
2011-07-30 12:56 ` Evgeny M. Zubok
2011-07-30 13:25 ` David Kastrup
2011-07-30 20:55 ` Chong Yidong
2011-07-31 16:19 ` Richard Stallman
2011-03-10 16:45 ` Emacs 23.3 released Juanma Barranquero
2011-03-11 4:26 ` Stefan Monnier
2011-03-11 4:42 ` Juanma Barranquero
2011-03-11 9:44 ` Andreas Schwab
2011-03-11 20:18 ` Stefan Monnier
2011-03-11 23:03 ` Andreas Schwab
2011-03-12 0:03 ` Juanma Barranquero
2011-03-12 1:38 ` Stefan Monnier [this message]
2011-03-10 19:21 ` Thierry Volpiatto
2011-03-11 4:20 ` Stefan Monnier
2011-03-11 7:14 ` Thierry Volpiatto
2011-03-12 3:35 ` Stefan Monnier
2011-03-12 12:23 ` Juanma Barranquero
2011-03-14 14:10 ` Stefan Monnier
2011-03-14 14:52 ` Juanma Barranquero
2011-03-14 15:51 ` Lexbind (was: Emacs 23.3 released) Stefan Monnier
2011-03-17 1:59 ` Juanma Barranquero
2011-03-17 10:28 ` Eli Zaretskii
2011-03-17 12:22 ` Juanma Barranquero
2011-03-17 15:13 ` Juanma Barranquero
2011-03-17 16:07 ` Eli Zaretskii
2011-03-17 18:06 ` Juanma Barranquero
2011-03-17 19:24 ` Eli Zaretskii
2011-03-17 19:46 ` Juanma Barranquero
2011-03-19 0:54 ` Juanma Barranquero
2011-03-19 8:35 ` Eli Zaretskii
2011-03-19 9:28 ` Juanma Barranquero
2011-03-17 20:01 ` Lexbind Stefan Monnier
2011-03-17 22:07 ` Lexbind Wojciech Meyer
2011-03-17 23:29 ` Lexbind Juanma Barranquero
2011-03-18 7:39 ` Lexbind joakim
2011-03-10 19:27 ` Emacs 23.3 released Mike Mattie
2011-03-10 19:56 ` Glenn Morris
2011-03-11 8:45 ` Eli Zaretskii
2011-03-11 16:56 ` Chong Yidong
2011-03-11 20:19 ` Stefan Monnier
2011-03-10 18:57 ` Chong Yidong
2011-03-12 9:28 ` updating web manuals [Re: " Jim Meyering
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvvczpw2hs.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=lekktu@gmail.com \
--cc=schwab@linux-m68k.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.