From nobody Tue Feb 10 15:44:35 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+102049+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+102049+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1680024707; cv=none; d=zohomail.com; s=zohoarc; b=Lhq13C+3ZmJyr2QtPTCwwEWUUJlJ9+esWrZhcNtk4ee1875qtYy+a+nS3lPpimFSI6SJMCgCKBXnxDPEioFJU8QU+qtf9ahHeDRcwRy4xWSyK4FQCRdZf10Qbm+gIQA+hhYjlapobbRidvd9PFwx2ta8UM7s9uyY7t1YAGRwVJI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1680024707; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=BDuMp5aT/TEzTjuaTJHs/38rnrjt3l4yNRX8B0CuyBc=; b=dbhI8UWrlyjUchUmQxVEUvarWNRahlWfHuKOpotraDSBqr5z7lyDANx1p/lN/D6y7HN58bRZC/8HjUDBMDBypVxBMEo7cDE7Qi7zJDFSxYai4h4w2Mkaqt2qEjjiCjnRovik+xXZgzR2Nglzl0mfDn3vuN3ctQjtNzq1fgsdRT4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+102049+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1680024707163556.4420825432622; Tue, 28 Mar 2023 10:31:47 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id p6SEYY1788612xE7mm1jtDB9; Tue, 28 Mar 2023 10:31:46 -0700 X-Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by mx.groups.io with SMTP id smtpd.web10.2605.1680024706146216405 for ; Tue, 28 Mar 2023 10:31:46 -0700 X-Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 68AC75C0167; Tue, 28 Mar 2023 13:31:45 -0400 (EDT) X-Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Tue, 28 Mar 2023 13:31:45 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdehgedguddufecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeftvggs vggttggrucevrhgrnhcuoehrvggsvggttggrsegsshguihhordgtohhmqeenucggtffrrg htthgvrhhnpeegffeuueelvdeggfdvvdfgtedvudfhfeekudekieektddukeefteetieef vdelfeenucevlhhushhtvghrufhiiigvpedunecurfgrrhgrmhepmhgrihhlfhhrohhmpe hrvggsvggttggrsegsshguihhordgtohhm X-ME-Proxy: Feedback-ID: i5b994698:Fastmail X-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 28 Mar 2023 13:31:43 -0400 (EDT) From: "Rebecca Cran" To: devel@edk2.groups.io, Oliver Smith-Denny , Guomin Jiang , Xiaoyu Lu , Jian J Wang , Jiewen Yao , Ard Biesheuvel , Jordan Justen , Gerd Hoffmann , Bob Feng , Liming Gao , Andrew Fish , Leif Lindholm , Michael D Kinney Cc: Rebecca Cran Subject: [edk2-devel] [PATCH v2 10/13] OvmfPkg: Use Xcode5 version of CpuExceptionHandlerLib for CLANGDWARF Date: Tue, 28 Mar 2023 11:31:08 -0600 Message-Id: <20230328173111.759017-11-rebecca@bsdio.com> In-Reply-To: <20230328173111.759017-1-rebecca@bsdio.com> References: <20230328173111.759017-1-rebecca@bsdio.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,rebecca@bsdio.com X-Gm-Message-State: PoXYMrTfvDDFPlBA5ZnbUvBGx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1680024706; bh=7HUVeeuYHxsPZaltUBCE3NCLrwuRha92JnEGCacNcbg=; h=Cc:Date:From:Reply-To:Subject:To; b=tu63vaE7dU5eetGOzz2P42m5qTc56lkVxtAdPRQBMiS46O90sU93UMvJx9DpmZ0MQBH e8b5e8waBNPbA+p/pqXYMsWZ+jm6lQGpM1HxnGi4Lj6RrtKuxy42uSflLAfragbREq66L uB5Yq0DibygLglJwbLDrBS8R+/MchlgdWtU= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1680024708715100017 Content-Type: text/plain; charset="utf-8" The CLANGDWARF toolchain has the same problem as XCODE5 linking CpuExceptionHandlerLib. So, use the Xcode5SecPeiCpuExceptionHandlerLib.inf when building with the CLANGDWARF toolchain. Since the difference is that the non-Xcode5 version uses `mov` while the Xcode5 version uses `lea`, they can be merged in future with the single version using `lea`. Signed-off-by: Rebecca Cran --- OvmfPkg/OvmfPkgX64.dsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OvmfPkg/OvmfPkgX64.dsc b/OvmfPkg/OvmfPkgX64.dsc index 00f7005fca40..c30f4f6db832 100644 --- a/OvmfPkg/OvmfPkgX64.dsc +++ b/OvmfPkg/OvmfPkgX64.dsc @@ -297,7 +297,7 @@ [LibraryClasses.common.SEC] PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/= PeiServicesTablePointerLibIdt.inf MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAlloc= ationLib.inf -!if $(TOOL_CHAIN_TAG) =3D=3D "XCODE5" +!if $(TOOL_CHAIN_TAG) =3D=3D "XCODE5" || $(TOOL_CHAIN_TAG) =3D=3D "CLANGDW= ARF" CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5S= ecPeiCpuExceptionHandlerLib.inf !else CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiC= puExceptionHandlerLib.inf --=20 2.34.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#102049): https://edk2.groups.io/g/devel/message/102049 Mute This Topic: https://groups.io/mt/97911019/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-