all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kazuhiro Ito <kzhr@d1.dion.ne.jp>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 11707@debbugs.gnu.org
Subject: bug#11707: 24.1.50; 'make recompile' does not use BYTE_COMPILE_FLAGS on Windows
Date: Sat, 16 Jun 2012 01:41:25 +0900	[thread overview]
Message-ID: <20120615164131.1F1FE2C037@msa104.auone-net.jp> (raw)
In-Reply-To: <83haudyi35.fsf@gnu.org>


> > When I 'make recompile' on Windows, Emacs outputs many "Lisp nesting
> > exceeds `max-lisp-eval-depth'" message.
> 
> lisp/makefile.w32-in doesn't use BYTE_COMPILE_FLAGS because they are
> not supposed to be needed for that target.
> 
> Are you using "make recompile" with emacs.exe that has only source
> (*.el) version of the byte compiler loaded?  Otherwise, I don't
> understand how come you get these errors.

Probablely yes.  The problem occured when I accidentally stopped 'make
bootstrap' in byte-compiling process and then run 'make recompile'.

Because I noticed the below ChangeLog entry and I didn't know about
the reason of the difference between Makefile.in and makefile.w32-in,
I simply thought lisp/makefile.w32-in didn't use BYTE_COMPILE_FLAGS
unintendedly.

lisp/ChangeLog
> 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
> 
> 	Add lexical binding.
(snip)
> 	* Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
> 	New variables.
> 	(compile-onefile, .el.elc, compile-calc, recompile): Use them.
> 	(COMPILE_FIRST): Add macroexp and cconv.
> 	* makefile.w32-in: Mirror changes in Makefile.in.


Here is the more strict recipe for the problem.  But I don't know
whether 'make recompile' is expected to be run in such condition.

1. 'make bootstrap'
2. rm ../lisp/emacs-lisp/macroexp.elc
3. touch ../lisp/image-dired.el
4. make recompile

The below error occurs.
> Compiling f:/build/emacs-trunk/lisp/image-dired.el...
> Compiler-macro error: (error "Lisp nesting exceeds `max-lisp-eval-depth'")
> Compiler-macro error: (error "Lisp nesting exceeds `max-lisp-eval-depth'")
> Compiler-macro error: (error "Lisp nesting exceeds `max-lisp-eval-depth'")
> Compiler-macro error: (error "Lisp nesting exceeds `max-lisp-eval-depth'")
> Compiler-macro error: (error "Lisp nesting exceeds `max-lisp-eval-depth'")
> Compiler-macro error: (error "Lisp nesting exceeds `max-lisp-eval-depth'")
> Compiler-macro error: (error "Lisp nesting exceeds `max-lisp-eval-depth'")
>
> In toplevel form:
> image-dired.el:2352:1:Error: Lisp nesting exceeds `max-lisp-eval-depth'

5. make recompile
Successfully finished.

-- 
Kazuhiro Ito





  reply	other threads:[~2012-06-15 16:41 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-14 11:16 bug#11707: 24.1.50; 'make recompile' does not use BYTE_COMPILE_FLAGS on Windows Kazuhiro Ito
2012-06-14 16:27 ` Eli Zaretskii
2012-06-15 16:41   ` Kazuhiro Ito [this message]
2012-06-15 17:41     ` Eli Zaretskii
2012-06-18 12:56       ` Kazuhiro Ito
2012-06-25  1:10       ` Glenn Morris
2012-06-25 11:35         ` Juanma Barranquero
2012-06-26 16:28           ` Glenn Morris
2012-06-26 17:08             ` Eli Zaretskii
2012-06-28 17:30               ` Glenn Morris
2012-06-28 18:15                 ` Eli Zaretskii
2012-06-25 14:35         ` Stefan Monnier
2012-06-28 17:34           ` Glenn Morris
2012-06-28 18:11             ` Stefan Monnier
2012-07-06  7:44           ` Glenn Morris
2013-12-18 21:40             ` Glenn Morris

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=20120615164131.1F1FE2C037@msa104.auone-net.jp \
    --to=kzhr@d1.dion.ne.jp \
    --cc=11707@debbugs.gnu.org \
    --cc=eliz@gnu.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.