From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: akrl--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#45934: native-comp - Dylib ID of ELN files not optimal Date: Sun, 24 Jan 2021 19:37:24 +0000 Message-ID: References: <34A641C2-F9E7-487F-8998-D0BC416402FB@yahoo.it> <14FA30A6-E8CC-4A7D-9F40-954515F814D9@yahoo.it> Reply-To: Andrea Corallo Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33665"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 45934@debbugs.gnu.org To: Davide Restivo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 24 20:38:12 2021 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 1l3lDA-0008gA-7q for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 24 Jan 2021 20:38:12 +0100 Original-Received: from localhost ([::1]:39728 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l3lD9-0007pL-6H for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 24 Jan 2021 14:38:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32948) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3lD2-0007oq-0M for bug-gnu-emacs@gnu.org; Sun, 24 Jan 2021 14:38:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54027) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l3lD0-0004f8-Cd for bug-gnu-emacs@gnu.org; Sun, 24 Jan 2021 14:38:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l3lD0-0002ut-Aa for bug-gnu-emacs@gnu.org; Sun, 24 Jan 2021 14:38:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Jan 2021 19:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45934 X-GNU-PR-Package: emacs Original-Received: via spool by 45934-submit@debbugs.gnu.org id=B45934.161151705211167 (code B ref 45934); Sun, 24 Jan 2021 19:38:02 +0000 Original-Received: (at 45934) by debbugs.gnu.org; 24 Jan 2021 19:37:32 +0000 Original-Received: from localhost ([127.0.0.1]:37339 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l3lCV-0002u3-To for submit@debbugs.gnu.org; Sun, 24 Jan 2021 14:37:32 -0500 Original-Received: from mx.sdf.org ([205.166.94.24]:63140) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l3lCU-0002tt-4S for 45934@debbugs.gnu.org; Sun, 24 Jan 2021 14:37:31 -0500 Original-Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 10OJbOvg003645 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Sun, 24 Jan 2021 19:37:25 GMT In-Reply-To: <14FA30A6-E8CC-4A7D-9F40-954515F814D9@yahoo.it> (Davide Restivo's message of "Sat, 23 Jan 2021 17:13:23 +0100") 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:198518 Archived-At: Davide Restivo writes: > Ciao Andrea, > > Please find below inline my answers. Sorry for the late reply :). > > Regards, > Davide > > >> yes my question was on what the dylib ID is and what's is purpose. > > A `dylib ID` a.k.a. `install_name` is the unique identifier that a library > provides to an executable that links against it. Once an executable > links against a library, the install_name values is stored in the linking > application and used at runtime to find the .dylib location. > > Very important is that there cannot be, as far as I understood, two .dylib > loaded at the same time with the same dylib ID. I guess this was the > reason for the strange behaviour (unmapped .eln) we discussed > some time ago [1]. > >> Okay, we should be able to work it around but as anticipated only using >> GCC >= 9, that is indeed not very satisfactory. > > Maybe you could conditionally enable the `install_name` support only if GCC >=9. > I will add a dependency in my Homebrew GNU/Emacs Formula to GCC-10, that > is anyway the Homebrew default. Ciao Davide, SGTM, I'll try to come-up with patch. Andrea