bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#45934: native-comp - Dylib ID of ELN files not optimal


From: Andrea Corallo
Subject: bug#45934: native-comp - Dylib ID of ELN files not optimal
Date: Sun, 24 Jan 2021 19:37:24 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Davide Restivo <davide.restivo@yahoo.it> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]