Subject: bug#46818: leim bootstrap: Variable binding depth exceeds max-specpdl-size

From: Stefan Monnier <[email-masked]>
Date: Sat, 27 Feb 2021 19:51:12 -0500

>> In any case, rather than bump the pdl limit, I suggest the patch below,
>> which completely avoids the need to macroexpand all that code we won't
>> be using anyway.
> Works here, thanks,

It's really strange that it also fixes the eager macroexpansion errors
you're seeing in

  GEN      ../../lisp/cedet/semantic/bovine/c-by.el
Eager macro-expansion failure: (error "Variable binding depth exceeds max-specpdl-size")
  GEN      ../../lisp/cedet/semantic/bovine/make-by.el
Eager macro-expansion failure: (error "Variable binding depth exceeds max-specpdl-size")
  GEN      ../../lisp/cedet/semantic/bovine/scm-by.el
Eager macro-expansion failure: (error "Variable binding depth exceeds max-specpdl-size")
  GEN      ../../lisp/cedet/semantic/wisent/javat-wy.el
Eager macro-expansion failure: (error "Variable binding depth exceeds max-specpdl-size")
  GEN      ../../lisp/cedet/semantic/wisent/js-wy.el
Eager macro-expansion failure: (error "Variable binding depth exceeds max-specpdl-size")
  GEN      ../../lisp/cedet/semantic/wisent/python-wy.el
Eager macro-expansion failure: (error "Variable binding depth exceeds max-specpdl-size")
  GEN      ../../lisp/cedet/srecode/srt-wy.el
Eager macro-expansion failure: (error "Variable binding depth exceeds max-specpdl-size")

-- Stefan