GNU bug report logs - #53532
29.0.50; Eager macroexpansion failure in corner case

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Tue, 25 Jan 2022 19:47:02 UTC

Severity: normal

Found in version 29.0.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 53532 in the body.
You can then email your comments to 53532 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#53532; Package emacs. (Tue, 25 Jan 2022 19:47:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 25 Jan 2022 19:47:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.50; Eager macroexpansion failure in corner case
Date: Tue, 25 Jan 2022 14:45:29 -0500
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





bug closed, send any further explanations to 53532 <at> debbugs.gnu.org and Stefan Monnier <monnier <at> iro.umontreal.ca> Request was from Stefan Monnier <monnier <at> iro.umontreal.ca> to control <at> debbugs.gnu.org. (Tue, 05 Sep 2023 17:18:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 04 Oct 2023 11:24:18 GMT) Full text and rfc822 format available.

This bug report was last modified 199 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.