From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ken Brown Newsgroups: gmane.emacs.bugs Subject: bug#74805: 30.0.92; Trying to build scratch/igc on Cygwin Date: Mon, 23 Dec 2024 18:32:35 -0500 Message-ID: References: <0e6c2f69-9c33-48d7-87ab-2b13de857f71@cornell.edu> <86pllx1lh8.fsf@gnu.org> <86v7vd8pnd.fsf@gnu.org> <805cdbf6-e8e3-475c-a94e-4d25d3f0f608@ravenbrook.com> <82cc7e0e-912f-4f0d-bb52-596a77dc5ddb@ravenbrook.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14885"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: Gerd =?UTF-8?Q?M=C3=B6llmann?= , 74805@debbugs.gnu.org, Pip Cet To: Richard Brooksby , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 24 00:33:26 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 1tPrvR-0003i2-Jt for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 24 Dec 2024 00:33:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tPrv8-0001MI-2W; Mon, 23 Dec 2024 18:33:06 -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 1tPrv5-0001M3-UY for bug-gnu-emacs@gnu.org; Mon, 23 Dec 2024 18:33:04 -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 1tPrv5-00077t-La for bug-gnu-emacs@gnu.org; Mon, 23 Dec 2024 18:33:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:In-Reply-To:From:References:Date:To:Subject; bh=C7W+BhyUzHAz/PXAYfpbt9wySP/VWoPzkDjtcQuuNHs=; b=unefZ8MCD99YHBmZjPe8H2ploZwFHfb1PmFHkFAMH6jz9DmgtOdMKH642cEypo4ikrD6pMKC7lukMIB2LQ0t79MY2GL4jPHdq5AtWRaR+Fnj97/hv0okiRapCPEjYdrCpxncmOA3FozuK7xPwg7sMRltv3LZOtk47aZ5kvGLv8x4vu7lJD5AAnG9zCOHlHX9VToQcoDKrSP1rs2nxrb3I760jRWJgeeTztItnnYQ/mt9AG3xFgqUwhiydE3ySUtOqeYPfFBTYwUa9DcOQSyZ+LeE6tZsM/W45chCP5J1qRVyBNYB7G2ruiZne82xWBvtseqD7qH/NHK4k7XhwEdZwA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tPrv4-0001xW-Hz for bug-gnu-emacs@gnu.org; Mon, 23 Dec 2024 18:33:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ken Brown Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Dec 2024 23:33: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.17349967737508 (code B ref 74805); Mon, 23 Dec 2024 23:33:02 +0000 Original-Received: (at 74805) by debbugs.gnu.org; 23 Dec 2024 23:32:53 +0000 Original-Received: from localhost ([127.0.0.1]:58450 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPruu-0001x2-LV for submit@debbugs.gnu.org; Mon, 23 Dec 2024 18:32:53 -0500 Original-Received: from mail-westusazon11023085.outbound.protection.outlook.com ([52.101.44.85]:55964 helo=SJ2PR03CU002.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPrur-0001wj-Vx for 74805@debbugs.gnu.org; Mon, 23 Dec 2024 18:32:51 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Kl67I9gG4KjUJ719Hh+XzfTArnLSw9SOssUiuiltxtIUCYLX5iACnNBoQXYjaeMIwoJn30oJRqR/nRWRIVsbvFEJqzlc3HQfAP9peZULAKjVkpkt5IiZkEAkIZxQZ/Rhmg2v6peImYjkYn4CKUVA535aC0564jDlc68brvjDgUIaHzVAunrQii3Z32xlWCju0pzBJc1yXds4aM6f6M547CTeTuhzj3C/ut/mU8Av0Ps3TON2kLTI6+NGlPD1wpfErZgSvk1ByDsiWViwUXOZJUcx+GML+yc42BF4ICyIGfoTCRf/O5VYWcyQmabUQK1MZA7etxe59/FJlYTqGSjzwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=C7W+BhyUzHAz/PXAYfpbt9wySP/VWoPzkDjtcQuuNHs=; b=V6t89XB+cT3hx4ClxSycHROacrGjHQOUieLlXHxZ6XhhBhp8TQCJ27w8oFQYWVjL/PX3Y9PwgJhFMFYhw6BhC3tgMHkNG+M628+DKkGqAovb0UiQyGNeFzXKI9x1k0p9TPEOwA7Bbvfct7zjd5TwiLfM907+lAOGo/NQzfhzIiR65SFUigIBrn7dVlZ4N/KV4m0xofVAxVSAllas3bfdi6I1szs8B+WQN96/6lWk1ZP5X1ftjObnE2aBceQsiy7k3sq6DCDy06W6159d7zjlXJL8JQpWUIo5hLbCpqg/hPbv/d9ILkelDiaLGM4GJ4EAvQH0XMYXsjMKLWKQIYjbhg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cornell.edu; dmarc=pass action=none header.from=cornell.edu; dkim=pass header.d=cornell.edu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cornell.edu; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=C7W+BhyUzHAz/PXAYfpbt9wySP/VWoPzkDjtcQuuNHs=; b=NhXdxSpEwqXzRjm4SegzXOaoYgAYgbamQhC4sPHWNvQj8H0SUUIguPWiv7Bhh40F6zulkDNOzFj538OcvrLcA5d0rwdlNCuha6xWOIiDf2dgauCS3ULyaTHVQpy9lgFHNPu6GbRxZlb0ENkst0lUtQ6LNZfY87OlFIFkFMeWwvc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=cornell.edu; Original-Received: from SN6PR04MB5151.namprd04.prod.outlook.com (2603:10b6:805:90::25) by MN2PR04MB6653.namprd04.prod.outlook.com (2603:10b6:208:1f0::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8272.21; Mon, 23 Dec 2024 23:32:38 +0000 Original-Received: from SN6PR04MB5151.namprd04.prod.outlook.com ([fe80::5ff0:555f:8712:42dd]) by SN6PR04MB5151.namprd04.prod.outlook.com ([fe80::5ff0:555f:8712:42dd%6]) with mapi id 15.20.8272.013; Mon, 23 Dec 2024 23:32:37 +0000 Content-Language: en-US In-Reply-To: <82cc7e0e-912f-4f0d-bb52-596a77dc5ddb@ravenbrook.com> X-ClientProxiedBy: MN0P220CA0007.NAMP220.PROD.OUTLOOK.COM (2603:10b6:208:52e::25) To SN6PR04MB5151.namprd04.prod.outlook.com (2603:10b6:805:90::25) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN6PR04MB5151:EE_|MN2PR04MB6653:EE_ X-MS-Office365-Filtering-Correlation-Id: ad919548-d508-485b-7cfb-08dd23aa1605 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|376014|7053199007; X-Microsoft-Antispam-Message-Info: vm5cPHGhRaCungd3qOT328+XHHqZ36FHEDts92GDPr16PepgGlKiiBREiuNJlVANKuhRHw01S8kWwgD5QdP1M/B89Gr0A/4uPD79Kv9qdqtHDCbe4fimRDp1XigJtpE6lyYygjT+0AFtaqFcjAFabDdmqsS9Z5Xdj9SnbbtwWVtPAFm4rzTsQgEWiEcxHbV57dWKHDw+N6rzOtjkM74hN1C8r9cEbMs/qk+7C5IzUUwkoWTQD6jK5kUF3+0Q83DRHblgkrjXQTHM3YpNsWAESi7di8bWmj+bdqb5RmahFEocSHFQRMunh+srTTdbnJZcmcJM0dcxOY77S8I03umhypAvYtFAkT7rzU4wM0MVW5gEiA79Lc4pSOiBUAy3AhDmsvouffsSEdGPbJnFtiK5NNO3GlF6BGGM4XdiYdUqCZMw2q1LTu7YN3OyfuJuVK4mguNESrBZOk6jUKEm7UgU/t/2Qp4FzaNaWHRNAoat3ksIO4niM/2IGc77HMR5nkJYkdALus2yVu0lhVZk2RgONRkksezRG8gP/r8gMUMRitCI3nb5Ts0rtn3XVxGoQdn5PryA+o7zpdXM3/VujJ4f7io0Z2vYocOPYXnyGkfYWhJfHfGuWplv0XQwYRW12qRTN1qYjSSyOzVBfeWqVzZglGzRWZzi9XO3cFJkVgXL+HYeQfpDUYzlhNUmIgFBbWwodHF/NBcOAqLAXMAkgKJAtvNRX4zqUuzkdsBSck4q+Ih0PnoP3e+u/yvkbINfm IM8Gi9HxZLQ2Onwxwa0VAN+HWv+/9gg9CZb4X//uDlvQWVx+VfZxAnRYvCkJl8NxxAnILOyyzZNMPWLglPZ1JnYlPNExtXFJzu X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR04MB5151.namprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(1800799024)(376014)(7053199007); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 44W4jpFyY/25v6NMYLcamx5sgN9pKiJ1jZqCdg0S0qYRuNOR9LCBFo+l7IM3ZrZTUWUWfW6B3bDy8PCL+K/uF6a9hnJk5np7ker5ARYvViD6dzx1+TixBOm0YA9t5tjcor6KnAoWBJ9C5fSffB5iY/S/u+Qc/5AWWpWLpacHIkQgrUIlIm18NP0LDaLSwKRKcrkj+hdRLu78Dt5KUmhMUce5Sjzkh+1q99yA0XwB9o2QNpWy3nQJ5JOzbMYJMx2zezMEcEk35dyCSg/dYPLzJprr0zmpiUNknORDoj5bnH4LNB8B7t3KD86Ss1t9L4eZL6E6wG2UXd4b/Rd46PJzEFP6vYA5idQWGuJn64oBVrdmiqQCtW+8GhtPlNmkj6KvQHsOyFylCho5WSGKw1Yrd+tn5Rmkou/7s0y12PapDkl82NZv136chRJGGMGmX/k33+LC+R/5cGbXTZJRHkJJWjZ6MmSqlZ9cejGJ7TKdUfx6WQxqdLk+dFh6DOhkbVjY6Fcny+cuiP67aQ7xyoFIKtGDBIjbeD2OKfeNeRM8bj4L606tPncRxBhJVMDLp36i5YYexRVvEJSej3BnoRuwpQ1EMGZeBbfasBpfWPS8TGkfnr3HUHIOWgzxbmQ/+fcyR9vXuba6VRV1M6dBhcYzcEWwHhjRXbrMniU0O6BBkcaCZVA6CO0ZIb4JJV0b781JHbl+wztC+KLU92ohUBkXy8edginhe2Fd2HgheQXpIICZDCOLbpAlI1x1OB J/I07TK3aSBT3bGkvVUAhZBmyIgmZGHSzcQTJ2UrEre9T0cSNu25bIm0pOz+p7iQiUg5PqNi1TjIvvExbSqS83GBQS+UizAcaI X-OriginatorOrg: cornell.edu X-MS-Exchange-CrossTenant-Network-Message-Id: ad919548-d508-485b-7cfb-08dd23aa1605 X-MS-Exchange-CrossTenant-AuthSource: SN6PR04MB5151.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Dec 2024 23:32:37.9018 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 5d7e4366-1b9b-45cf-8e79-b14b27df46e1 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: QdjFVJ4Dkw4SZ27gL21d6mfCTRlI2vafYukt4nTrenXmc5k1K0xK5TQ0YZv8MAcMM2flQMiA731gMkdPIyKzWQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR04MB6653 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:297666 Archived-At: On 12/22/2024 3:32 AM, Richard Brooksby wrote: > On 2024-12-22 08:24, Richard Brooksby wrote: >> On 2024-12-21 16:56, Ken Brown wrote: >>> On 12/21/2024 2:24 AM, Eli Zaretskii wrote: >>>>> Date: Fri, 20 Dec 2024 18:48:37 -0500 >>>>> Cc: 74805@debbugs.gnu.org, Richard Brooksby >>>>> From: Ken Brown >>>>> 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. >>>> >>>> Thanks for the update, I think this is very good news. >>> >>> I could use some help from the MPS experts in debugging the failing >>> test, which is arenacv.  I ran the test under strace and didn't see >>> any mmap or munmap failures.  I'm attaching the test log, which >>> doesn't mean a thing to me.  I also built an unoptimized arenacv and >>> can run it under gdb if someone tells me what to look for. >> >> Hello.  I can't offer much direct help just now, but here's where I'd >> start. > ... > > It's very unlikely that you're actually running out of address space > on a 64-bit system. > > I should add that arenacv is a coverage test that is *trying* to provoke > the ResRESOURCE error paths in some circumstances https://github.com/ > Ravenbrook/mps/blob/9fd0577cf1231e61c9801c81499e5d16d0743806/code/ > arenacv.c#L461 but note that this isn't where the test is failing. > However, it may be relevant, perhaps if your munmap doesn't successfully > free address space. Thanks! You've given me some good hints. Ken