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: Mon, 21 Sep 2020 23:40:38 +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="12596"; 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 00:41: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 1kKUUm-0003Aj-4V for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 22 Sep 2020 00:41:16 +0200 Original-Received: from localhost ([::1]:51696 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kKUUl-0005Fk-2p for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Sep 2020 18:41:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36940) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kKUUX-0005FZ-Uz for bug-gnu-emacs@gnu.org; Mon, 21 Sep 2020 18:41:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45150) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kKUUX-0005B2-Lj for bug-gnu-emacs@gnu.org; Mon, 21 Sep 2020 18:41:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kKUUX-0002kX-Jy for bug-gnu-emacs@gnu.org; Mon, 21 Sep 2020 18:41:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jim Myhrberg Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Sep 2020 22:41: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.160072805710552 (code B ref 43532); Mon, 21 Sep 2020 22:41:01 +0000 Original-Received: (at 43532) by debbugs.gnu.org; 21 Sep 2020 22:40:57 +0000 Original-Received: from localhost ([127.0.0.1]:56696 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKUUT-0002k7-Ei for submit@debbugs.gnu.org; Mon, 21 Sep 2020 18:40:57 -0400 Original-Received: from mail-ed1-f41.google.com ([209.85.208.41]:38456) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKUUR-0002jt-3F for 43532@debbugs.gnu.org; Mon, 21 Sep 2020 18:40:56 -0400 Original-Received: by mail-ed1-f41.google.com with SMTP id c8so14386153edv.5 for <43532@debbugs.gnu.org>; Mon, 21 Sep 2020 15:40:54 -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=76bkJF+Xn4tk8ZBvvFR2zWVDl0eMf9ANMAl5ml5NUB0=; b=Sgg3Cn9ajlsuPFKJmh10zmtDDLxy2gmZIU7aGKWjfvX/yeY3wwUGwSGjjCZ9MpZqij cxo5FxElF973aqtiE+W6OIqq9P3++im8+oXNAX4mCisHyzzr3yTPmDNDP+x6iTZ04muY JRdi1lAIqgBkE+j7g10MutnPwXR44kKqxyFz7Ss1PO92UmUGQtwLELYt3jMzRI9wefjb YcnhAQfAEJmJtT4vzSMvMvCU2uGmf21BR3YbNPJhOePGDEq+MLkX0SX7XOgMggq7LanK dyKJPIABxWm0D4Za3Yy9y06Y1odxe4hrEUcK+Ps4osNPwXOIsclIIkERtoA6TAPU8gP2 61PQ== 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=76bkJF+Xn4tk8ZBvvFR2zWVDl0eMf9ANMAl5ml5NUB0=; b=TRX3RYIY+p49WJfy/2ztEGXQEU42boLa7F9uGBtNL+0oz9ETBAqB9pMslMZ/UTfvfh dqRHbggmUB7/7QMdxqGq7iGOLR3K/BUAj0Daeh3ArhIiadBql8G85YbJ7Xrwl91f8FwN RfKMUsCgyuIxtwEYN5F/V5UUj4gd1wn2WAnQSXxCReteoBCl9MAErpc6yd1vh3biW2dU e4oLivpcS48P+amXjYGhIrgG9C3CXlAAad7g1fpGcjDbjWAK+X9T2XhY8/ZGdHoyPQPi z0VQCbSxp2M7k7g/Ofap88HrxLC0AzFb+zhacUY4iuvpI94IXpAUpsRgeBuamduuOOlT QZsw== X-Gm-Message-State: AOAM531s/TrjzhyLQaP/leyAWFBGUPC5cXxQycSElbHpxy5EXBCsbqxu Hv75bu9bziz2Y9a70TBFmqTq+DYaTNDHn1KANCQn4A== X-Google-Smtp-Source: ABdhPJxQsXVu5Og0kK5Gk53jFTObla+T93XUi+PlQIFvTWKpXiF1d4x7EDDVRVlzWJV2pvbbFPWhLUKWGMrnXgN1q30= X-Received: by 2002:a50:ab1d:: with SMTP id s29mr1171597edc.246.1600728049051; Mon, 21 Sep 2020 15:40:49 -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:188652 Archived-At: I'm afraid I've tried all the guess-based tweaks I can think of without any luck, mostly just changing the two PATH_* variables around. On Mon, Sep 21, 2020 at 10:17 PM Jim Myhrberg wrote: > > 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 :) > > On Mon, Sep 21, 2020 at 8:38 PM Andrea Corallo wrote: > > > > Hi Jim, > > > > could you check what I've pushed to scratch/native-comp-macos-43532 > > works for you? > > > > I've done what I could to test it but is not much as I'm not on MacOS. > > > > Thanks > > > > Andrea