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: Thu, 23 Sep 2021 20:48:16 +0300 Message-ID: <834kabuqsf.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> <83tuih3uvr.fsf@gnu.org> <877dfcg5tu.fsf@Otto.invalid> <83pmt44vn1.fsf@gnu.org> <83mto84r9l.fsf@gnu.org> <83fsu04mai.fsf@gnu.org> <1a5e01a2-2247-2f68-82f6-2075577e02b6@cornell.edu> <837dfc4hi1.fsf@gnu.org> <4ae8067f-55b2-d243-66f3-f76493095a39@cornell.edu> <83o88jvity.fsf@gnu.org> <8e8e74ce-0deb-bcdc-d298-be2e9d4636d7@cornell.edu> <83bl4juu2c.fsf@gnu.org> <87h7ebrylf.fsf@Rainer.invalid> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33527"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 50666@debbugs.gnu.org To: Achim Gratz Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 23 19:49:14 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 1mTSqQ-0008VP-51 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 23 Sep 2021 19:49:14 +0200 Original-Received: from localhost ([::1]:52418 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mTSqO-0002rr-JE for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 23 Sep 2021 13:49:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50932) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mTSqE-0002ri-Bz for bug-gnu-emacs@gnu.org; Thu, 23 Sep 2021 13:49:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44245) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mTSqE-0004Dg-1h for bug-gnu-emacs@gnu.org; Thu, 23 Sep 2021 13:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mTSqD-0000Sd-Ub for bug-gnu-emacs@gnu.org; Thu, 23 Sep 2021 13:49:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 Sep 2021 17:49:01 +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.16324193131727 (code B ref 50666); Thu, 23 Sep 2021 17:49:01 +0000 Original-Received: (at 50666) by debbugs.gnu.org; 23 Sep 2021 17:48:33 +0000 Original-Received: from localhost ([127.0.0.1]:55791 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTSpk-0000Rm-MB for submit@debbugs.gnu.org; Thu, 23 Sep 2021 13:48:32 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33730) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTSpj-0000RW-6k for 50666@debbugs.gnu.org; Thu, 23 Sep 2021 13:48:31 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:53800) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mTSpa-0003fz-Ij; Thu, 23 Sep 2021 13:48:23 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3681 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 1mTSpa-0005Ba-1p; Thu, 23 Sep 2021 13:48:22 -0400 In-Reply-To: <87h7ebrylf.fsf@Rainer.invalid> (message from Achim Gratz on Thu, 23 Sep 2021 19:27:56 +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:215213 Archived-At: > From: Achim Gratz > Date: Thu, 23 Sep 2021 19:27:56 +0200 > > Eli Zaretskii writes: > > What do you mean by "system libraries" here? Does it, for example, > > include the DLLs distributed in the Cygwin port of libpng or libjpeg? > > Or does that include only the basic libraries: the Cygwin DLL, the C > > runtime, etc.? > > Any and all dynamic objects that have been properly installed by the > Cygwin setup application will have their base addresses adjusted so that > there will be no overlapping images. The rebase process tries to keep > this space reasonably compact, if you really need to have the most > compact address space you can trigger a full rebase. Out of curiosity, what do you do with the myriad DLLs that Windows itself provides? Aren't they part of the same problem with the Cygwin implementation of 'fork'? > > window-0d1b8b93-3370bedb.eln > > window-0d1b8b93-7d08b7b4.eln > > window-0d1b8b93-f8fc9683.eln > > > > This makes the job of maintaining the database by hand even harder and > > more error-prone. > > I have been wondering about that, especially since the user might have > the same home directory on different machines. That will be a major > headache since we'll either need to find out which object belongs to > which system (and have separate maps for each) or somehow ensure that > the user rebase map is compatible with all systems the user works on. > Skipping that part for now, all such objects must be the same > architecture (i686-pc-cygwin / x86_64-pc-cygwin) and there should be > some sort of architecture specific branches in the cache directory, > which I seem to remember was already the case. No, there are no architecture-specific branches. I guess the idea is that the 2 hashes in the file name and the 3rd has in the directory name (which depends on the Emacs binary) will take care of that.