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:58:21 -0400 Message-ID: <01a89ba6-2786-df04-0181-069b50a70331@cornell.edu> References: <9f20194e-b1ba-9417-4f18-caa1d80b5568@cornell.edu> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------7E67D8349317065DDB82E29E" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27727"; 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:59:12 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 1mRhQV-0006z6-OX for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Sep 2021 22:59:12 +0200 Original-Received: from localhost ([::1]:34048 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRhQT-0003Cy-Nk for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Sep 2021 16:59:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45106) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRhQM-0003Cq-GA for bug-gnu-emacs@gnu.org; Sat, 18 Sep 2021 16:59:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53748) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mRhQM-0005TL-5O for bug-gnu-emacs@gnu.org; Sat, 18 Sep 2021 16:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mRhQM-0003T7-4p for bug-gnu-emacs@gnu.org; Sat, 18 Sep 2021 16:59: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:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50666 X-GNU-PR-Package: emacs Original-Received: via spool by 50666-submit@debbugs.gnu.org id=B50666.163199871313297 (code B ref 50666); Sat, 18 Sep 2021 20:59:02 +0000 Original-Received: (at 50666) by debbugs.gnu.org; 18 Sep 2021 20:58:33 +0000 Original-Received: from localhost ([127.0.0.1]:37061 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRhPt-0003SP-BD for submit@debbugs.gnu.org; Sat, 18 Sep 2021 16:58:33 -0400 Original-Received: from mail-bn8nam12on2115.outbound.protection.outlook.com ([40.107.237.115]:56215 helo=NAM12-BN8-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRhPr-0003SA-MM for 50666@debbugs.gnu.org; Sat, 18 Sep 2021 16:58:32 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=X/gLXxk9zyFfs4p4MbsolRF7H33j3EYbuH8sHw8Ajh5KLRk/I1K4Sdm/G8v2/3f2jpWe9sM2VI1SyLr1E8Dg3RD5dRlWeHlaNAWjLyNCrZ74oXWGYB4SjgPfk4TpknitJUAk1sOfihS8j82IVePTslYXGWG4PJo8IxHE3KihQUB7aU/gkqYw+ksRouPf1n7XYvFwV1nPxbnq3linH5rVLuCU8a5exsIyZG/dguUmuG2VuM9PUZ4zE2GjJc1PXV149TF/smop7O/Id1cAxWgw0e/GR28Uj8MsO3SqCFO6UXAB9tmjDMi4sIWqItQAd3T0keH2ozuEb7GU7v2G09VmtQ== 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=0lj4EKyEsFeiRcVYHmBNoHHYDjZ7bB13EJurm86PytM=; b=fLRYdZrEXFF0Kxgau3Gohym50M0MBY9dA2bRrBvPhaAg9EaWmCZtJ9Vn7cBPUMDBUe0OABuDZMUvRQZgMs3SRND1JXJpyLhxpkLmtzB9la7mF29NNUtbXbPQ50wIr8aBsQ52ev3IslrDUaftsRqvEzUTVe9i38sLL+2qIu/I6Dr8iZW+1rTFbPjbPRP6yzItax8JS2ER968vncRMkSC6/4RQm01LMni6k5bVm9jxNjG8afPzTW+DY7ZbHm8Z4lyJcONMzrceiBcfsL1cx7nSY2nlfxHXm4Kzo6BJkjyfUrgy2RuAIST2aHYYSXHJaOOKPkfQXjykj61zXgN9tH3hOQ== 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=0lj4EKyEsFeiRcVYHmBNoHHYDjZ7bB13EJurm86PytM=; b=Rr3OELUmvfJKXB+indpwwf4kKFgwBQLhgh0RezcFkvLtCJKQF99O3BGYK0t2y+j2N2XIZr6ZfbsqAbJSDf6/hPQ+iVVPWLSM1Vq3QSy6JWo+N4cVIHFcXn9QFx7BqK1A4uDZhcK4KPVbpTMW+cGH0DnF/NwcoLdVL9A4RMeJXLI= Authentication-Results: debbugs.gnu.org; dkim=none (message not signed) header.d=none;debbugs.gnu.org; dmarc=none action=none header.from=cornell.edu; Original-Received: from BN7PR04MB4388.namprd04.prod.outlook.com (2603:10b6:406:f8::19) by BN7PR04MB4386.namprd04.prod.outlook.com (2603:10b6:406:fd::13) 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:58:23 +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:58:23 +0000 In-Reply-To: <9f20194e-b1ba-9417-4f18-caa1d80b5568@cornell.edu> Content-Language: en-US X-ClientProxiedBy: CH0PR04CA0032.namprd04.prod.outlook.com (2603:10b6:610:77::7) 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 CH0PR04CA0032.namprd04.prod.outlook.com (2603:10b6:610:77::7) 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:58:23 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: cae9457b-9202-4987-b213-08d97ae70da2 X-MS-TrafficTypeDiagnostic: BN7PR04MB4386: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8882; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 56ypYPPV+u+YLXoHI3HUtLjr0RUkmEr70QRAOU53fgxza72PgkKuGohgOY/lUgTCIUAKMuFH9MEmDV80iDMg8KteisIVUG9CPccjyTvb/J4YgKsu5FuxhjUNrP2W3A0W0NFwK5uZaaikrxfMS2l+XK8yB39KZnRGT5aJoWJasIYvVba/sraZF1I1Hteu1s5lKgXG1OgNdVt9Zff8iFy0sjaY48oZZaIUI3FBjd/NL9M3nF7SXfPHy3FRb1N1ta1kJ23aAXKqFcIrdsI8vw2FN+OadB3CqJVy4cFCsIefsCy+zcpwHwJfd0e7WGElAJkHBqvrManE+aGkA7vPDt5ATuIbgkl4MbYm1HI0O0uRViJxS5bx4PsqGZwIbOS/s3Z7uAYhDmgaJMJ7K1drVUk3crzAluYibBc66Jv4733HDqL3chL53yJLEwh7BHxyp+6Ai6McaX7MJL21KwForg8bzQCMSHtOMcisozkaCiMAh3TW2ypQo/7GuGUCMUzFZVyS9chgL2/hwI/DSQS2UdLet0zqqHOVbj4wdtCx0J9yj4HOQuncO4ogkbMFFiF//o0IdRjpY175A3hkhUupD71NjJcWzB+X/3YtzBjYfpGtwc4HDwBgCPTDoGeJf2nOXM0YQHKbd4/KJeaw36OE1ah03BOh/3PrROXFyVIbh3v7U+mq7f9DgIkvSgauCHB/zVTyHH650buDBQ4qbMNCSiawYw/x/81RX2QU7WHvlHlFXg8= 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)(31696002)(5660300002)(36756003)(316002)(66556008)(66616009)(8936002)(235185007)(83380400001)(53546011)(8676002)(508600001)(186003)(66476007)(86362001)(31686004)(33964004)(564344004)(66946007)(6916009)(2616005)(75432002)(2906002)(6486002)(38100700002)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: OQtJ3T1YZhtPcrkm3FKUZOcpUZ/9wWQubsGf4TcaQ0dc1Pb92qgaALLQ5yJQNFhUtj9Fr1cqRTYCkPLyr8CB55NhreGhCf0iUe1kX06heknNV89s4SlYQs24UGI16+YoxQlbpBtiBmglVfkLDCLfkIDVtO6BVYYecJhtLc5oLeGXjXveQOkL1cxhAHlEeNMHGEmR5aKRWbpBSw6mZ95MhR7c39KcqOkNQsXQRo80WW8NiP/iOsLNGM2w07/HIOO4DeDxQtvRHwDJ8PBnCpg7AsSHfXv3muMQhquB7fZZ2e5rb3wfwiLpwMEtjiixDffyxdgsAKycj3hchkvqy3GBLtA83sHh9v+02Cw0C5DCRk9nNM9EjPnOM4d2HIp5gJnvKHSkbptBt5btsXaC67cEdk63aNTDsXNVrfR8kn0rfySCvLSIVQFe8c8rHGsoK/wVNcAPsynRHC8YawHhATFsgsdHzV+PxVNnBoHbNQx0MOVHw9+E8hLXCXCyMB/zLv55XlaYLUoAmtP8PFq668LbMNQL5p0jqpX2rc0+DiBi90mWmGgF2YmPE16/vm3K1Fh9E+vJqAsO9YQWmEh+a6tnaSaTvayd0KmJFOBoOHza7wjyvUwqWvfuzk+ebx+yheMHmrjbCFnYxrVhrkUDyN5hr7+3GwSDo8w8eGaPeFbFa/Mki9JuTCBPigPb0JpRznY5qVtop8+inmRLVWaoSrjYea2AxRvFCTrMUOPpMOEoqkEG33hzkC+8OZs8pA 74jOMchuamFWN0J10/EbQSEebbiw0EsCUq//Jb00TFGtbCrICapXpP6JS7rhwo6OrD0yNos5rkemaXeDQHG9BXLsM9qQZlQeqk X-OriginatorOrg: cornell.edu X-MS-Exchange-CrossTenant-Network-Message-Id: cae9457b-9202-4987-b213-08d97ae70da2 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:58:23.6404 (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: q3W0+6PpzvbfspyLCTJWXR+NsF5sOoJxLUeZuKT4Q1m1wWqSwbFwEWLjJDU6xeCX7g93sUU/UhH5whnoYrWxwg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR04MB4386 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:214660 Archived-At: --------------7E67D8349317065DDB82E29E Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit On 9/18/2021 4:46 PM, Ken Brown wrote: > In a followup to this message, I'll submit a patch that does this > ephemeral rebase and fixes the build problem. Patch attached. --------------7E67D8349317065DDB82E29E Content-Type: text/plain; charset=UTF-8; name="0001-Fix-build-with-native-compilation-on-Cygwin.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-Fix-build-with-native-compilation-on-Cygwin.patch" >From 3a655d37dea44876b1cbc624b4cf1813945f9f2e Mon Sep 17 00:00:00 2001 From: Ken Brown Date: Sat, 18 Sep 2021 14:03:41 -0400 Subject: [PATCH] Fix build with native compilation on Cygwin * src/Makefile.in (emacs$(EXEEXT)) [CYGWIN]: Rebase the *.eln files after they are all created, to avoid fork problems later in the build. (Bug#50666) --- src/Makefile.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Makefile.in b/src/Makefile.in index 732cd8f099..bb69a65707 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -547,6 +547,8 @@ ${charscript}: ${lispintdir}/characters.elc: ${charscript:.el=.elc} +SYSTEM_TYPE = @SYSTEM_TYPE@ + ## The dumped Emacs is as functional and more efficient than ## bootstrap-emacs, so we replace the latter with the former. ## Strictly speaking, emacs does not depend directly on all of $lisp, @@ -555,6 +557,9 @@ ${lispintdir}/characters.elc: ${charscript: emacs$(EXEEXT): temacs$(EXEEXT) \ lisp.mk $(etc)/DOC $(lisp) \ $(lispsource)/international/charprop.el ${charsets} +ifeq ($(SYSTEM_TYPE),cygwin) + find ${top_builddir} -name '*.eln' | rebase -v -O -T - +endif ifeq ($(DUMPING),unexec) LC_ALL=C $(RUN_TEMACS) -batch $(BUILD_DETAILS) -l loadup --temacs=dump ifneq ($(PAXCTL_dumped),) -- 2.33.0 --------------7E67D8349317065DDB82E29E--