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#50666: 28.0.50; Fix native compilation on Cygwin Date: Sun, 19 Sep 2021 10:08:24 +0300 Message-ID: <83tuih3uvr.fsf@gnu.org> References: <9f20194e-b1ba-9417-4f18-caa1d80b5568@cornell.edu> <01a89ba6-2786-df04-0181-069b50a70331@cornell.edu> <835yux5dn1.fsf@gnu.org> <87bl4pf3s1.fsf@Otto.invalid> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28488"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 50666@debbugs.gnu.org To: ASSI Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 19 09:09:21 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 1mRqwz-0007Io-65 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Sep 2021 09:09:21 +0200 Original-Received: from localhost ([::1]:40506 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRqwx-00034G-LN for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Sep 2021 03:09:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39696) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRqwh-00032n-8p for bug-gnu-emacs@gnu.org; Sun, 19 Sep 2021 03:09:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54085) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mRqwh-0001LB-0b for bug-gnu-emacs@gnu.org; Sun, 19 Sep 2021 03:09:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mRqwg-0003mw-De for bug-gnu-emacs@gnu.org; Sun, 19 Sep 2021 03:09: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: Sun, 19 Sep 2021 07:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50666 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 50666-submit@debbugs.gnu.org id=B50666.163203532514537 (code B ref 50666); Sun, 19 Sep 2021 07:09:02 +0000 Original-Received: (at 50666) by debbugs.gnu.org; 19 Sep 2021 07:08:45 +0000 Original-Received: from localhost ([127.0.0.1]:37398 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRqwP-0003mP-Hw for submit@debbugs.gnu.org; Sun, 19 Sep 2021 03:08:45 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:50836) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRqwN-0003m8-RN for 50666@debbugs.gnu.org; Sun, 19 Sep 2021 03:08:44 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47864) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRqwH-00012I-Uq; Sun, 19 Sep 2021 03:08:37 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4892 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 1mRqwH-0008HX-B1; Sun, 19 Sep 2021 03:08:37 -0400 In-Reply-To: <87bl4pf3s1.fsf@Otto.invalid> (message from ASSI on Sun, 19 Sep 2021 09:00:46 +0200) 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:214688 Archived-At: > From: ASSI > Cc: Ken Brown , 50666@debbugs.gnu.org > Date: Sun, 19 Sep 2021 09:00:46 +0200 > > Eli Zaretskii writes: > > Isn't there a way to rebase a DLL on the fly, when it is loaded? > > There is (of course), but then there is no guarantee that you can do a > fork from the resulting memory image. Which is exactly the problem that > fixing the base addresses of all DLL was intended to solve and has the > unfortunate side effect that you need to modify the on-disk > representation. On 64bit, marking the eln as ASLR w/ high-entropy and > large address aware will probably work most of the time, but 32bit is > much more prone to collisions (in fact I did use a shell inside an X11 > Emacs as my test case when I last unsuccessfully tried to make ASLR work > for Cygwin). So this basically means that native-compilation is unworkable for 32-bit Cygwin, right?