From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#44209: 28.0.50; [feature/native-comp] Compilation failure in progmodes/js.el Date: Sun, 25 Oct 2020 15:57:29 +0000 Message-ID: References: <87imaybg4o.fsf@gnus.org> <874kmi9yd5.fsf@gnus.org> <87v9ey8i2t.fsf@gnus.org> Reply-To: Andrea Corallo Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13641"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: whatson@gmail.com, larsi@gnus.org To: 44209@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 25 16:58:16 2020 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 1kWiPP-0003Ta-WA for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 25 Oct 2020 16:58:15 +0100 Original-Received: from localhost ([::1]:58348 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kWiPP-00032X-1s for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 25 Oct 2020 11:58:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50484) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kWiPC-00032H-2s for bug-gnu-emacs@gnu.org; Sun, 25 Oct 2020 11:58:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54087) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kWiPB-0006hb-QL for bug-gnu-emacs@gnu.org; Sun, 25 Oct 2020 11:58:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kWiPB-0003Ud-MZ for bug-gnu-emacs@gnu.org; Sun, 25 Oct 2020 11:58:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Oct 2020 15:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44209 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo X-Debbugs-Original-To: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" X-Debbugs-Original-Cc: Andrew Whatson , Lars Ingebrigtsen , 44209@debbugs.gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.160364145713388 (code B ref -1); Sun, 25 Oct 2020 15:58:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Oct 2020 15:57:37 +0000 Original-Received: from localhost ([127.0.0.1]:37398 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWiOm-0003Tq-PI for submit@debbugs.gnu.org; Sun, 25 Oct 2020 11:57:37 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:47106) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWiOk-0003Tc-KN for submit@debbugs.gnu.org; Sun, 25 Oct 2020 11:57:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50398) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kWiOk-00031U-CU for bug-gnu-emacs@gnu.org; Sun, 25 Oct 2020 11:57:34 -0400 Original-Received: from mab.sdf.org ([205.166.94.33]:41016 helo=ma.sdf.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kWiOh-0006gL-QD for bug-gnu-emacs@gnu.org; Sun, 25 Oct 2020 11:57:33 -0400 Original-Received: from akrl by ma.sdf.org with local (Exim 4.92) (envelope-from ) id 1kWiOf-0002Yp-Hq; Sun, 25 Oct 2020 15:57:29 +0000 In-Reply-To: (Andrea Corallo via's message of "Sun, 25 Oct 2020 15:30:01 +0000") Received-SPF: pass client-ip=205.166.94.33; envelope-from=akrl@sdf.org; helo=ma.sdf.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/25 11:33:37 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:191506 Archived-At: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: > Lars Ingebrigtsen writes: > >> Andrew Whatson writes: >> >>> I maintain both of these packages. Are you sure you're testing with >>> "make NATIVE_FULL_AOT=1"? The error does not occur with the minimal >>> bootstrap build, because that doesn't attempt to native-compile js.el >>> during the build. I guess this error must occur at runtime with >>> deferred compilation for non-AOT builds. >> >> Oh, sorry, I assumed that >> >> ELC+ELN progmodes/js.elc >> >> meant that it was doing full ahead-of-time .eln generation... but it's >> not? Andrea, perhaps the compilation output here should be tweaked, >> then? > > Correct we are printing ELC+ELN even when we are native compiling only > the files involved in the image creation + few others (the default > setting). > > I agree would be nice to have it tweaked for when we are not doing a > full AoT compilation. > > I'll have a look into. I pushed 868d3ff9b8, should do the job. Andrea