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#64167: 29.0.92; Ahead-of-time native compilation failed Emacs 29.0.92 Date: Mon, 19 Jun 2023 20:28:22 +0300 Message-ID: <83pm5r745l.fsf@gnu.org> References: 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="37331"; mail-complaints-to="usenet@ciao.gmane.io" Cc: aqua0210@foxmail.com, 64167@debbugs.gnu.org To: Corwin Brust Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 19 19:29:16 2023 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 1qBIgm-0009Ww-0a for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 19 Jun 2023 19:29:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qBIga-0005bd-07; Mon, 19 Jun 2023 13:29:04 -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 1qBIgY-0005Xa-87 for bug-gnu-emacs@gnu.org; Mon, 19 Jun 2023 13:29:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qBIgX-0005GV-SO for bug-gnu-emacs@gnu.org; Mon, 19 Jun 2023 13:29:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qBIgX-0006G2-Ls for bug-gnu-emacs@gnu.org; Mon, 19 Jun 2023 13:29:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Jun 2023 17:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64167 X-GNU-PR-Package: emacs Original-Received: via spool by 64167-submit@debbugs.gnu.org id=B64167.168719570824012 (code B ref 64167); Mon, 19 Jun 2023 17:29:01 +0000 Original-Received: (at 64167) by debbugs.gnu.org; 19 Jun 2023 17:28:28 +0000 Original-Received: from localhost ([127.0.0.1]:57215 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBIfz-0006FE-Fv for submit@debbugs.gnu.org; Mon, 19 Jun 2023 13:28:27 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47592) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBIfx-0006F0-Sf for 64167@debbugs.gnu.org; Mon, 19 Jun 2023 13:28:26 -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 1qBIfs-00055y-1u; Mon, 19 Jun 2023 13:28:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=J51Bi6/Z5yln4OJGkjFjbkhKrZ+EbyqstSWVw2XPcA0=; b=Bxc9rmzVQPmq3jUQdHgb dqq3mz6PikFFFNAQjgRHWTJ9ko9jmEw36TjtOAo2W1K1PsMxfTRs5xz+3aUWkNpjdFl7gFHFkNMKY STT/tSQUKcHqGO8HC75aC8XoE0U1unoc5+DxXljyCvcvMcaBNEUaEB5YO4MjA7U2zqdSQXpu/CWYH 8iEU40Zm5zuzlEt3jbkr342FDIpmdj8TIfwWYLcUglNxeJ160NJtPYgeTMbNfeABFGxObx3NXFo8K K7564OWJXHI0B3/65Hw8xXxgS3ry6TN/xHP+H16ic98L73p/fND/dq2yboNQnz3EfGZfeUo0MN8we b8Ay5tg/ZT675w==; Original-Received: from [87.69.77.57] (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 1qBIfr-0006T6-IE; Mon, 19 Jun 2023 13:28:19 -0400 In-Reply-To: (message from Corwin Brust on Mon, 19 Jun 2023 09:33:03 -0500) 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:263701 Archived-At: > Cc: 64167@debbugs.gnu.org > From: Corwin Brust > Date: Mon, 19 Jun 2023 09:33:03 -0500 > > On Mon, Jun 19, 2023 at 8:24 AM Eason Huang wrote: > > > > I try to build Emacs 29.0.92 on Windows 11, the `aot` option have no > > affect. After I start Emacs, still need to compile the built-in > > packages, such org,cc-mode and so on. > > I can reproduce this. Additionally, expressly passing > --WITH_FULL_AOT=1 to make also has no effect. > > Both appear to work fine for non-release builds (i.e., "snapshot" > builds made in-tree, vs building from a release tarball as we are > doing in this case). The difference is that in the release tarball you have all the *.elc files up-to-date, so the native-compilation rule doesn't kick in. Remove all the *.elc file, and I'm guessing that the aot build will work. I will need to think how to fix this for a release tarball build.