GNU bug report logs -
#48383
[native-compile] Debugging external package powerline.el
Previous Next
Reported by: Arash Esbati <arash <at> gnu.org>
Date: Wed, 12 May 2021 19:12:01 UTC
Severity: normal
Tags: notabug
Done: Arash Esbati <arash <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Andrea Corallo <akrl <at> sdf.org> writes:
> if the compiler crashes I guess the next step is to debug it.
Thanks for your response. In this case, the compiler doesn't crash.
> But before doing that would be nice to isolate what's the function
> that is causing the issue and create a reproducer.
From the discussion here[1], the problem seems to be the last line in
this function provided by powerline.el[2]:
(defun pl/pattern (lst)
"Turn LST into an infinite pattern."
(when lst
(let ((pattern (cl-copy-list lst)))
(setcdr (last pattern) pattern)))) ;; <== Problematic form
Not being an Emacs issue, my question was if the native compiler could
be more verbose about the error.
> PS you can work around the issue of the startup adding powerline.el to
> `native-comp-deferred-compilation-deny-list'.
Thanks, this is what I did for now.
Best, Arash
Footnotes:
[1] https://github.com/milkypostman/powerline/issues/187
[2] https://github.com/milkypostman/powerline/issues/187#issuecomment-836582479
This bug report was last modified 3 years and 198 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.