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#74805: 30.0.92; Trying to build scratch/igc on Cygwin Date: Sat, 21 Dec 2024 09:24:22 +0200 Message-ID: <86v7vd8pnd.fsf@gnu.org> References: <0e6c2f69-9c33-48d7-87ab-2b13de857f71@cornell.edu> <86pllx1lh8.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38406"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74805@debbugs.gnu.org, rb@ravenbrook.com To: Ken Brown Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 21 08:25:12 2024 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 1tOtrL-0009pz-PK for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 Dec 2024 08:25:11 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tOtrE-0000jU-TV; Sat, 21 Dec 2024 02:25:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tOtrD-0000i7-2A for bug-gnu-emacs@gnu.org; Sat, 21 Dec 2024 02:25:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tOtrC-00049B-NC for bug-gnu-emacs@gnu.org; Sat, 21 Dec 2024 02:25:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=hr7d3nqia1yklFBobeV9Q+IpI3e3yofQ3+48Oorwy7Y=; b=FpdX68wG8ZxvD6FL31kcIfAPRyexM/oxPSoZuVOPJqzLDuEoaH6BjmFANH48fYTs1xcFT13HoPhJHgiy/vO45MWqj2HeGoMA2jbNthOxmRCw8me3xH8r0Kx3TT5+tnViubbWmT8uBPpKLwR77tO3FbIsceqc6je7R+77/PJiM7qy2y05/k1K9rivtemGRtErbZ5wEWLwkeqBSFbWviNe+23oea7LHr9UUVFvRy5ncTUhiEdoJbqfU8R2y1OgsDtkav1mmIRJ9GNZzZd9aySEvPeZRE915tjbUi+WDYSdFAvXMkadUq+hRk5HnOwS4IJI0Ip7ggfbQbGPPHIt/gJy4w==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tOtrC-0001Fq-HL for bug-gnu-emacs@gnu.org; Sat, 21 Dec 2024 02:25:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Dec 2024 07:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74805 X-GNU-PR-Package: emacs Original-Received: via spool by 74805-submit@debbugs.gnu.org id=B74805.17347658714741 (code B ref 74805); Sat, 21 Dec 2024 07:25:02 +0000 Original-Received: (at 74805) by debbugs.gnu.org; 21 Dec 2024 07:24:31 +0000 Original-Received: from localhost ([127.0.0.1]:45057 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOtqh-0001EP-Bd for submit@debbugs.gnu.org; Sat, 21 Dec 2024 02:24:31 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58172) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOtqf-0001E8-Su for 74805@debbugs.gnu.org; Sat, 21 Dec 2024 02:24:30 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tOtqZ-00043U-M8; Sat, 21 Dec 2024 02:24:23 -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=hr7d3nqia1yklFBobeV9Q+IpI3e3yofQ3+48Oorwy7Y=; b=UQ/y3xWj+osQ vruyfP8l8iQG21idTHJZNZjTS89Xq9gUaSrCkMEDfwG/QBFkTvd/43dw+6CeMCBO7yM8Ea2MFtUs1 EyrZfieT6YoWlPkqbDLGqMBbPY0awvxtzSXQJ9AvSxFH3UXGe7Ko9znJm/wJd378DDUlsntdWNrDi Dg4+8REh22T1GAG3ORZP5PgXhhJHglgGjM4w5QbWd2I5WWKeCRjl12/doTY9SO3SOGylO7N567FMp CEBkpOl0HbVpM/CEegfDolTD16dEzCvS/U1eYdUvx1cKy5SjQMjD1DxDoTHFEqUrU3KKEHpd+9prj n1EwFJ4KBRhuX335JxUGWA==; In-Reply-To: (message from Ken Brown on Fri, 20 Dec 2024 18:48:37 -0500) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:297492 Archived-At: > Date: Fri, 20 Dec 2024 18:48:37 -0500 > Cc: 74805@debbugs.gnu.org, Richard Brooksby > From: Ken Brown > > This is an update on my attempts to port the MPS to Cygwin and build the > scratch/igc branch. The GitHub repo that I cited above now consists of > 4 branches: > > 1. The "master" branch is an MPS fork with README.Cygwin added. This > file explains in detail what I'm summarizing here. > > 2. The "w3" branch attempts to use the Windows interface on Cygwin. For > example, it uses direct calls to VirtualAlloc instead of Cygwin's mmap. > This attempt fails because it's not compatible with Cygwin's fork. > > 3. The "mmap" branch is a straightforward port, mostly imitating the > FreeBSD port. It currently (with Cygwin 3.5.5) fails because of a > limitation of Cygwin's mmap. But I have a simple patch to Cygwin in the > works that removes that limitation. With that patch, 37 of the 38 MPS > tests pass. I still need to debug the failing test. I'm cautiously > optimistic that I can get this approach to work. Either way, I expect > the Cygwin patch to soon be available in a test release of Cygwin 3.6.0 > so that other Cygwin users can try it. > > 4. The "generic" branch uses generic implementations of some of the MPS > features. For example, it uses malloc instead of mmap. This passes all > of the MPS tests, and Emacs seems to work well so far in limited > testing. I suspect that there may be some performance problems, but I > haven't seen them yet. > > Once I've determined whether or not the mmap approach will work, I'll > post the MPS patches here either for the mmap branch or the generic branch. Thanks for the update, I think this is very good news.