bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#11707: 24.1.50; 'make recompile' does not use BYTE_COMPILE_FLAGS on


From: Eli Zaretskii
Subject: bug#11707: 24.1.50; 'make recompile' does not use BYTE_COMPILE_FLAGS on Windows
Date: Fri, 15 Jun 2012 20:41:09 +0300

> Date: Sat, 16 Jun 2012 01:41:25 +0900
> From: Kazuhiro Ito <kzhr@d1.dion.ne.jp>
> Cc: 11707@debbugs.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'.

You should use "make compile" in this situation.  "make recompile"
might produce incorrect byte code, because it compiles all the files
in the same Emacs session.

> 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.

"make compile" should be free from this problem.





reply via email to

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