GNU bug report logs -
#8764
24.0.50; cedet/semantic/bovine/c-by.el:184:1:Error: Lisp nesting exceeds `max-lisp-eval-depth'
Previous Next
Reported by: Christopher Browne <cbbrowne <at> afilias.info>
Date: Mon, 30 May 2011 17:53:02 UTC
Severity: normal
Tags: moreinfo
Found in versions 24.0.50, 24.4
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Paul Eggert <eggert <at> cs.ucla.edu> writes:
> One hypothesis is that c-by.el depends on some other .el file being
> compiled into *.elc form (rather than being present in only source
> form), and that using 'make -j5' causes 'make' on my platform to
> (unluckily) arrange for c-by.el to be compiled before the other *.elc
> file (whatever it is) is available.
I found a reproducer:
larsi <at> xo:~/src/emacs/trunk$ rm lisp/emacs-lisp/cconv.elc
larsi <at> xo:~/src/emacs/trunk$ ./src/emacs -batch --eval '(byte-compile-file "./lisp/cedet/semantic/bovine/c-by.el")'
In toplevel form:
lisp/cedet/semantic/bovine/c-by.el:198:1: Error: Lisp nesting exceeds ‘max-lisp-eval-depth’
larsi <at> xo:~/src/emacs/trunk$ ./src/emacs -batch --eval '(byte-compile-file "./lisp/emacs-lisp/cconv.el")'
larsi <at> xo:~/src/emacs/trunk$ ./src/emacs -batch --eval '(byte-compile-file "./lisp/cedet/semantic/bovine/c-by.el")'
larsi <at> xo:~/src/emacs/trunk$
And indeed:
larsi <at> xo:~/src/emacs/trunk$ rm lisp/emacs-lisp/cconv.elc lisp/cedet/semantic/bovine/c-by.elc
rm: cannot remove 'lisp/cedet/semantic/bovine/c-by.elc': No such file or directory
larsi <at> xo:~/src/emacs/trunk$ make -j8
make -C lib all
make -C doc/lispref info
[...]
make[2]: Entering directory '/home/larsi/src/emacs/trunk/lisp'
ELC emacs-lisp/cconv.elc
ELC cedet/semantic/bovine/c-by.elc
In toplevel form:
cedet/semantic/bovine/c-by.el:198:1: Error: Lisp nesting exceeds ‘max-lisp-eval-depth’
make[2]: *** [Makefile:312: cedet/semantic/bovine/c-by.elc] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/larsi/src/emacs/trunk/lisp'
make[1]: *** [Makefile:342: compile-main] Error 2
make[1]: Leaving directory '/home/larsi/src/emacs/trunk/lisp'
make: *** [Makefile:439: lisp] Error 2
Now, cconv.elc is already in COMPILE_FIRST... and adding it to
MAIN_FIRST in addition doesn't seem to help. It doesn't seem to
actually wait until compiling MAIN_FIRST is done before doing the rest?
(If I'm reading the Makefile correctly.)
Yup. I've now separated out the MAIN_FIRST into its own target, and
that fixes this problem.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 3 years and 229 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.