From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuri D'Elia Newsgroups: gmane.emacs.devel Subject: native-comp and cl-lib startup issue Date: Tue, 15 Jun 2021 13:35:34 +0200 Message-ID: <874kdz9x89.fsf@wavexx.thregr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40081"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: emacs-devel@gnu.org Cancel-Lock: sha1:lSa/i6l7iycT+1H/KZR3U0eDYIM= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jun 15 13:36:43 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lt7N5-000AK8-K3 for ged-emacs-devel@m.gmane-mx.org; Tue, 15 Jun 2021 13:36:43 +0200 Original-Received: from localhost ([::1]:56844 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lt7N4-0004me-Lf for ged-emacs-devel@m.gmane-mx.org; Tue, 15 Jun 2021 07:36:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53262) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lt7M9-0003Hy-Sp for emacs-devel@gnu.org; Tue, 15 Jun 2021 07:35:45 -0400 Original-Received: from ciao.gmane.io ([116.202.254.214]:59160) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lt7M7-0008RK-VH for emacs-devel@gnu.org; Tue, 15 Jun 2021 07:35:45 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1lt7M5-00092Q-9H for emacs-devel@gnu.org; Tue, 15 Jun 2021 13:35:41 +0200 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=ged-emacs-devel@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:270822 Archived-At: 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.