emacs-devel
[Top][All Lists]
Advanced

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

Re: changed dlopen flags in dynlib.c, gccemacs crash


From: Andrea Corallo
Subject: Re: changed dlopen flags in dynlib.c, gccemacs crash
Date: Sat, 11 Dec 2021 20:53:23 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Andrea Corallo <akrl@sdf.org>
>> Cc: hx <silent2600@gmail.com>, emacs-devel@gnu.org
>> Date: Sat, 11 Dec 2021 18:09:56 +0000
>> 
>> > So at this point, I think this bug report should be treated as
>> > "wishlist", i.e. a feature request: to support RTLD_GLOBAL in dynlib
>> > with native-comp.  Andrea, is that feasible, and if so, what would it
>> > entail?
>> 
>> Hi Eli,
>> 
>> yes, I think once we have verified the issue is what we suspect we could
>> dlopen eln files as before and have RTLD_GLOBAL added for the other
>> cases.
>> 
>> I'll have a look into next week and report on the feature request.
>
> Thanks.  One (unchecked) idea is to use 2 different versions of
> dynlib_open: one for loading *.eln files, the other for every other
> kind of dynamic loading.

Agree, 2 different versions of dynlib_open was my idea as well.  I'll
just investigate a bit to confirm the reason of the issue.

  Andrea



reply via email to

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