From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Myhrberg 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: Tue, 22 Sep 2020 10:43:12 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5871"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 43532@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 22 11:47:54 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 1kKett-0001Om-QB for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 22 Sep 2020 11:47:53 +0200 Original-Received: from localhost ([::1]:52306 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kKets-0005fz-Ob for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 22 Sep 2020 05:47:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42696) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kKeqA-0001jt-LO for bug-gnu-emacs@gnu.org; Tue, 22 Sep 2020 05:44:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45710) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kKeqA-0000F1-BR for bug-gnu-emacs@gnu.org; Tue, 22 Sep 2020 05:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kKeqA-0004Uq-90 for bug-gnu-emacs@gnu.org; Tue, 22 Sep 2020 05:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jim Myhrberg Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Sep 2020 09:44:02 +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.160076781217236 (code B ref 43532); Tue, 22 Sep 2020 09:44:02 +0000 Original-Received: (at 43532) by debbugs.gnu.org; 22 Sep 2020 09:43:32 +0000 Original-Received: from localhost ([127.0.0.1]:57256 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKepg-0004Tw-4R for submit@debbugs.gnu.org; Tue, 22 Sep 2020 05:43:32 -0400 Original-Received: from mail-ej1-f54.google.com ([209.85.218.54]:43229) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKepe-0004Tf-2f for 43532@debbugs.gnu.org; Tue, 22 Sep 2020 05:43:31 -0400 Original-Received: by mail-ej1-f54.google.com with SMTP id o8so21879388ejb.10 for <43532@debbugs.gnu.org>; Tue, 22 Sep 2020 02:43:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jimeh-me.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2bJ1JHHARTCN1bu++q1xmkcve3JxK4TOa/59Z/q6t/o=; b=CYag7J9TqcxBYenYVNwqoi0v1EycpuAUOkFuPYJiDyS1j25ujD6/1Bw1NdwTGIlgq8 KTozqoabpc2GWFzxUc4m6aYvHTzdqaKIWmqFIVdeeQxEw+yxMdtCK9hJ4kLH3wZpTIoI 8oxjwNfwW7DQSHJcO1bWEavhpZ6T8SEPzD+vkKbvKfaO1FtyxqTFz3MpsUsPap75/IFU MfUFt6TeWFSlx4rwePp9s4URI+0nDf5hFg54Dfbulmm1SrHQFGjF2vMcCI9ei2NOsUN0 BfUsvchDN9M8aIK5LTCU/9QEQQLBrOP4W5iyfHhBVibzaJIfgYt6DOOSqbCyiYhA/zeU +GbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2bJ1JHHARTCN1bu++q1xmkcve3JxK4TOa/59Z/q6t/o=; b=rJwURsSiuC8oBGygpTGaHIAsBviVsV/r2KvdOcPxo3MTT11lhjZVWFAKTZE+tF4Y+W cn3nx0Io7s4ytCH/y9UOrve3nbBK9kxyzLOytslhc4FmepcsC70LrmoVfhHfNh2fl/iS wW3rwPh4I/PMKfgsISn6pNxynZQNTNsDV3x+GubV/Ura+CIIy7Hz1XVtUOqdYefPqBMH lHF/zEk/61qw6WIlSvTEfSY1LBQAy43qFQ4yCjHtVsz8AtYhsYdD6Uh9kNKnfkjHYU1q go+8O59D/EMrLozzAUOdDp+hITIwMj3tGKUqnqG5gdgpCnszqPR8CSyfFcHF4VokwN9a Drjw== X-Gm-Message-State: AOAM530lrKDWRrmxZOvneSepmFgKytPyZjcB3Kf1pvPfe1bhq/TJiyWp tv3GHFo1Kz8I8Nsfk5NIoAl4gasT83CCCD/HahWWpA== X-Google-Smtp-Source: ABdhPJylWdwPCukvXfZVcdOklyPLkyxvvEoiB+kt+IZjM2kaRVPr19H2ojJWzguBarAhzyKQcr7Nd4i1zMNKgCHEFP4= X-Received: by 2002:a17:906:6411:: with SMTP id d17mr3810943ejm.93.1600767804036; Tue, 22 Sep 2020 02:43:24 -0700 (PDT) In-Reply-To: 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:188669 Archived-At: HI Andrea, I'm afraid it's still not picking up the *.eln files from within the app bundle. I tried inverting those two variables myself last night without any luck. Anything I can check on my end to yield some more light on what's going on? On Tue, Sep 22, 2020 at 8:59 AM Andrea Corallo wrote: > > Jim Myhrberg writes: > > > Hi Andrea, > > > > I've just tested that branch, and I'm afraid it doesn't work. It > > starts native compiling cconv.el and others like before. Looking at > > the changes, I believe it's looking for "Emacs.app" within > > PATH_DUMPLOADSEARCH, which didn't actually contain that in my build > > directory, it was PATH_LOADSEARCH that did. So currently that branch > > doesn't find the bundled *.eln files even when the app is named > > "Emacs.app". > > > > And annoyingly we also need to support it if the user renames the app > > to something else, like "Emacs 28.app", or "Emacs Native.app", or even > > something crazy like "fooBar! LaLa.app". > > > > My knowledge of C is mostly non-existent, but in an effort to reduce > > the feedback loop and not take up too much of your time, I'll try some > > guess-based tweaks and see if I have any success :) > > > > Thanks again :) > > Hi Jim, > > apologies to a quick look I've inverted PATH_LOADSEARCH and > PATH_DUMPLOADSEARCH in the code :/ > > I've also addressed the *.app suggestion (yesterday I've missed your > mail). > > Lets see if I got it right now. > > Thanks > > Andrea