From: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: psainty@orcon.net.nz, dario.gjorgjevski@gmail.com, 47800@debbugs.gnu.org
Subject: bug#47800: [native-comp] could not resolve realpath of "emacs"
Date: Fri, 16 Apr 2021 19:23:51 +0000 [thread overview]
Message-ID: <xjfczuuav94.fsf@sdf.org> (raw)
In-Reply-To: <83tuo6wgte.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 16 Apr 2021 15:32:29 +0300")
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Andrea Corallo <akrl@sdf.org>
>> Cc: Eli Zaretskii <eliz@gnu.org>, psainty@orcon.net.nz, 47800@debbugs.gnu.org
>> Date: Fri, 16 Apr 2021 09:27:51 +0000
>>
>> > But I can at least confirm that the issue is that raw_name is not
>> > resolved according to PATH prior to the call of real_filename in
>> >
>> > char *filename = real_filename (SSDATA (raw_name));
>>
>> I agree that's the issue.
>
> I think the issue is slightly more complex.
That's very possible today I had really no time to reproduce and
investigate this in details sorry.
> Andrea, is native-compilation supported with unexec, or only with
> pdumper?
Only pdumper.
> If the former, where in the code and when do we load the
> preloaded *.eln files? are they dumped into the Emacs executable?
We re-load the eln for each compilation unit around pdumper.c:5277. The
position of the eln is already stored in CU object (formed in
loadup.el:467).
> If we don't support native-compilation with unexec, we should reject
> that combination in configure, right?
That's correct.
Thanks
Andrea
next prev parent reply other threads:[~2021-04-16 19:23 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-15 14:09 bug#47800: [native-comp] could not resolve realpath of "emacs" Dario Gjorgjevski
2021-04-15 14:17 ` Phil Sainty
2021-04-15 14:26 ` Dario Gjorgjevski
2021-04-15 15:08 ` Eli Zaretskii
2021-04-16 5:41 ` bug#44128: " Phil Sainty
2021-04-16 6:41 ` bug#44128: #44128: [feature/native-comp] When invoking a symlink to the 'emacs' binary Emacs fails to start Eli Zaretskii
2021-04-16 11:18 ` Phil Sainty
2021-04-16 8:57 ` bug#47800: [native-comp] could not resolve realpath of "emacs" Dario Gjorgjevski
2021-04-16 9:08 ` Dario Gjorgjevski
2021-04-16 9:23 ` Dario Gjorgjevski
2021-04-16 9:27 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-04-16 9:37 ` Dario Gjorgjevski
2021-04-16 10:56 ` Phil Sainty
2021-04-16 11:32 ` Phil Sainty
2021-04-16 12:32 ` Eli Zaretskii
2021-04-16 19:23 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2021-04-16 19:38 ` Eli Zaretskii
2021-04-16 20:07 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-04-17 7:13 ` Eli Zaretskii
2021-04-17 7:39 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-04-17 14:16 ` Eli Zaretskii
2021-04-15 14:44 ` Eli Zaretskii
2021-04-16 9:53 ` wilde
2021-04-17 14:00 ` Eli Zaretskii
2021-04-17 19:12 ` wilde
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xjfczuuav94.fsf@sdf.org \
--to=bug-gnu-emacs@gnu.org \
--cc=47800@debbugs.gnu.org \
--cc=akrl@sdf.org \
--cc=dario.gjorgjevski@gmail.com \
--cc=eliz@gnu.org \
--cc=psainty@orcon.net.nz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).