From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#73318: 31.0.50; with-native-compilation=aot breaks exec -a emacs Date: Thu, 19 Sep 2024 18:45:29 +0300 Message-ID: <86o74j8x5y.fsf@gnu.org> References: <864j6eb29f.fsf@gnu.org> <861q1iayk6.fsf@gnu.org> <86wmja9iwi.fsf@gnu.org> <86plp19kei.fsf@gnu.org> <87bk0k2vbo.fsf@yahoo.com> <87zfo321xm.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35095"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, sbaugh@janestreet.com, larsi@gnus.org, acorallo@gnu.org, 73318@debbugs.gnu.org To: Ship Mints Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 19 17:47:09 2024 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 1srJN6-0008wQ-OY for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 19 Sep 2024 17:47:09 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1srJMk-0006U7-Uv; Thu, 19 Sep 2024 11:46:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1srJMj-0006TW-0R for bug-gnu-emacs@gnu.org; Thu, 19 Sep 2024 11:46:45 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1srJMi-0003rF-O1 for bug-gnu-emacs@gnu.org; Thu, 19 Sep 2024 11:46:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=EOCe+wtGmWek/ls1r6qvXdLSOXSqBboCAkkaOI286z8=; b=U36uNBNGrUUHfQqd75tkdvgXqkaRQLN1IdeQKnZYOozASjsatIOxHkcYqWemW1UP7hIkLsvgOvqN2EWNb19WXogUd3mU2WgX9Qq9qcZvFOg0JCoRE+r3Zs01z6yLst2/MHR5LEoZFtDLNq+N6hbZda4MqhzRid+vWK+fR8692t0fTP1SJ46Z4NCR0jaziP2V2zQ6lWQOw6gRMlFKqSInAb4H4pYzOjyE8k0ABW0XRytcL476x3Am5u2RnaUpBinzqdZqX6spKxkySaJZA1gLPCaIXQ4OMXjWze4HJ0f9hcpSSAMPow6Gxu6dlEm/9l9mB+ngilt2dlieFw8LABOXVQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1srJN0-0006rW-3F for bug-gnu-emacs@gnu.org; Thu, 19 Sep 2024 11:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Sep 2024 15:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73318 X-GNU-PR-Package: emacs Original-Received: via spool by 73318-submit@debbugs.gnu.org id=B73318.172676076526284 (code B ref 73318); Thu, 19 Sep 2024 15:47:02 +0000 Original-Received: (at 73318) by debbugs.gnu.org; 19 Sep 2024 15:46:05 +0000 Original-Received: from localhost ([127.0.0.1]:33284 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srJM4-0006ps-K9 for submit@debbugs.gnu.org; Thu, 19 Sep 2024 11:46:04 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srJLz-0006pI-HM for 73318@debbugs.gnu.org; Thu, 19 Sep 2024 11:46:02 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1srJLa-0003ow-CJ; Thu, 19 Sep 2024 11:45:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=EOCe+wtGmWek/ls1r6qvXdLSOXSqBboCAkkaOI286z8=; b=onvBtMvT7yOS CGmBXr4eA6zk8M7Boqiiw5ul8x0aF54yrBt9/EO482jsmBXkvbOmrIeHorTT2dlCh0K5oaR0ttfS0 F8nGWiM4+G4WdVfBsFgeLiKyaeDTRGeRWDXo2irAl1uR8j+tGV/8ADCezs/ODx2gfjUvVl+ahO6wE 8dD75NKmnwkgZ1V3ujAXGgSxSv2ZMQzxi8homNBEUsYlX3dQTUZta3+Wq1XmNcdwV5fdYKZgxb8bN NPuWVBTuXcEtG5Iv0GCdVbh1t3yivOxueTZqUBtNjZLpzO1VegGTclzK//MAwUn8QkF65T8p0r9KA T/gUEWKyuYxztBtwFsSmaw==; In-Reply-To: (message from Ship Mints on Thu, 19 Sep 2024 09:51:44 -0400) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:292060 Archived-At: > From: Ship Mints > Date: Thu, 19 Sep 2024 09:51:44 -0400 > Cc: Eli Zaretskii , Spencer Baugh , 73318@debbugs.gnu.org, > larsi@gnus.org, acorallo@gnu.org > > I see. It pays, then, to disambiguate between a Linux "system" (which is the typical Emacs case) and Linux > O/S-based, essentially embedded, environments. In the "system" case, /proc/self/exe should be the > recommended method, I'd think. In embedded cases, whatever is appropriate in those environments is what > should be used. Please re-read what I wrote about the use cases we have to support and the discussion to which I pointed. No single method can support all the situations which Emacs needs to support. So there's no "the recommended method": even if we add /proc/self/exe, it can only be one of the methods we use to find where the *.eln files are, and not necessarily the most important one.