From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#48342: native-comp emacs gets into an infinite loop at startup if no .el files are available Date: Tue, 11 May 2021 15:33:28 +0300 Message-ID: <834kf95u1z.fsf@gnu.org> References: <878s4l1zlt.fsf@secretsauce.net> <875yzp1wz0.fsf@secretsauce.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29844"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 48342@debbugs.gnu.org, akrl@sdf.org To: Dima Kogan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 11 14:35:38 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1lgRbt-0007ct-Pp for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 11 May 2021 14:35:37 +0200 Original-Received: from localhost ([::1]:51994 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lgRbs-0003bG-9A for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 11 May 2021 08:35:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42744) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgRaO-0001UB-W7 for bug-gnu-emacs@gnu.org; Tue, 11 May 2021 08:34:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51963) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lgRaM-0000Qu-3c for bug-gnu-emacs@gnu.org; Tue, 11 May 2021 08:34:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lgRaM-00079C-1X for bug-gnu-emacs@gnu.org; Tue, 11 May 2021 08:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 May 2021 12:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48342 X-GNU-PR-Package: emacs Original-Received: via spool by 48342-submit@debbugs.gnu.org id=B48342.162073640927434 (code B ref 48342); Tue, 11 May 2021 12:34:02 +0000 Original-Received: (at 48342) by debbugs.gnu.org; 11 May 2021 12:33:29 +0000 Original-Received: from localhost ([127.0.0.1]:35276 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lgRZp-00078O-Gi for submit@debbugs.gnu.org; Tue, 11 May 2021 08:33:29 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60472) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lgRZn-00078C-UZ for 48342@debbugs.gnu.org; Tue, 11 May 2021 08:33:28 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47612) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lgRZi-00009o-Jr; Tue, 11 May 2021 08:33:22 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4205 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgRZi-0003BO-6M; Tue, 11 May 2021 08:33:22 -0400 In-Reply-To: <875yzp1wz0.fsf@secretsauce.net> (message from Dima Kogan on Tue, 11 May 2021 01:44:03 -0700) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:206223 Archived-At: > From: Dima Kogan > Date: Tue, 11 May 2021 01:44:03 -0700 > Cc: 48342@debbugs.gnu.org > > Andrea Corallo writes: > > > could you share the Lisp backtrace? If you have loaded the .gdbinit > > shipped with the repot this will be at the bottom of the gdb > > backtrace. > > Hi Andrea. The backtrace looks like this: > > "display-warning" (0xffebcfd8) > "display-warning" (0xffebd5d8) > "display-warning" (0xffebdbd8) > "display-warning" (0xffebe1d8) Any idea how come display-warning calls itself? > > Yes if you want the native compiler to be able to compile files, > > otherwise you should either native compile all lisp files Ahead of Time > > or set `comp-deferred-compilation' to nil in early init so that Emacs > > will not try to native compile bytecode being loaded. > > That's helpful. Thanks. Note that if you will be distributing the *.eln files, I think the GPL requires you to make the *.el files available. In fact, this is so even with the *.elc files. So I'm not sure I understand how you could distribute only the *.elc files until now: isn't that contrary to GPL?