GNU bug report logs - #73318
31.0.50; with-native-compilation=aot breaks exec -a emacs

Previous Next

Package: emacs;

Reported by: Spencer Baugh <sbaugh <at> janestreet.com>

Date: Tue, 17 Sep 2024 15:20:01 UTC

Severity: normal

Found in version 31.0.50

Full log


Message #77 received at 73318 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Spencer Baugh <sbaugh <at> janestreet.com>
Cc: 73318 <at> debbugs.gnu.org, larsi <at> gnus.org, acorallo <at> gnu.org,
 schwab <at> linux-m68k.org, shipmints <at> gmail.com
Subject: Re: bug#73318: 31.0.50; with-native-compilation=aot breaks exec -a
 emacs
Date: Mon, 07 Oct 2024 21:44:20 +0300
> From: Spencer Baugh <sbaugh <at> janestreet.com>
> Cc: 73318 <at> debbugs.gnu.org,  larsi <at> gnus.org,  acorallo <at> gnu.org,
>    schwab <at> linux-m68k.org,  shipmints <at> gmail.com
> Date: Mon, 07 Oct 2024 10:18:37 -0400
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > That means to throw away a lot of code in emacs.c which we use now and
> > was tested for several Emacs releases.  No, thanks, not for this
> > obscure scenario.
> 
> OK, then perhaps just falling back on finding it relative to the pdump.
> 
> > I still don't understand why you insist on not changing your script to
> > include the leading directories in argv[0].  It makes absolutely no
> > sense to me to invent new code in such a place, when the alternative
> > is so easy and reliable.
> 
> I would change the script if I could, but I can't: It's already been
> copied into thousands of users' home directories.  It's such a tiny
> wrapper (it just does "exec -a program /path/to/program") that it has
> never needed to be modified for any program before this.

Suit yourself, but I don't promise I will agree to accept the code
changes you want to make.  This makes less and less sense to me as we
continue talking about it.

Emacs built with native compilation has additional requirements, and
those requirements invalidate the (fragile) assumptions on which your
wrapper script is based.  So my suggestion is to adapt, like we adapt
to any changes to software we use that are outside of our control.
That's life.




This bug report was last modified 249 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.