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#74312: 31.0.50; Cygw32 build break Date: Mon, 11 Nov 2024 17:50:47 -0500 Message-ID: <4add61f6-3654-4b9f-913b-ec3a52981aea@cornell.edu> References: <858qtpkemi.wl--xmue@d1.dion.ne.jp> <86serxkb3x.fsf@gnu.org> <0f292392-7a84-4427-a9ed-9a4dc4014a85@cornell.edu> <86wmh9il65.fsf@gnu.org> 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="3102"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: kzhr@d1.dion.ne.jp, 74312@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 11 23:52:15 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 1tAdGY-0000dL-VT for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 11 Nov 2024 23:52:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tAdGO-0008B7-UN; Mon, 11 Nov 2024 17:52:05 -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 1tAdGM-0008Ao-Gp for bug-gnu-emacs@gnu.org; Mon, 11 Nov 2024 17:52:02 -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 1tAdGM-0000gf-7l for bug-gnu-emacs@gnu.org; Mon, 11 Nov 2024 17:52: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=TTjoYDr9VVeZc8vtrGiGZGP1nxyHmrsGaaz4eGYOk5w=; b=mJumTuuI3eZzEHuX/N/+pvKRnWKBMWPCGQiXNv0vzQD0aJE2vnN04QaRrXBIgZSv/xk3tsW7F5l1LJCf3ygxY6CNqMG8TaiKGQN9itYTGEzHTRVhvvoJXZQIkrfCBA9Q1I7e2cNALvu3k5W4vglasCruiRGeRIot6JRaRIBJ/Pb6IeX21YTCndYQKrp1MFAsMXGz+ZMJR5iUIUMNwDuVkU+FxrCIS1k7Vfc7oSZRz1Wn0G56rcqO7ipNVqSpMR6Du8edLn0Z/CwR8lg26hLqoACI89En4unRtLXgarQSlFplj1U7tn82Tvue/1sEAwmPMRCdsy9F7QTIMqeGvyVwBA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tAdGL-0000SU-Oy for bug-gnu-emacs@gnu.org; Mon, 11 Nov 2024 17:52:01 -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, 11 Nov 2024 22:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74312 X-GNU-PR-Package: emacs Original-Received: via spool by 74312-submit@debbugs.gnu.org id=B74312.17313654801691 (code B ref 74312); Mon, 11 Nov 2024 22:52:01 +0000 Original-Received: (at 74312) by debbugs.gnu.org; 11 Nov 2024 22:51:20 +0000 Original-Received: from localhost ([127.0.0.1]:59597 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tAdFf-0000RC-CR for submit@debbugs.gnu.org; Mon, 11 Nov 2024 17:51:19 -0500 Original-Received: from mail-westcentralusazon11020134.outbound.protection.outlook.com ([40.93.198.134]:48876 helo=CY4PR05CU001.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tAdFc-0000Qy-8g for 74312@debbugs.gnu.org; Mon, 11 Nov 2024 17:51:18 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=zCt1rMhbBrad7wTqM+vFv6Kvft6OlxnNpBgusi02BUsKucgCe9/hRObF+ClplBVfYBoQqkuI84+0GMCq9oQ/BS3XF52pyr7YDDHd0eEDAdwDNUpOLrX7CjfTXgxy8mgN5U5I3/5TaFUYs1PCIGJPGQKTKdJpBDNRgY8GZp7jcqfk1iTOUYQMLoMyVUUqh5RBj3GVlgr8sS71dTnN1BS/Q3P1mzRJe002JKN+5K/OgQ71LqxGs/I6rdhLLCeo+WHMgTulK0OzHyfPlXq62lU7v3gGjb3cvy5lMZblXZqhlzeVg1zmHDiDAKumiueP/M7LKRU3APnj2iGmpFk6n/zK1w== 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=TTjoYDr9VVeZc8vtrGiGZGP1nxyHmrsGaaz4eGYOk5w=; b=xgJGd4yBhbcI4j0HIHUqgL46GSIF2XJvbKHwlzQ3Fq3kG67q2/JIYMJqu4NxGswl4KK668Qw42c+2G8xrByS6do5gn8DU771jgx9KjzqRwBSMnuPw8TAeSfsXpVLEKinm1A7Qx4J+RYQQ3/gjDkpF4wD4J1n4bl1wIiC7UyQy4Yj1Cr3wGC2bzcVtrNO7qeccYipK+SJGe8tP27EqCvRAxvWhwrI/N8d8DSAwqiMPzAsfgpBDrbgoYyHRY98YqlTHao8qhsAb0X6VVqJaB2FWCLlku5V8gclT2O88EnoKGNLZ9ugaxPQZo4HZR5iPZSlQjm6+dX01e5q3/9hdx5Csg== 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=TTjoYDr9VVeZc8vtrGiGZGP1nxyHmrsGaaz4eGYOk5w=; b=ZNGB76HJGzElFjW65fz3Nn6EHnpB1hqpyOoXtCR7dxVJq6/9iAuxsOAMkQRiKw039NBRBiIChjmye1FA9h133TOV7R9QJF8osnWOUIQNRiOTD5S+tQFtk0pjzeVvwhHui68Nwbm/yWBLlg6fo4YcE1nxstRMS3brISo76ouKuLc= 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 SA0PR04MB7260.namprd04.prod.outlook.com (2603:10b6:806:e0::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.22; Mon, 11 Nov 2024 22:50:50 +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%4]) with mapi id 15.20.8137.018; Mon, 11 Nov 2024 22:50:50 +0000 Content-Language: en-US In-Reply-To: <86wmh9il65.fsf@gnu.org> X-ClientProxiedBy: BL1P222CA0027.NAMP222.PROD.OUTLOOK.COM (2603:10b6:208:2c7::32) To SN6PR04MB5151.namprd04.prod.outlook.com (2603:10b6:805:90::25) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN6PR04MB5151:EE_|SA0PR04MB7260:EE_ X-MS-Office365-Filtering-Correlation-Id: be4404f7-83da-4d10-780e-08dd02a349df X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014; X-Microsoft-Antispam-Message-Info: JlaC5o9OXkik/iLodRt70O4MgHddIq3NkWCZkc9K4Fr5QXZQk1l0APA69rgrBgkVSvhOCdf82D2iqynjt/EkmfCQN8+LmJLP38j67v//4g642yqCx8NNQC5zho0Xpq2aU1hUvXrKJZhgRNlsHsYxQneklKd1UAc4h0/IBybBbMfOu7DKZ+70m4cUNpmPHwBZ1FiOeAGJWBFnpDNCtvxDL2x2j9htzbtvewiHIRns3WHsp3YvN9xzP/KPcQBdssUoQJa8zCvtlV+Xl0hbj7KVbvjyo5cP1fAiMJND/9RfQUzVQrFK70ta4kVFy/tyIBkxiKWo1i9SXswhRLszwsq9ecIPWX4QUdJ3ai5QEUv4mfiv6phQrporSDeSFSwf4YdUfBT731Pj7LW2CG+Ngj1okp1qMzKi7vNDdU67MUWx1tiKkGaum5t5JM/OJigKZrElaL0NQss44/qp5CvXMZEbFsdEV9sXyzhu2nsujqnka+VN/eCr4RrH3h2XCzc8lIdXkU9XZMjP6RDdhOYE9wwN5jijzT1pE2E4L8CPj0mbddIB8NpsFqJddBDW6VskBCqQVCZv40bT+Honq5TE/zqomg9VAFDLtNTaE4rG2E1X0CJ6asPeYAZekbAwzttPynDpCgLGeS/HqF25GRCaj9jskJuGt9Q4omIeMtvSbVg3h/XDIHnar+/2boBrX46oeFHLdqau+l9nww5+WjUOzSfKAi3BbyAbZFbde4XEKcH6lCdhOQjbGquV0TrWQsao9 hbI66SAxMdM2WzOAjE7/O6kxkCiRrR3g6d3Z08/fD7dTWZtzEhFrwBecFWCHZ9yab6Q9XNNBiFpbp749GDPU6Mp6HBquYNmLPr 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)(1800799024)(366016)(376014); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: sIfEIip8X6Y8Ot12PlG0QrGVFER0GpHhtTZLjVpJN2IXPdaxEin7sne4BiZiLhjIyc6ZGmDP2Q7x9YKeY0UmSf9MK2V+xu6h5TdgY4lIhvCr2ew4nBv5lYzPPMhspjYYeyBO2j/WDZMROpj3aqDBsNlUgdvg5D20MtjNlH2dXqOLWI5trGA2BHAc3Ub3ytntfwfDJBhgF8mygkZiN6j47HTGypN9e9x59AfuNRARmDO60m0kYhtHQ4od1NmwYgRoHajLza/gV1eD0zLs8virzkSQ5lOg0BFC/YlmRMw87mFR8tgN1uTr/C3G9vKtovvzt+yKC2ZTG+zSge1yDap8HU0Xb63/FBlSvbNszNkLweC4XtTj34gVMJDMVO/ec4Tifa1qtZf7MwmwukLbVBmon1/ffEV3uf0xbEtDQYPwxxgf5HgcF0Eou3foU/6Q22NDmHRFlOg1Zj86LRxNWSeS6iXp1Dh/cfYpR8B/2XQg8XXrKJECfL2cGo3fIytP3kCZrK98ADhdgaDlcft4ywbbKllNdiStvjY6gbEYpEKP5Xlh/IB4bia42NSMS8VsAPmit4BBzU7myv+lm7ZycdUl2sJBNkV9LifiNAp1tDmX+Q+d+89EUFJleZvLHddOFjNvcMJ279TvSjmK81B7zcL2SYdX8niLKiOYzf+jTuJEaEcsoxOpch42GdCmX67AZkhSO6mLRl6WpUH+oC82AmA17A28r5kWh5nWhbkzihb8lOrpqnnwi9P31/461H CMVZFJEznFGq/5mc0oqk3cpDk4Mgi6gl4DtiDm0VWRT2TlRdc7O2k+/EL8BmvDW9c+Bw6F1B8nr30O7TLIxU4TSy10M/7tV6Vu X-OriginatorOrg: cornell.edu X-MS-Exchange-CrossTenant-Network-Message-Id: be4404f7-83da-4d10-780e-08dd02a349df X-MS-Exchange-CrossTenant-AuthSource: SN6PR04MB5151.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2024 22:50:50.0519 (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: /mPmI8+t6aP/RwYHgSJ3Y/YSHDCvxBWpp+0Wtn1eLVeYBZYR8vpy394kMM8aW3HvanylU2+LIf0d4qQH+bkAEQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR04MB7260 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:295239 Archived-At: On 11/11/2024 3:13 PM, Eli Zaretskii wrote: >> Date: Mon, 11 Nov 2024 13:08:13 -0500 >> Cc: 74312@debbugs.gnu.org >> From: Ken Brown >> >> On 11/11/2024 11:07 AM, Eli Zaretskii wrote: >>>> Date: Mon, 11 Nov 2024 23:51:33 +0900 >>>> From: Kazuhiro Ito >>>> >>>> Cygw32 build fails on master >>> >>> Thanks, I've tried to fix it, please see if there are other problems. >>> And when it does build, please try the drag-n-drop feature, both with >>> dropping files and with dropping text on Emacs. >>> >>> (I repeatedly asked Ken to test these changes with the Cygwin build, >>> but I guess he didn't yet have time. So it's small wonder that the >>> master branch fails to build on Cygwin.) >> >> I'm sorry, but I somehow missed your requests. I'll try to look at this >> within the next few days if Kazuhiro doesn't beat me to it. > > Thanks, much appreciated. The build still fails: In function ‘dump_mm_heap_cb_release’, inlined from ‘dump_mmap_contiguous_heap’ at ../../src/pdumper.c:4919:3, inlined from ‘dump_mmap_contiguous’ at ../../src/pdumper.c:5064:50, inlined from ‘pdumper_load’ at ../../src/pdumper.c:5765:8: ../../src/pdumper.c:4857:11: warning: null pointer dereference [-Wnull-dereference] 4857 | if (--cb->refcount == 0) | ~~^~~~~~~~~~ ../../src/pdumper.c:4857:6: warning: null pointer dereference [-Wnull-dereference] 4857 | if (--cb->refcount == 0) | ^ In file included from ../../src/pdumper.c:26: In function ‘dump_mm_heap_cb_release’, inlined from ‘dump_mm_heap_cb_release’ at ../../src/pdumper.c:4854:1, inlined from ‘dump_mmap_contiguous_heap’ at ../../src/pdumper.c:4919:3, inlined from ‘dump_mmap_contiguous’ at ../../src/pdumper.c:5064:50, inlined from ‘pdumper_load’ at ../../src/pdumper.c:5765:8: ../../src/pdumper.c:4859:7: warning: null pointer dereference [-Wnull-dereference] 4859 | free (cb->mem); | ^ ../../src/w32menu.c: In function ‘w32_popup_dialog’: ../../src/w32menu.c:200:21: warning: implicit declaration of function ‘pMultiByteToWideChar’; did you mean ‘MultiByteToWideChar’? [-Wimplicit-function-declaration] 200 | * pMultiByteToWideChar (CP_UTF8, 0, title, -1, NULL, 0)); | ^~~~~~~~~~~~~~~~~~~~ | MultiByteToWideChar ../../src/w32menu.c:200:21: warning: nested extern declaration of ‘pMultiByteToWideChar’ [-Wnested-externs] ../../src/w32dwrite.c:41: warning: macro "INITGUID" is not used [-Wunused-macros] 41 | # define INITGUID | ../../src/w32dwrite.c: In function ‘w32_dwrite_encode_char’: ../../src/w32dwrite.c:662:51: warning: pointer targets in passing argument 2 of ‘dwrite_font_face->lpVtbl->GetGlyphIndicesA’ differ in signedness [-Wpointer-sign] 662 | &c, 1, &index); | ^~ | | | int * ../../src/w32dwrite.c:662:51: note: expected ‘const UINT32 *’ {aka ‘const unsigned int *’} but argument is of type ‘int *’ /usr/lib/gcc/x86_64-pc-cygwin/12/../../../../x86_64-pc-cygwin/bin/ld: w32menu.o: in function `w32_popup_dialog': /home/kbrown/src/emacs/master/build-w32/src/../../src/w32menu.c:200:(.text+0xb6a): undefined reference to `pMultiByteToWideChar' /usr/lib/gcc/x86_64-pc-cygwin/12/../../../../x86_64-pc-cygwin/bin/ld: /home/kbrown/src/emacs/master/build-w32/src/../../src/w32menu.c:202:(.text+0xba5): undefined reference to `pMultiByteToWideChar' /usr/lib/gcc/x86_64-pc-cygwin/12/../../../../x86_64-pc-cygwin/bin/ld: /home/kbrown/src/emacs/master/build-w32/src/../../src/w32menu.c:252:(.text+0xc1e): undefined reference to `pMultiByteToWideChar' /usr/lib/gcc/x86_64-pc-cygwin/12/../../../../x86_64-pc-cygwin/bin/ld: /home/kbrown/src/emacs/master/build-w32/src/../../src/w32menu.c:256:(.text+0xc6a): undefined reference to `pMultiByteToWideChar' /usr/lib/gcc/x86_64-pc-cygwin/12/../../../../x86_64-pc-cygwin/bin/ld: /home/kbrown/src/emacs/master/build-w32/src/../../src/w32menu.c:230:(.text+0xdfe): undefined reference to `pMultiByteToWideChar' /usr/lib/gcc/x86_64-pc-cygwin/12/../../../../x86_64-pc-cygwin/bin/ld: w32menu.o:/home/kbrown/src/emacs/master/build-w32/src/../../src/w32menu.c:233: more undefined references to `pMultiByteToWideChar' follow I don't have time right now to look into the reasons for these errors and warnings, but, again, I'll try to do that within a few days if no one beats me to it. Ken