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: Sat, 21 Dec 2024 15:25:45 -0500 Message-ID: <32c1e265-6991-45cf-b761-00d8130fa3b8@cornell.edu> References: <0e6c2f69-9c33-48d7-87ab-2b13de857f71@cornell.edu> <86pllx1lh8.fsf@gnu.org> <86v7vd8pnd.fsf@gnu.org> <87zfkpgcub.fsf@protonmail.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="6562"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: 74805@debbugs.gnu.org, Eli Zaretskii , rb@ravenbrook.com To: Pip Cet , Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 21 21:27:35 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 1tP64V-0001Sm-69 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 Dec 2024 21:27:35 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tP64B-00054I-4o; Sat, 21 Dec 2024 15:27:18 -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 1tP63z-0004ur-5S for bug-gnu-emacs@gnu.org; Sat, 21 Dec 2024 15:27: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 1tP63y-0001x1-Jv for bug-gnu-emacs@gnu.org; Sat, 21 Dec 2024 15:27:02 -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=p9PjZHa9lUBmY++JhQp34+N/WB8c/WY7RATuayiwlws=; b=hW/5WVIML/mndZi2UUz4hoXBFFsB8XY98xzRy/A/sie6X4jUGu3Q3O5+QHrzPNr06yz7kVZhL+v64IOf8QhXkotYuYiirw0LQLJndko+lN5yhvY6IdJbPIw4g6U4+zhJGEnq5ZDz+a5y3H3znBI44t0+gbnLNnaachNJ/yMlfRH46rFLK5QbRakPDDlWUk+ffypyCk3LteeKAVNA2+zBzwxXmX4Z3nODSP0qqxaRWycBfyqDU68jn4Anr7Z2zWtz7ixV+icyj31ruYU6ZbI9MrK5MPJnRcup3xDoMAoMgOnzlQ3+5/2LM/vr7aEmWFV/GXL70tedvcxMRKH51ALkrQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tP63y-0006hy-Fy for bug-gnu-emacs@gnu.org; Sat, 21 Dec 2024 15:27: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: Sat, 21 Dec 2024 20:27: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.173481276725705 (code B ref 74805); Sat, 21 Dec 2024 20:27:02 +0000 Original-Received: (at 74805) by debbugs.gnu.org; 21 Dec 2024 20:26:07 +0000 Original-Received: from localhost ([127.0.0.1]:48069 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tP635-0006gX-C2 for submit@debbugs.gnu.org; Sat, 21 Dec 2024 15:26:07 -0500 Original-Received: from mail-westcentralusazon11021086.outbound.protection.outlook.com ([40.93.199.86]:52739 helo=CY4PR02CU008.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tP62x-0006ft-Us for 74805@debbugs.gnu.org; Sat, 21 Dec 2024 15:26:00 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Fi4usRaYxIYbxKQRKGw8+5urloXJYJ3Rn0q/ERcCNKKjSZckwmnLwEA7qr/qY0ksE0DOxZXKuNC5ApfTyAxJDswqKQBZ1rb+4XyUhaCmk1BNzLTQ5M2q0n9pwBeouZmSjRNgateCq+ZUxfVCoi7ys36KlyhBgiacNAYrkJf6+mG/udpaTJSsc8IHgzNh4HCY9fL4HaGPOOIKwEKaNmrJCL9hWzA+m+spGDVxr5C2+VJgWN69UE7q/WK4LglQyK2/5BFolXFwNq8RWzmqUHPkVfY7vCe2rSfJZLpxs9FdGKHcuVFpaxhKRR1m4AnInNSskzqEH/J2IppgQqme9YR87w== 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=p9PjZHa9lUBmY++JhQp34+N/WB8c/WY7RATuayiwlws=; b=QlbGzOchricEnYLt7ObV7wG69K03oRnpnqJAeRPTD5rCMz4GnMRz81PvHfGf8S//vADLbaNJtu2dBfwBB0UT4P1pT3UqMfpvg3gunfuem14TewGBg1JAW/zHCKISZH5/N89nWbPWAnO4Hvmjasj+mapgWBmd42ez1aCvu4ISYOqeSJoKyYZvsrod2+kncz0NFz99mOrQ/geRrR4QbxkcQB7Y6813D0CaQzII6ypmm6bpAXI1N6sFYEwaGUc3oTD0hukcrRXVHO5kowX4YmAs9a+KZVSDXEa+zvLmUW+LPjPm/oJ6Bw8KsLvwpfSLQOE+is8IS6syAX2mCLv7kUNf2Q== 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=p9PjZHa9lUBmY++JhQp34+N/WB8c/WY7RATuayiwlws=; b=aFfmpOl4EzzqHYuyb2vjF4EPXD1g+CH9WgESATZljFDyuRCf6tyO4fx2wPcT4HoYWWZMCHeZGNiIzMO/clBSFSvfIBhD/7u/IGX5HCG3RAKjU7BAhs0NkEnUI3Iu8uLXeP4m8d1c8rzChOyF/4h13kWN/QPzeOl7KPcRziuB/SQ= 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 SA0PR04MB7194.namprd04.prod.outlook.com (2603:10b6:806:e2::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8272.17; Sat, 21 Dec 2024 20:25:49 +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.005; Sat, 21 Dec 2024 20:25:48 +0000 Content-Language: en-US In-Reply-To: <87zfkpgcub.fsf@protonmail.com> X-ClientProxiedBy: BN8PR04CA0046.namprd04.prod.outlook.com (2603:10b6:408:d4::20) To SN6PR04MB5151.namprd04.prod.outlook.com (2603:10b6:805:90::25) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN6PR04MB5151:EE_|SA0PR04MB7194:EE_ X-MS-Office365-Filtering-Correlation-Id: ea125455-4395-4af0-fe1e-08dd21fda7f0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|1800799024|366016; X-Microsoft-Antispam-Message-Info: rRvZ8JxrsQuRksOWhsJzjxuimGykGRp1eXIAOMFdZk+D6w6/55CVqwu0BCfPqXUp6ZAzEjyOmrorrsOERqvFbeynHh/i3Shbok7hhfN9vX81PKtZt7HqcPP/omGG5kiQNlaHNu8Fmk7AEHv6j4BvgHa5wPF4LDxdrXPRrq6QCC46edWkx2G3XCHXb9BEYTFR3aQe4aEdK32Jtgq+gzzo81S1nznxgZ+KpK6QvHFrWEC6nCfYUMynoqm4+D9uoa9YqbnLidUzK3qTwSWyiRD83tJAOioguW9R595V6YcHmIjSbYBU/oL1v+7v1A/sUXhdTrRsbBBk4mZly/4ZQhkXTZblnVzwMH1JhIYJmQ3xi5LZ5yVd5JFRc3byLwJTIm7ly96kVXLA9XQZ9PpwHrfciEDrWQcuGR2OaiAC18SIpIVvfJ6daf4QSKMIzLgoKsnvzHXWEQONZn2b/qeyWpt8P3u4rAZg1lnP/dGWwSbop5zlsDbXgD7nk/wBQnCyBFfW/RM+qVe8A/Aknoqn0/cQYAyC/t5f0dXau65J8Z6ZmlqIYoMtEnma1HqjuEu/Ons4x6kDT4jE0zp8iZpRqn8h1gMnyDIv/ddPDAO2FRxwG4d7YJibskBvbMPv4GyGKJB7fabaLL+2abHCar2D8++/z9ktIZYXB3pF1wBAZuCoirunDzpz6xk45g8X+J9R9Gb69U42gQgcaMEscWYetulpjunqZsTHVOaKB+Zu9efFyV9bQhptzG1IrIiPtR6c6 RpvBWqlAz9doyqSi/QbWOXfKO6B0R5xufgvoCxnWA2YS4w2znHrauMY8blQhV0u14JRs6bwTum5/8aaZZMeWss+DmDPamO/IpI 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)(376014)(1800799024)(366016); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 93eeAgDCGK+coVixy7MrjXHQ0mEvEWML6u+p8isLXyDqHvtcGkKIGOzUDZkVYkGNmqUFN2XY9COCK+ZnW+X8RIkxTOqUYIXWZ9jFuziiv7I9SQjVEC1wzdUGOYqO3w40QxcGNSCTRQPDgQR2ozCZhTdvbstzKGPI/47iFALWaWuNM3ufYyHZqc64O5Cxe+q/kfTQ245MNXH/3Ds4yxXGcMSjOaA+93gXeWN3M9bm3O2NLvQiQl/pwXn/6gzEMtQeUkIDY2nktvk0vHLwk9kCFmpHfsibjPF8pHoeNiZRdjJOvhW45dXcGhetAKsYmlSmA6svfeBVvm/psrU3njR/xoe5Zz0g2QP7WHRWtVeUmLhHrz4k4Ueml3/q69Ko/qbrxPlR3EZzs5zP2M4QXlsINqVxkUacBuDiL3GLz9xEzJD8IeO61mtsgpKxJ6wI0pFl9QZi3Ed7Xd/62nHIaSaKo3r5x7xmi+OwNHLCbcQnMUt3Tk/o8XQU054usOYxpsuJho/fRGWwCe9k9XGlDQptnOdq7YFKQ44f+ih5Wdcf3OestuA96fKLVIwpcahfsb8VISjNjYvf607Hoe/xmT5Yc19xOdJ6y/YrLjMuz3klDWpZeT18/l+0ZuRgN3MezUq74WQ8HpWeeb+cLmUnbKa3pPy1LWW6/UR6Z8UHOoadkIAssKsJv+lwbtszyeILwGV5jpbUJZ6ni9bDor3WfvWZxOs/0vOEFpmOvyJ2NdkmfvCKWSbXnZCI/XOcp0 FUFTOJrE9F3oHn5D53S7gyKg0UhBWOm1vWRjNCOb5oJgMchdWQT8I/VcKI9zOpB5rjCh7qOo3Mh7bLogMsEGs59xEtO51A1NSy X-OriginatorOrg: cornell.edu X-MS-Exchange-CrossTenant-Network-Message-Id: ea125455-4395-4af0-fe1e-08dd21fda7f0 X-MS-Exchange-CrossTenant-AuthSource: SN6PR04MB5151.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Dec 2024 20:25:48.6598 (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: Ru6R7XAhOQXSTqQY5wZhn74vIPuIS3zrU7Jo3mj7WKA6QwQYCQgQO+N62fPYC4VrIQxCZ/GzadnZs/uKzKyBeQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR04MB7194 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:297551 Archived-At: On 12/21/2024 12:34 PM, Pip Cet wrote: > Gerd Möllmann writes: > >> Ken Brown writes: >> >>> 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 > > What about mprotect, or whatever the equivalent is? I can't find any calls to mprotect when this test is run. >>> 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. >>> >>> TIA. >>> >>> Ken >> >> Hi Ken. >> >> I'm not an MPS internals expert, but AFAICT, this likely comes from here >> in arenacv.c, but without being able to debug this, I find it hard to >> tell what's going on in the allocator->alloc. >> >> static void testAllocAndIterate(Arena arena, Pool pool, >> Size pageSize, Count numPerPage, >> AllocatorClass allocator) > > Can you check pageSize is correct? pageSize is 65536, which is the Windows allocation granularity. It should be OK. Ken