X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8E8803950C4A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1600905446; bh=9DaDsCe5kXT2SARWtdEjl3XYwRHTCQ4rk7RAu+j3RKI=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=CoVSHRBfpRJ23l85RNbUt30YS7z4tBWEC7inPO2jlX2D7J4zrGmhxRxWPPFWANSaG PpkqoQX09gL7teEq5I1+n9oe0MvGFEANPLEE4tTC198CmgCRzMYFAcRcrUmiSsR4Ez xPsGXdBOlGpgCMPyA8Lwihw7vaW8Ddte5v+8DmAI= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 929DD386181A ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mBb2Y9R5PtQ+fFpd5JGAKj29ylZp7GTSsMKQu8ylbJjhlZLhdQyIzEqbmklshMZa+oimN/GjxUY+FzbhyMhrHdPcPcO974S6dzN24epbDDRiSTwYtL+8UOkVjd0xsjT+0f+3pbfcJqrFJNQv7rt/Vr2Z5uHvfwzkSR5MOIZSud2DfqaN3igZ4PNkze4SUpJxv2dhAQxD5Fjfrz0g59vtFkiqBgFdvn6kCn8anEGOeWoHUZpbd+f+dCx7ecSurfVJIYRJ0Dj/0INxsZUOvacaXxbkbbijLl1cND6GH6eqc/4eoUDfB4DbisUMmzZaPTAuABXZtTnVdi+25J2S0EggMw== 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-SenderADCheck; bh=Qn6SFptRhJmS+BjrOWuFcw+K+qajAedfiuKP8JOrU0Y=; b=I0AXZE7djnLguBR2qj21q1WqkwwlLefTXwB6eFBuEWN1m2aEPVvCiO3Jf9Opakg8k4J5aD17PqIhpj/hRnX1sNUdfUkg5tZc5tmUUUZNFHWz1DrxDg4qcgtPypmnqTRiWGQeJi3J5uij6xkVLKL6KbYLXdFzE1yDmpyoXghpa+9xA1jWm/TH4IWV1bVkMvcFrR1USGHuWzldn/BHd6c3KtlYS7+6zpJekpDHkM130u2hsLASz4x5yJZx8F2jNMpazz+ub5CRwi2OAgmpLQwIglyhPExE6568VIyuYwbMabwi5eowXc3nvdc7dlFiUyocMB21bFuKuSdNKGl9y6qS7Q== 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 Subject: Re: Updated: w32api-{headers,runtime}-8.0.0-1 (x86/x86_64) To: cygwin AT cygwin DOT com References: <9a0a7e24-45fb-55d8-67f6-377b153810ab AT SystematicSw DOT ab DOT ca> <6d714acb-1df5-0c53-0409-65b4c43e8b36 AT SystematicSw DOT ab DOT ca> <0c884817-574a-e171-9bb5-b8d313a5f6ee AT SystematicSw DOT ab DOT ca> <6ac829c6-5281-ce39-d22b-d57b7d476c1c AT cornell DOT edu> <06124a28-ecf3-fed1-7df3-947b91641f26 AT SystematicSw DOT ab DOT ca> Message-ID: <1c24c7a0-187d-8d1d-2ef4-232bc8c19003@cornell.edu> Date: Wed, 23 Sep 2020 19:57:20 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 In-Reply-To: <06124a28-ecf3-fed1-7df3-947b91641f26@SystematicSw.ab.ca> Content-Language: en-US X-Originating-IP: [68.175.129.7] X-ClientProxiedBy: CH2PR08CA0006.namprd08.prod.outlook.com (2603:10b6:610:5a::16) To MN2PR04MB6176.namprd04.prod.outlook.com (2603:10b6:208:e3::13) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.0.17] (68.175.129.7) by CH2PR08CA0006.namprd08.prod.outlook.com (2603:10b6:610:5a::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.22 via Frontend Transport; Wed, 23 Sep 2020 23:57:22 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 98525c6c-0434-4c51-070d-08d8601c69f3 X-MS-TrafficTypeDiagnostic: MN2PR04MB5789: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8882; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: GLLKCuKltQmOI7SYZpwU7v9g4oofaGM5Oq37shJ7e27Jduyin8e2vTaDQlbVm3kuz7EwMvDeFCrYkSPzepWwARrBTmcUJfZSFVqFK6mwpp+I+4NiWeRrJIC7d1IGh7I+TI4PM0Hg85BymCptrHgE4fs3Vuwe7KIQXxBaHRfzdUkOiXUYWCGGDNEHDlVDtUNkoBOT9FIFPWpdCEPoB7pK8NAi6XybOI5p8pfegYVNklG8DEvQPQdWbntt3RsD6KZqnHzlK2p78kxd6zzTlDgQpFLaWQlwE/HG8X8yXGiRub1XM/Xvu3kWrlLcG9wUk49khOwSPU+Nnl4Cb7ubC0wM/qbjzT0VtKCuW5+yjOI/oPH0l+KbHCZI4hKmt4Jff5be1c/lL4lrBkWgJx5oquBFcOZBppjOJPYHWaeCgF+RnndgH8c74zvimrhr8/slK7bRnqTtlweoQsbbVDNuS43ibw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR04MB6176.namprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(39860400002)(346002)(136003)(376002)(366004)(83380400001)(15650500001)(16576012)(6916009)(31686004)(2906002)(66476007)(6486002)(786003)(316002)(75432002)(5660300002)(8676002)(8936002)(52116002)(186003)(66556008)(66946007)(53546011)(26005)(478600001)(2616005)(86362001)(31696002)(956004)(36756003)(16526019)(142933001)(43740500002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData: pyfNzodcu0WsAC1v8HGy0YoSjSxKzRh1242YnLAGPfJd986zXH04PL3Y2SVz7eLbOOL1pK9PCtHAQVH7MLvB+uC/vVNTh5CjjLgZ1vQqKsrLo395ZE58VFEYZBzJRUqcTsTPV6neffD36lx6Szs3kyXP2VN87BIHq39ZStT5AeJGVAfk72gKuUI2uhdRoIDl/zk/jWG9zmq5wgzmTCjpWrYIQTyI8uhSnw9CfaaZWroZk1cXCeFtcr1UoUpeO3Z55zSTbt177wcOINcmkuEbLHSkHkzDYTkfaxMw3uOoUDCh2G8Z8Nq/qibtCk2rEQlyqTS5LIZMQaeyEW1pp4YV/fU1Q4LmAkx5XsT871SoKoT3e4m1AHqSbzUHQp3SDPWkAuMcxI+RzRl9gmDufdAnbM+pHUWpKUlRxASuH2ir+rPWqTcyHrxdbCdltR01y/n7OG7Axp3NJ6D5B3hmXr+oUVk6dbdOeHOSjwtVFB4cMEdCovCh41cNVoqfcymhGqd/xK33bvGcsrDU1Ia4IH9dsq57RYk0wVZwO3Ie2D2OSsx3e0voBUawZRdhUMQL+S3hSmQ0hkD+WxJ/ELsK/T8BTVIUoPbaaZ6y9d+d7AGUHLikaOBmeft5NRFvkUri2iknr+Im5z9OCyMy9dpKF0bzkw== X-OriginatorOrg: cornell.edu X-MS-Exchange-CrossTenant-Network-Message-Id: 98525c6c-0434-4c51-070d-08d8601c69f3 X-MS-Exchange-CrossTenant-AuthSource: MN2PR04MB6176.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Sep 2020 23:57:22.7979 (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: lEm4Gf/L2ziIsDDMf9cLUYH57BsgamVuZuNcAK5rKRLlbjrPCcH66oVPqSw2mhXJApJ/PtNYviUjjzuY5ldwHw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR04MB5789 X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_00, BODY_8BITS, DKIM_INVALID, DKIM_SIGNED, KAM_DMARC_STATUS, MSGID_FROM_MTA_HEADER, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Ken Brown via Cygwin Reply-To: Ken Brown Content-Type: text/plain; charset="windows-1252"; Format="flowed" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 08NNvopu012498 On 9/23/2020 11:21 AM, Brian Inglis wrote: > On 2020-09-23 08:49, Ken Brown via Cygwin wrote: >> On 9/23/2020 12:44 AM, Brian Inglis wrote: >>> On 2020-09-22 22:17, Brian Inglis wrote: >>>> On 2020-09-22 16:10, Brian Inglis wrote: >>>>> On 2020-09-18 23:19, JonY via Cygwin-announce wrote: >>>>>> Now released for both 32bit and 64bit Cygwin: >>>>>> >>>>>> w32api-headers-8.0.0-1 >>>>>> w32api-runtime-8.0.0-1 >>>>>> >>>>>> Based on mingw-w64-v8.0.0. >>>> >>>> Sorry, ambigous - to clarify: may be a definition conflict between updated >>>> headers rebuilding cygwin both 32 and 64 just after latest updates: see >>>> attached log. >>>> Cygwin both 32 and 64 builds worked without any problems just before the latest >>>> updates. >>> >>> Tad confusing log messages, but it appears the actual issue may not be a >>> conflict to do with PVOID, but with PMEM_EXTENDED_PARAMETER between the below: >>> >>> $ fgrep -wB12 PMEM_EXTENDED_PARAMETER /usr/include/w32api/winnt.h >>>    typedef struct DECLSPEC_ALIGN(8) MEM_EXTENDED_PARAMETER { >>>      __C89_NAMELESS struct { >>>          DWORD64 Type : MEM_EXTENDED_PARAMETER_TYPE_BITS; >>>          DWORD64 Reserved : 64 - MEM_EXTENDED_PARAMETER_TYPE_BITS; >>>      }; >>>      __C89_NAMELESS union { >>>          DWORD64 ULong64; >>>          PVOID Pointer; >>>          SIZE_T Size; >>>          HANDLE Handle; >>>          DWORD ULong; >>>      }; >>>    } MEM_EXTENDED_PARAMETER, *PMEM_EXTENDED_PARAMETER; >>> $ fgrep -wA8 PMEM_EXTENDED_PARAMETER winsup/utils/cygpath.cc >>> #define PMEM_EXTENDED_PARAMETER PVOID >>> #include >>> #include >>> #include >>> #include >>> #include >>> >>> #include "wide_path.h" >>> #include "loadlib.h" >>> >>> It seems likely that we could perhaps just remove the conflicting #define, but >>> without some idea of the original intent and its impact, and a good cygpath >>> regression test suite, that could perhaps be a rash decision. >> >> This is related to the extended memory API that Corinna started using last >> April.  At the time the relevant declarations and definitions weren't in the >> mingw-w64 headers yet, so Corinna had to do some ad hoc stuff.  Now that they've >> been added, a lot of that stuff should be removed.  I'll do it later today. > > Thanks Ken, > Please let me know so I can pull and rebuild cygwin 32 and 64 to test both with > another cpuinfo update. I've just sent a fix to cygwin-patches. I won't push it until someone reviews it. In particular, I'd like to know if my handling of the declaration of VirtualAlloc2 seems reasonable. Among other things, I'm puzzled by the apparent need to add WINAPI. If it's really needed, I don't know how the calls of that function could have worked before. Can anyone enlighten me? Ken -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple