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.devel Subject: Re: changed dlopen flags in dynlib.c, gccemacs crash Date: Wed, 15 Dec 2021 18:59:31 +0200 Message-ID: <83ilvpiz2k.fsf@gnu.org> References: <83tufjw848.fsf@gnu.org> <83lf0uuqaq.fsf@gnu.org> <83o85nr1mm.fsf@gnu.org> <83tuffov9n.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14143"; mail-complaints-to="usenet@ciao.gmane.io" Cc: silent2600@gmail.com, emacs-devel@gnu.org To: Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Dec 15 18:24:20 2021 Return-path: Envelope-to: ged-emacs-devel@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 1mxY0q-0003PK-8a for ged-emacs-devel@m.gmane-mx.org; Wed, 15 Dec 2021 18:24:20 +0100 Original-Received: from localhost ([::1]:45936 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxY0o-00016S-Pa for ged-emacs-devel@m.gmane-mx.org; Wed, 15 Dec 2021 12:24:18 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37424) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxXdD-0006qt-9u for emacs-devel@gnu.org; Wed, 15 Dec 2021 11:59:57 -0500 Original-Received: from [2001:470:142:3::e] (port=57372 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxXd9-0003db-Bh; Wed, 15 Dec 2021 11:59:53 -0500 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=1GNx945sjCGS03/CgUK86yGkVsddERMPBG/7ssx/NaQ=; b=N+1yiUYpNMPr +5fr0Rnjlu4dI/+MBUaPDTDnyPABQ5/+jSzee+QoO3tPMKbHRdOyqg9JR8IKu5ApgmjSVhgVG3u/2 meZwgVoihN2GaZEBvPWJ9oFICsgDtaYa9CFLD6kz3nj12ryYeMup48UnHa8IVqvwQbCQrbvZ3vEaN MBQioqbxeXkCzqnokqWTUVJlg/VQvWqPat8ocpiY+WW88qH49KZP21C1uFFGWIffjJfLlfvJXcUr5 v20htd53bFH5pAi6Phv3xhoKTnxgY3vmhsscBwPtiN19aX1SBEtdzcC1JokuMUncVoondLWd6JYL1 O6+LmhxcOzrLqR4ZFtWHRg==; Original-Received: from [87.69.77.57] (port=3142 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxXd9-0000Hc-5z; Wed, 15 Dec 2021 11:59:51 -0500 In-Reply-To: (message from Andrea Corallo on Wed, 15 Dec 2021 15:26:20 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:282073 Archived-At: > From: Andrea Corallo > Cc: silent2600@gmail.com, emacs-devel@gnu.org > Date: Wed, 15 Dec 2021 15:26:20 +0000 > > I've implemented the mentioned idea of having two different > 'dynlib_open' and pushed that as e6b93245fe. Contextually I've added > the RTLD_GLOBAL flag to 'dlopen'. Thanks. > Note the Windows version of the new 'dynlib_open' is just a wrapper to > the old one as I don't know if something has to be done there or not > (nor I know how to test it). The equivalent RTLD_GLOBAL flag cannot be easily supported on MS-Windows. So we currently don't, as it isn't required yet.