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#43532: [feature/native-comp] *.eln file name hashing, algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained, Emacs.app builds for macOS Date: Wed, 14 Oct 2020 06:57:42 +0000 Message-ID: References: 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="36437"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 43532@debbugs.gnu.org, Jim Myhrberg , Aloxaf Yin To: Andrew Whatson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 14 08:58:20 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 1kSajr-0009Lu-GW for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 14 Oct 2020 08:58:19 +0200 Original-Received: from localhost ([::1]:59626 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kSajp-00078R-9r for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 14 Oct 2020 02:58:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45236) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kSajb-00078I-2V for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2020 02:58:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38365) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kSaja-0001Js-1S for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2020 02:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kSajZ-0003fD-VJ for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2020 02: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: Wed, 14 Oct 2020 06:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43532 X-GNU-PR-Package: emacs Original-Received: via spool by 43532-submit@debbugs.gnu.org id=B43532.160265866614060 (code B ref 43532); Wed, 14 Oct 2020 06:58:01 +0000 Original-Received: (at 43532) by debbugs.gnu.org; 14 Oct 2020 06:57:46 +0000 Original-Received: from localhost ([127.0.0.1]:49911 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSajK-0003ei-K5 for submit@debbugs.gnu.org; Wed, 14 Oct 2020 02:57:46 -0400 Original-Received: from mab.sdf.org ([205.166.94.33]:37720 helo=ma.sdf.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSajJ-0003eY-Mc for 43532@debbugs.gnu.org; Wed, 14 Oct 2020 02:57:46 -0400 Original-Received: from akrl by ma.sdf.org with local (Exim 4.92) (envelope-from ) id 1kSajG-0007G8-V3; Wed, 14 Oct 2020 06:57:43 +0000 In-Reply-To: (Andrew Whatson's message of "Wed, 14 Oct 2020 10:12:58 +1000") 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:190485 Archived-At: Andrew Whatson writes: > Hi Andrea, > > I see similar problems with my Guix builds of emacs-native-comp. I > run with deferred compilation disabled, so the native versions of core > elisp packages are simply not loaded. > > As a workaround, I've had success copying > `/path/to/emacs/lib/emacs/28.0.50/native-lisp/.../*.eln` into > `~/.emacs.d/eln-cache/.../`. The native-compiled code is then loaded > correctly as expected. > > Perhaps this helps to narrow down the problem; seems it's not a > hashing problem, but a load-path one? Hi Andrew, from where I stand I don't see why it should not work so I'll have to recreate the problem here and have a look. I'll try to do it this week. Thanks! Andrea