all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* native-comp and cl-lib startup issue
@ 2021-06-15 11:35 Yuri D'Elia
  2021-06-15 11:51 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Yuri D'Elia @ 2021-06-15 11:35 UTC (permalink / raw)
  To: emacs-devel

Hi everyone. I'm tracking the latest master branch and built emacs with
native compilation and NATIVE_FULL_AOT=1 (although the latter doesn't
change the nature of this issue).

The first run of emacs with a clean eln-cache works fine. I'm generally
using the daemon, so I quit rarely. But if I do, generally on the second
run I get this startup error message:

> Warning (initialization): An error occurred while loading ‘~/.config/emacs/init.el’:
>
> error: (setf seq-elt) is already defined as something else than a generic function

As a wild guess, it's because seq-elt is now native-compiled?

I removed the cl-lib native compiled file from eln-cache (in my case
cl-lib-8b938900-fbcee53d.eln) and lo-and-behold the error is fixed. But
it will reappear eventually.

I'm surprised I didn't see any reference to this error in the archives,
and I didn't get any hit when searching in debbugs.




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: native-comp and cl-lib startup issue
  2021-06-15 11:35 native-comp and cl-lib startup issue Yuri D'Elia
@ 2021-06-15 11:51 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2021-06-15 11:51 UTC (permalink / raw)
  To: Yuri D'Elia; +Cc: emacs-devel

> From: Yuri D'Elia <wavexx@thregr.org>
> Date: Tue, 15 Jun 2021 13:35:34 +0200
> 
> The first run of emacs with a clean eln-cache works fine. I'm generally
> using the daemon, so I quit rarely. But if I do, generally on the second
> run I get this startup error message:
> 
> > Warning (initialization): An error occurred while loading ‘~/.config/emacs/init.el’:
> >
> > error: (setf seq-elt) is already defined as something else than a generic function
> 
> As a wild guess, it's because seq-elt is now native-compiled?
> 
> I removed the cl-lib native compiled file from eln-cache (in my case
> cl-lib-8b938900-fbcee53d.eln) and lo-and-behold the error is fixed. But
> it will reappear eventually.
> 
> I'm surprised I didn't see any reference to this error in the archives,
> and I didn't get any hit when searching in debbugs.

See bug#47454.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-15 11:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-15 11:35 native-comp and cl-lib startup issue Yuri D'Elia
2021-06-15 11:51 ` Eli Zaretskii

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.