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#50666: 28.0.50; Fix native compilation on Cygwin Date: Sat, 18 Sep 2021 16:46:42 -0400 Message-ID: <9f20194e-b1ba-9417-4f18-caa1d80b5568@cornell.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35506"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 To: 50666@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 18 22:52:10 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 1mRhJh-0008xa-M4 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Sep 2021 22:52:10 +0200 Original-Received: from localhost ([::1]:57324 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRhJg-00080n-0X for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Sep 2021 16:52:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44318) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRhJa-00080f-OO for bug-gnu-emacs@gnu.org; Sat, 18 Sep 2021 16:52:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53737) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mRhJa-0000fy-H7 for bug-gnu-emacs@gnu.org; Sat, 18 Sep 2021 16:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mRhJa-0003Ig-ER for bug-gnu-emacs@gnu.org; Sat, 18 Sep 2021 16:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ken Brown Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Sep 2021 20:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50666 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.163199831412670 (code B ref -1); Sat, 18 Sep 2021 20:52:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 Sep 2021 20:51:54 +0000 Original-Received: from localhost ([127.0.0.1]:37050 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRhJS-0003II-9W for submit@debbugs.gnu.org; Sat, 18 Sep 2021 16:51:54 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:60732) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRhJQ-0003IA-Ij for submit@debbugs.gnu.org; Sat, 18 Sep 2021 16:51:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44316) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRhJQ-00080X-Am for bug-gnu-emacs@gnu.org; Sat, 18 Sep 2021 16:51:52 -0400 Original-Received: from mail-dm6nam11on2071a.outbound.protection.outlook.com ([2a01:111:f400:7eaa::71a]:39905 helo=NAM11-DM6-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRhJO-0000WU-06 for bug-gnu-emacs@gnu.org; Sat, 18 Sep 2021 16:51:51 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eHCKW5Dh0LcK7DUiDv7NsFqfrJXxgK0fWAAcwmWrFWAc4TK4LqDqtOz+ZL35tmy2NRI08LrXFgFhPiCAcG4xDrsrudPA8/lknsnjL8tLjI+PV6SW0/p6QUNRpO29EzbGTIj/zOhtYqREW20scRACFSQwR5jrX8ra7rgxLSRH0EoSxl+sjUw15dESqPWzH1h5wvYzNTikjFxJ4hAX09n6G4DHH9wE1iXZ0Q0h1ZtcPBbp82GzPfILhsuKIw00nmSF47bksIh5eetft0ajFyJrvWZNuwk7Zs33Zu/zG6cLCGL0gZ/bYjtM2C38HZ3Wvge0WOxX2lkhkWyorDZSPNmZSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=WmWWKFj/zPD35arbGo7LaWnxQix5JQuQ9WnvcA3KTUM=; b=mhMAznzX3WA8IfI0enAM+wK6WcyxB298BX1O/hJHGhglRaMbHApdRQUSIs79uGzwQA3LvX2wCDpA34XytYMzGZ2YyF1uQ41dGmSQdD1odcf6WlVYMq2BLxx7Ab9XdD9diX/8KCrKY/28Abj48VabPYIavVRDsLDa15bHiWUA/yeg09r0gcWWzZ3+OiZEYIE0A+T82oWL05pasRns3e6FzNpoeMl9J4bx2J8G1gh9m/gug7WBrc5yQ+CUCAhr+GvhXsoYDUBoKGtBCKfchFp5XnFNafl2rBBzZxAHlbJXBBH0USYjdKpa9Y5xh3oUiSaU9TLw51yjqRP48ZXQe6uU7A== 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=WmWWKFj/zPD35arbGo7LaWnxQix5JQuQ9WnvcA3KTUM=; b=KL/AwXVviUbAFaDIOn2fjSPx3ZOgiymm6PTT2ssd1ALqIeni/AOoTiKtIBjCzkkbZk+j7Dm315JrVmX7ekbHmOFQmebgJoWa4FhXh7D1+qKuP0oeLfrVP8R6hqOAT7ki1yUiZU1n6OzJ9oAWRuUSZTzosDovQ7MIaXZPt5+D/jM= Authentication-Results: gnu.org; dkim=none (message not signed) header.d=none;gnu.org; dmarc=none action=none header.from=cornell.edu; Original-Received: from BN7PR04MB4388.namprd04.prod.outlook.com (2603:10b6:406:f8::19) by BN8PR04MB6068.namprd04.prod.outlook.com (2603:10b6:408:4d::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.16; Sat, 18 Sep 2021 20:46:44 +0000 Original-Received: from BN7PR04MB4388.namprd04.prod.outlook.com ([fe80::5113:e84a:b38a:7a66]) by BN7PR04MB4388.namprd04.prod.outlook.com ([fe80::5113:e84a:b38a:7a66%6]) with mapi id 15.20.4523.018; Sat, 18 Sep 2021 20:46:44 +0000 Content-Language: en-US X-ClientProxiedBy: CH2PR04CA0003.namprd04.prod.outlook.com (2603:10b6:610:52::13) To BN7PR04MB4388.namprd04.prod.outlook.com (2603:10b6:406:f8::19) Original-Received: from [IPv6:2603:7081:7e3f:3419:1d36:e122:658d:e368] (2603:7081:7e3f:3419:1d36:e122:658d:e368) by CH2PR04CA0003.namprd04.prod.outlook.com (2603:10b6:610:52::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.14 via Frontend Transport; Sat, 18 Sep 2021 20:46:44 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b7751de4-d133-49b9-8f3c-08d97ae56d0f X-MS-TrafficTypeDiagnostic: BN8PR04MB6068: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: m8CJlw3wu+RPVV/ADvcDsdH8Welc622X++Nl/wumJzDxzVncwgpEZh6Cug2dSty1qtveoY2CVsidPQgdMZ+qn7AHb52UCTU2eG3wcKRZeKrJ/7swQs/fu1/emndkKjtkZQwxUQbrwVTjg7FNYrmD1bFHfQ+iVDM6Dm46/GTy0S6QEmYAiKjNC33vUvqxMVFE1J+h+YGoCNIEkSfHL0Ltrr+gFE4zPIh5EnAKUzebr9XsDcpUeVH/ZbhZxiUXqRUa0OIF8bZfuDxmd1UsuQq2cQtXRskYdWbDyL+nhkX1sArFCuMpBuolZf1jF2JNT2QWYNHVF8ZymClPY7JSbIpRBGpXvT3Mh10vNN+rkutj9Qk7/62J+y92uv3WBDkU6K/wd+dc8O3C48L9JZXaGrTbe1ZaM1I2qrFi0UQNN668jhjPxt/3iJUKSDuE2T2pb0Fup0aFUNpohsRrfI9ISjKtwgCOdbVM21qMN4PQPE5TGYddQOs2ldtzYVcpiYxRArSsKVD0Ra+NvrkmKLg1eKvS5Woim7Zx2kpA3c71IdN0G1IqRlTxsFXfSUHAS8ebTTjRogec1D47snslBax6R4A2ZYgkucmTxNBtO+/ROgZCCXyzx2k7hiqxvBVhrfcv7cjkDl6hPc+UuMgDYdYvPaEp9syqBAPCx+hY77JF7Q3rUlzihgFJFoUJpUIimesDok4r83DoNQVudpIFZx+RVl6cI7CmlL03Goe2HNITY6Cn26JY4LpqVoBkMolRXxV4q h2VP+kKbA7Q4mCINAKgTOtq9OLArcjbaciyyvugopFst7p/9SJwYavf0lUVE0bOEHuB X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN7PR04MB4388.namprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(8676002)(8936002)(2906002)(75432002)(38100700002)(31686004)(186003)(5660300002)(83380400001)(966005)(508600001)(6916009)(36756003)(6486002)(86362001)(2616005)(316002)(66556008)(31696002)(66946007)(66476007)(45980500001)(43740500002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: zGtFgSCSuHoQHWcyzLR7YVfVwZh+vZgPMJB05GmpaRU0qLTkzsjyMD2K3Di7b/+BXCupLtjOesdU1rQu/+Sutwm/ai0ytHI7UNRtd2u4nwv2UbOQsCasJvkeKri53OIZOylZl8yfDqfLL04TKxcvVUIza1AgFQT9wy32Y335eLuubwJW1S/IAe00xHIqCeV3trjsAful2ZQ70tTuDusngGgQlYULjCXB04Y3ROIfriKCMfsG/zXWaGtAxZwPZASRiI2GEMPkY4WY5tDqfsiHBCT9nagouMJ6Nv5jSeWrfksd889nE/sZe+DOnDxkRjdlPWFjd+UJmubQLFOxqiVrcl/dOmjFU/3lpC9dxAD5L8jXIGlPPyq4W+I2UliSTY2hbdUUyRbrs0YnMRkssziSUoEdEPFuqBsgNxJbBIGxz0VGimPQQCOoQGk6wjYwEAC4pR8A+3Xkn6h/p22XgHdVWYPgTHKnxLmOjn5eGLEadZ9/JOzWrES5TorvdcgzRfkJAo08EJ6IwTynu3LQpAUdsKh0TRP5UEniA+lOIEjJ+nSi4+cMvw5auupE377j4uKagTOybh1PQES1yhzJoNVejdfyzIqXfOGYVVS5DMhOaUMpDTaYXFEIsawIKwN/fjLOOHmPQnEJF7mL5qcgg7sg0ugbraJf1A3M68RI+l3pNSZNLYxEfkfIo1TWDWVScej6GUx4CAAOrXD3os6gYuVNWrPVKH7mK5nVrmI4n5CgnE3zAzErrues2nRfC0 iKPdVmru5AzuZpLKEl/Kh2Gp5SJnQc4M9PEqnphQ4U4vlQmmdNRwRCD9tSIEse1ogyxo0Igy6kP3tP3rMWQoLzl6LWBtFWKffy X-OriginatorOrg: cornell.edu X-MS-Exchange-CrossTenant-Network-Message-Id: b7751de4-d133-49b9-8f3c-08d97ae56d0f X-MS-Exchange-CrossTenant-AuthSource: BN7PR04MB4388.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Sep 2021 20:46:44.6530 (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: ukzgUejMrPF3Z0yIKn3LGv7ZwVkhRuhY3pjshP7Jacx6d67I0Bfand6zu3en5XgkYOeebE7hfDA3mFXxD7/5sA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR04MB6068 Received-SPF: pass client-ip=2a01:111:f400:7eaa::71a; envelope-from=kbrown@cornell.edu; helo=NAM11-DM6-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MSGID_FROM_MTA_HEADER=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:214658 Archived-At: Building --with-native-compilation on 32-bit Cygwin currently fails with errors like the following: child_info_fork::abort: address space needed by 'simple-fab5b0cf-aaf18a4e.eln' (0x5910000) is already occupied This happens because shared libraries (usually DLLs, but also *.eln files in this case) often need to be rebased in order for Cygwin's fork implementation to work. See https://cygwin.com/cygwin-ug-net/highlights.html#ov-hi-process-problems for an explanation. It's mostly an issue in the 32-bit case because of the limited address space, but on rare occasions it can be a problem on 64-bit Cygwin also. For shared libraries installed in standard places, Cygwin normally takes care of the rebasing automatically. But if libraries are created in the course of a build and then used later in the build, an "ephemeral" rebase might be necessary. This is the case for the *.eln libraries produced during the emacs build. In a followup to this message, I'll submit a patch that does this ephemeral rebase and fixes the build problem. Note: The build will not actually be convenient to use on 32-bit Cygwin, because sooner or later the *.eln files in ~/.emacs.d/eln-cache will also need to be rebased. I hope to address this in future patches. Ken