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#71805: master: New interpreted function format prevents native compilation. Date: Sat, 29 Jun 2024 15:11:43 +0300 Message-ID: <864j9cj6dc.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40833"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71805@debbugs.gnu.org To: Alan Mackenzie , Stefan Monnier , Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 29 14:12:18 2024 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 1sNWwD-000ANp-4f for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 29 Jun 2024 14:12:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sNWw4-0000GM-HK; Sat, 29 Jun 2024 08:12:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sNWvy-0000Fw-Uw for bug-gnu-emacs@gnu.org; Sat, 29 Jun 2024 08:12:03 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sNWvy-0006Mm-Mq for bug-gnu-emacs@gnu.org; Sat, 29 Jun 2024 08:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sNWvy-00064u-CA for bug-gnu-emacs@gnu.org; Sat, 29 Jun 2024 08:12: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: Sat, 29 Jun 2024 12:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71805 X-GNU-PR-Package: emacs Original-Received: via spool by 71805-submit@debbugs.gnu.org id=B71805.171966311423349 (code B ref 71805); Sat, 29 Jun 2024 12:12:02 +0000 Original-Received: (at 71805) by debbugs.gnu.org; 29 Jun 2024 12:11:54 +0000 Original-Received: from localhost ([127.0.0.1]:37290 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sNWvq-00064W-CY for submit@debbugs.gnu.org; Sat, 29 Jun 2024 08:11:54 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sNWvp-00064L-04 for 71805@debbugs.gnu.org; Sat, 29 Jun 2024 08:11:53 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sNWvi-0005xf-BM; Sat, 29 Jun 2024 08:11:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=bBima24BMiRa99G3D2sYBfAOeWIVZjXTxLuXTJM51PQ=; b=iKJXz434RAAS tACaGBB/o4h3drR/x2WDXckqhjqq3VNTXJJF+NvH1clEPonJ+qDD2JrNggBMocxX+liMj6cXNXls3 nvth8Bs2fDcFVaI3M0fj464nsUTwybwGp4TbeivjHQXTxLHrR0VMkpUbzxHT1pEMbzi5IL3hv9nQp nm1LKRkPylDSl1qKwiXqkN0Gv1Q0ZJme+eWiu3wton8ay4stSbW2Mc9jGtrJCOyik5oLWTjAtQjEE KcaZZZqEdivXH/flECiGT96EQYTIbd9pmCyG7gy+NqSo8SV2NWcjo6qVA0dl/n4rz5qEAJU0+pkqz Awy6vEcy7XS4Ae3C99yk8g==; In-Reply-To: (message from Alan Mackenzie on Thu, 27 Jun 2024 16:00:58 +0000) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:288113 Archived-At: > Date: Thu, 27 Jun 2024 16:00:58 +0000 > From: Alan Mackenzie > > With a recent master repo (likely also the emacs-30 branch): > (i) mkdir ~/cc-mode.hg. > (ii) chdir ~/cc-mode.hg. > (iii) Copy cc-mode.hg.tar.gz from this bug report to ~/cc-mode.hg. > (iv) tar -zxf cc-mode.tar.gz. > The CC Mode source files should now be in the current directory. > > (v) emacs -Q -batch -f batch-byte-compile *.el > The CC Mode .elc files should now be present. > > (vi) emacs -Q. > (vii) M-: (push "~/cc-mode.hg" load-path). > (viii) M-x load-library RET cc-mode RET. > (ix) (After a brief wait) C-x b *Async-native-compile-log* RET. > > (x) Search the buffer for "#" with C-s or C-r. This will find the error > line > > /home/awk/cc-mode.hg/cc-fonts.el: Error Wrong type argument: listp, #[(form) (`(cdr (backquote-process ,form))) nil] > > (where "awk" is your user name). > > The native compiler has thus failed to compile cc-fonts.el, this being > something to do with the new interpreted form > > #[(form) (`(cdr (backquote-process ,form))) nil] > > being somewhere where a list form is expected. > > Possibly of interest: (defun (form) (`(cdr (backquote-process ,form))) > nil] looks like a failed expansion of backquote (see > lisp/emacs-lisp/backquote.el). Andrea and Stefan, can you look into this, please?