unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 53532@debbugs.gnu.org
Subject: bug#53532: 29.0.50; Eager macroexpansion failure in corner case
Date: Tue, 25 Jan 2022 14:45:29 -0500	[thread overview]
Message-ID: <jwvh79riopy.fsf@iro.umontreal.ca> (raw)

Package: Emacs
Version: 29.0.50


    % make (with native compiler)
    [...]
    % touch lisp/emacs-lisp/{cl-macs,byte-opt,comp}.el
    % make -j4
    [...]
    Warning: Eager macro-expansion skipped due to cycle:
      … => (load "byte-opt.el") => (macroexpand-all (defalias 'byte-decompile-bytecode-1 …)) => (macroexpand (cl-symbol-macrolet …)) => (load "comp.el") => (macroexpand (eval-when-compile …)) => (load "byte-opt.el")
    [...]

I haven't yet managed to turn this eager-macroexpansion cycle warning
into an actual error, but it'd be good to get rid of this
cyclic dependency.

I'm not sure how we go from (macroexpand (cl-symbol-macrolet …)) to
loading `comp.el` but I suspect that's where the problem lies.


        Stefan






                 reply	other threads:[~2022-01-25 19:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvh79riopy.fsf@iro.umontreal.ca \
    --to=bug-gnu-emacs@gnu.org \
    --cc=53532@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).