From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 6C0A2740035 for ; Wed, 31 Jul 2024 04:50:55 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=Xgj74faYtQkf5gFRPBby4yH8PiN3FMMrC4MzSKueqr8=; c=relaxed/simple; d=groups.io; h=Feedback-ID:Message-ID:Date:MIME-Version:User-Agent:To:From:Subject:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20240206; t=1722401455; v=1; b=eCQ3wY2VWwTl0dtML0k4roaKtIVQUXu/CEKAntIxpGthpVypt9KHCoHH9Oa+U3tVFwfOZkzv zVWf2QeYLQX+PSwSVS5q5vFhiKBk/a6E2Z8sgX4gF+Z3gd1BATcEXdkcqK/kKghGYn3NNtY9pUN yJoDRz1/z2gofwzBX8OZKshItatSYhmHibiGfM0w7iTM1NSkXv6IuO42bLAoTIKvsk7RDhBsKoG BFuvVrHrDkbvfB5cPQFv8nXL19hZIlBFRh8Ewy6Iwxuo/zn7Ou2XlPTLghK8WrPVE9TNP7rb7Rp Qj1Q3qss9aDHpaGHZqFaBQIGpntwSm7slvY7rVBBBG9sw== X-Received: by 127.0.0.2 with SMTP id kv9VYY7687511xLtmXYI5MI4; Tue, 30 Jul 2024 21:50:53 -0700 X-Received: from fhigh5-smtp.messagingengine.com (fhigh5-smtp.messagingengine.com [103.168.172.156]) by mx.groups.io with SMTP id smtpd.web11.35925.1722401452808444280 for ; Tue, 30 Jul 2024 21:50:53 -0700 X-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 0CA051146E5D; Wed, 31 Jul 2024 00:50:52 -0400 (EDT) X-Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Wed, 31 Jul 2024 00:50:52 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrjeehgdeklecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfvhffutgfgsehtkeertddtvdejnecuhfhrohhmpeftvggsvggttggr ucevrhgrnhcuoehrvggsvggttggrsegsshguihhordgtohhmqeenucggtffrrghtthgvrh hnpedvgedtieevieefleeuudefjeefffegkeelhfdtfedvkeegjeeuueeujefhtdejtden ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehrvggsvg gttggrsegsshguihhordgtohhmpdhnsggprhgtphhtthhopedt X-ME-Proxy: Feedback-ID: i5b994698:Fastmail X-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 31 Jul 2024 00:50:51 -0400 (EDT) Message-ID: <26155a79-7a3f-4b2b-9106-ea30ff9941d4@bsdio.com> Date: Tue, 30 Jul 2024 22:50:38 -0600 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: edk2-devel-groups-io , Matthew Carlson From: "Rebecca Cran" Subject: [edk2-devel] Unable to build OvmfPkgX64.dsc with VS2022 ("PE image Section-Alignment and File-Alignment do not match") Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Tue, 30 Jul 2024 21:50:53 -0700 Resent-From: rebecca@bsdio.com Reply-To: devel@edk2.groups.io,rebecca@bsdio.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: WiZkyY64iSmFOtDEc1fTlAS4x7686176AA= Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=eCQ3wY2V; dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io There appears to be a problem with the newly-added VS2022 toolchain. I only just installed Windows after not using it for quite a while so I don't know if it's user error, but I get the following failure with "build -p OvmfPkg\OvmfPkgX64.dsc -a X64 -b RELEASE -t VS2022". Building with VS2019 works. I have VS2022 version 17.10.5 installed. Generating PEIFV FV ##### ['GenFv', '-a', 'd:\\src\\tiano\\edk2\\Build\\OvmfX64\\RELEASE_VS2022\\FV\\Ffs\\PEIFV.inf', '-o', 'd:\\src\\tiano\\edk2\\Build\\OvmfX64\\RELEASE_VS2022\\FV\\PEIFV.Fv', '-i', 'd:\\src\\tiano\\edk2\\Build\\OvmfX64\\RELEASE_VS2022\\FV\\PEIFV.inf'] Return Value = 2 GenFv: ERROR 3000: Invalid   PE image Section-Alignment and File-Alignment do not match : d:\src\tiano\edk2\Build\OvmfX64\RELEASE_VS2022\FV\Ffs\52C05B14-0B98-496c-BC3B-04B50211D680PeiCore\52C05B14-0B98-496c-BC3B-04B50211D680.ffs. GenFv: ERROR 3000: Invalid   Could not rebase d:\src\tiano\edk2\Build\OvmfX64\RELEASE_VS2022\FV\Ffs\52C05B14-0B98-496c-BC3B-04B50211D680PeiCore\52C05B14-0B98-496c-BC3B-04B50211D680.ffs. Not sure if it matters, but since I guess it might be fairly uncommon, I'm building on a ReFS volume on Windows Server 2022. -- Rebecca Cran -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#120134): https://edk2.groups.io/g/devel/message/120134 Mute This Topic: https://groups.io/mt/107641140/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-