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#62450: 29.0.60; Skip failing tests on Cygwin with native compilation Date: Sun, 26 Mar 2023 10:15:17 -0400 Message-ID: References: <519b122a-a46c-0abd-6bc8-a4dc64f869ac@cornell.edu> <835yaoazp7.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8091"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Cc: 62450-done@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Mar 26 16:16:31 2023 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 1pgRAd-0001ou-CY for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Mar 2023 16:16:31 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pgRAD-0007Zv-3s; Sun, 26 Mar 2023 10:16:05 -0400 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 1pgRAB-0007ZQ-He for bug-gnu-emacs@gnu.org; Sun, 26 Mar 2023 10:16:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pgRAB-0004m8-6t for bug-gnu-emacs@gnu.org; Sun, 26 Mar 2023 10:16:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pgRAA-0004kg-Mw for bug-gnu-emacs@gnu.org; Sun, 26 Mar 2023 10:16:02 -0400 Resent-From: Ken Brown Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 Mar 2023 14:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 62450 X-GNU-PR-Package: emacs Mail-Followup-To: 62450@debbugs.gnu.org, kbrown@cornell.edu, kbrown@cornell.edu Original-Received: via spool by 62450-done@debbugs.gnu.org id=D62450.167984013118218 (code D ref 62450); Sun, 26 Mar 2023 14:16:02 +0000 Original-Received: (at 62450-done) by debbugs.gnu.org; 26 Mar 2023 14:15:31 +0000 Original-Received: from localhost ([127.0.0.1]:45624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pgR9f-0004jm-2j for submit@debbugs.gnu.org; Sun, 26 Mar 2023 10:15:31 -0400 Original-Received: from mail-mw2nam10on2098.outbound.protection.outlook.com ([40.107.94.98]:60416 helo=NAM10-MW2-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pgR9c-0004jX-Uv for 62450-done@debbugs.gnu.org; Sun, 26 Mar 2023 10:15:29 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=F6e6t+WXMb4hC5Bp9GPVPgeAUcx8wSXsH13Xmjp5DRMFCNO0EMfkRfHh87J7KMKHnqPABiThycQsP5BTpj3NELgoFqbMCpHr7hyrbu8ChLdWAUwv3JkdZ9GKxliVKkRgcc1Fe/1ESlWr/CpX8XpNVakMFzZVBbOQN2zk7aCedmEpCvl6QPgmLzAZ8FZ03eHLDHTZEbJBY6/9YoCv51QHR/Gjjs84Tu0msyYMwYNFI69wsvRej03GcE22YGuCj7yDB4202l1yqTWKapUYnvDPLatAoLh1OxhMr6iuh5S4Q4sWL5Un59Wogp3caLH/zffEmMrUfR/mFBHwiZXRBmAfhw== 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:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=FLcvl+XzXRtp/tJGQ7IOHRb8oPMoKN1j+s7sHGBnSlc=; b=bAwoegd7EElEY1fXCAPIN/NHoXpssleviihCZwHVKKZtkfEy7G9/RX6a9Frs3pwTthlAfhGAXvyI1Q3HW283NQWfIo34eYeAT7m5Dm6Lu40ft7pafgRsGNixWBfLGtFMAuVxVoYj/ZBWrSmjm1IwJJhVU0tL+ZfPiIJ3+xMHTIIKEKPe8r+0113cbrNEH/bjX+BmBBbaKPPZ+2xL+LvUlA9cr2c0YPPHfdSIuQ3Mb4lf2rdAtCtE7J5M9cyXC4fY08KowxUAi7MNzqoTmdjhYUEObCJ3XCpSRwR9ae9FuoKcitkPEvbaGhZSlv9uc6ZUb6y4AWRFwjViWhncB7RFjw== 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=FLcvl+XzXRtp/tJGQ7IOHRb8oPMoKN1j+s7sHGBnSlc=; b=aiilqu9kGJY8HbABzQ68f1+IZWVu8rySdIlFuizLUKomCsUz8XiJwpeeGOLc/o7kmNI0iIKMMj4wn9DeJwhzGoqNZRkl89I9mXngh95kxwB/6KkgVYMO3fZwHsbPUx90pSIU4czysucLPee4A+ejBSm7uO7aKtwEwY8RYdK0pRY= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=cornell.edu; Original-Received: from SA0PR04MB7322.namprd04.prod.outlook.com (2603:10b6:806:e2::7) by CH2PR04MB6792.namprd04.prod.outlook.com (2603:10b6:610:93::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.41; Sun, 26 Mar 2023 14:15:21 +0000 Original-Received: from SA0PR04MB7322.namprd04.prod.outlook.com ([fe80::f921:640:6d67:d3fa]) by SA0PR04MB7322.namprd04.prod.outlook.com ([fe80::f921:640:6d67:d3fa%5]) with mapi id 15.20.6178.038; Sun, 26 Mar 2023 14:15:21 +0000 Content-Language: en-US In-Reply-To: <835yaoazp7.fsf@gnu.org> X-ClientProxiedBy: BL1PR13CA0295.namprd13.prod.outlook.com (2603:10b6:208:2bc::30) To SA0PR04MB7322.namprd04.prod.outlook.com (2603:10b6:806:e2::7) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SA0PR04MB7322:EE_|CH2PR04MB6792:EE_ X-MS-Office365-Filtering-Correlation-Id: 9095c8c7-f398-4936-72dd-08db2e0488c8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: y2HOE01dhveVmLta11PLd6Pes/uLXh7VaB0XU34XrMFQmGWmrZAESVqPmFGob5GBlYQ179e7doO03Gii5toUG5CPqa32aaEDBkFYAISvIVr43QwzEwjXJqgXEGbkKGeX9XYfQcy/eS7pb0SxRUoQvi7vlonKHgOwhXHTzedM6cBGitdUQT8IUvHqbgwdjmBx/v+VxcEPoPUOUpcyYTwIFcgubQWSCffW5rbPPFS6dsSLjFG/FKMg6MJe2drGbXtNeQWaG4oZNF/E8j002P6hTKUQrGQSbfp/t3gJEHR+DlGhdLaK/78rBsoOLndyAXCZO0vXlOjmie0MifjiQnoqYotB78PghJ707l7Va59nub0CDdMIWtVfFBiDz4nbbs9SwmUWZ9ksP2ucqmLkNeolcXCR0A9fqj26F4WZmyCJHni4eurGMLI+7t3+TD+lDEWr9/wHa4HrOgoUA6JqaoyavQCQC+yh4WLwqaI7QptJfgyfIro2W9gLPka3DDzc0RkSRK6cmmPRv4HQwpq9BtBPjPpSGjjN1BDJh59JzJY+G5vzUvU0sG6fp12Mu5t2DxX1boaqHhwoDQR7OxrScXFcwPSw6zZBrdZCZxMjjGRmnTB+9B5IifpvT5+s8iv9cp9VkfxvPZh9143fzfXRhFbbJA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SA0PR04MB7322.namprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(346002)(136003)(366004)(39860400002)(396003)(376002)(451199021)(38100700002)(75432002)(41320700001)(36756003)(86362001)(31696002)(6486002)(66476007)(66556008)(66946007)(6506007)(53546011)(26005)(6512007)(186003)(2906002)(316002)(6666004)(41300700001)(478600001)(8676002)(5660300002)(8936002)(31686004)(786003)(4326008)(6916009)(83380400001)(2616005)(45980500001)(43740500002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: a0tkKRd3Brw/Hc6SlcKm+qWT43EDVvCzOGwrnqYg7SSFTLCv4u9DDdHmPhQ2aeu4mIMiL+ABuIXMxZQQqrgAax4EpHAr40mjj/6pfAKv6v8pw3PspHbqIqYQXophlqJaNqUctAttVDO2QNsucICLTf0kG4tI6poi5F+bpN7LecepHqxsdalc7t8jqeuqv/wkVQ0hslougIJJHDo+Lkbg7Ho1GJv5wvBf5CFrbsdabG4QZVou896AFn6znIocz/9NOz8N+eF3mPMLc9cEIhDmyyK1C+m4sh1kimJQcH7nmXgcy+5pWBa67hLrS9Ity0Nb36mxLOtDKfids1V1TEAQ2d7TzJmgOx/vwnh3AbVoSZ6wKl9U46VWfng06neeeVjvLmvPdkodBAlLKlXbEdRINafpPAw5+yjBAGeNy0/5v9dfAtxAc1XAKRzHvQyyPkH9JBnuIxhmxdnTFGXuOJxfZgWhwrR0tmx0HwXJSI8ia20Y04v6SVfoFQ262nBwRzA7FDfDD2tP6nJWhLX00eUrK7y1LUBu37vZ3jOMWp6t2X61mh+tcBhN79PW3M9rM2PyytY6KIbCCOijP9f3yPcDL7yt0Oa/Fwou9ZRS2pQ7qMP6CNELt26tVmQfvKH7IfnP3WFPzhR9lLxhrzwsRhEz3yjpClb/2mQWu4IeH+I3Xf/0nxne9vb7n2u0unIVSe7qr9LOPWj0n/CiRBEDRieen/QQRy+vo3fn8jV1YMHgabZXbXDoV5BVrwPUPc ajawrRHXEA4edDKb4j0tZn1+9JQfPh8wVZfKhKUBH4vLD+KqHaNKHJ/r8KkJoitvmNrXAi5/SR5udOASJGtH7Jd5GGlsOksB2/ X-OriginatorOrg: cornell.edu X-MS-Exchange-CrossTenant-Network-Message-Id: 9095c8c7-f398-4936-72dd-08db2e0488c8 X-MS-Exchange-CrossTenant-AuthSource: SA0PR04MB7322.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Mar 2023 14:15:21.4047 (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: 6wlCJM8QKunWNjIYzX5npbH9skp398A4PMlihVCLdlBHMedl4LSKtMX3akMlrqkirQgKXwPfei9/XCzF4LMk5Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR04MB6792 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:258684 Archived-At: On 3/26/2023 12:44 AM, Eli Zaretskii wrote: > OK, but please add in both places comments explaining the reason, and > in particular include there a pointer to etc/PROBLEMS. Done. > (I do wonder whether this is a good idea in the long run. Native > compilation is here to stay, so avoiding its testing for Cygwin might > not be the best solution. The PROBLEMS entry seems to imply that > relatively simple measures, which the test suite could take, could > avoid the fork failures, so my recommendation would be to try to find > a better fix in the future, albeit not in Emacs 29.) I agree, and I hope I can do it. By the way, I've been experimenting with building the .eln files with ASLR enabled, via the following: --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el @@ -186,8 +186,9 @@ native-comp-compiler-options :type '(repeat string) :version "28.1") -(defcustom native-comp-driver-options (when (eq system-type 'darwin) - '("-Wl,-w")) +(defcustom native-comp-driver-options + (cond ((eq system-type 'darwin) '("-Wl,-w")) + ((eq system-type 'cygwin) '("-Wl,-dynamicbase"))) "Options passed verbatim to the native compiler's back-end driver. Note that not all options are meaningful; typically only the options affecting the assembler and linker are likely to be useful. I've been building and running Emacs like this for a couple months and not doing any rebasing, and I haven't seen a single fork failure outside of the test suite. So this might be the way to handle the problem in the long run. But I still hope to figure out what's different about native compilation in the test suite. Ken