From nobody Sat Feb 7 05:56:17 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+103816+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+103816+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1682957376; cv=none; d=zohomail.com; s=zohoarc; b=cqEOZSijNdn8ke1KyycocZJtLJU2Orgva5CXPmGFH+Tfxk9B+LS/fPOF2CRyiVB0cSC/ynKVCfToB72l1F3c/gyD6l+6jMVQiNkEdbsOpxNth4JDnXM+LR0hmvk65nnQvxnszDgWoO5XIV88MCBdo5tgtJOKYxqPZ9S8NGicy28= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1682957376; 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=yMu0ZaVi96aIcI8sKkvcMAzlBX5to7u5Ii+vBFmMoso=; b=ErXxoRWBmwAVrGd5VIaxtuYKRb+jCiIaxw/jAHi/yig5SSz+KjYulxQaUGwgfM+GfwFI3Ao1SprEa3ZB43362RoRxgGUswmfGV9fCQj3BmfXbkatT1DnhnodatBS75uEvq3Hql9OWRErcDx5AuMQrYohXG8MZZDhLXasuaX2qVQ= 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+103816+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1682957376700143.30889160188576; Mon, 1 May 2023 09:09:36 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 5aMPYY1788612xyuxp5w9AFU; Mon, 01 May 2023 09:09:36 -0700 X-Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by mx.groups.io with SMTP id smtpd.web11.98360.1682957375570827959 for ; Mon, 01 May 2023 09:09:35 -0700 X-Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id DFC7D5C014F; Mon, 1 May 2023 12:09:34 -0400 (EDT) X-Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Mon, 01 May 2023 12:09:34 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfedvgedgleejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheptfgvsggv tggtrgcuvehrrghnuceorhgvsggvtggtrgessghsughiohdrtghomheqnecuggftrfgrth htvghrnhepgeffueeuledvgefgvddvgfetvdduhfefkedukeeikedtudekfeetteeifedv leefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprh gvsggvtggtrgessghsughiohdrtghomh X-ME-Proxy: Feedback-ID: i5b994698:Fastmail X-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 1 May 2023 12:09:32 -0400 (EDT) From: "Rebecca Cran" To: devel@edk2.groups.io, Liming Gao , Bob Feng , Yuwei Chen , Michael D Kinney , Michael Kubacki , Sean Brogan , Chasel Chiu , Nate DeSimone , Star Zeng , Andrew Fish , Ray Ni , Leif Lindholm , Zhiguang Liu , Jian J Wang , Xiaoyu Lu , Guomin Jiang , Gua Guo , Ard Biesheuvel , Pedro Falcato , Gerd Hoffmann , mhaeuser@posteo.de Cc: Rebecca Cran Subject: [edk2-devel] [PATCH v6 16/16] CryptoPkg: Copy CLANGPDB build flags to CLANGDWARF Date: Mon, 1 May 2023 10:08:39 -0600 Message-Id: <20230501160839.884391-17-rebecca@bsdio.com> In-Reply-To: <20230501160839.884391-1-rebecca@bsdio.com> References: <20230501160839.884391-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: Sf1N4AzJSztLmqDSQj7y4tiJx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1682957376; bh=KOf/DyCgbuo+UiKRTvnBaI+7rWmY0zTQJ8yxkMlEsYs=; h=Cc:Date:From:Reply-To:Subject:To; b=gK8ebK1symyVHoSjsbik76YH8/M113dvazBL2/v4qL/Bc0/l8ooJJN6JLBfzJCmGjTx wgA8IV/MEZ1rQD81TN6Kcvl8sdnZqRK1LlOlWv6t7cF2GTYY3x1d9W3t5OBxzjjklKv9f v9B5vxa8H4DCLhpr1eBjnkFNYmxmE+9b0Vo= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1682957377314100019 Content-Type: text/plain; charset="utf-8" The CLANGDWARF toolchain was broken due to missing build flags in CryptoPkg. Update the various inf files to copy the flags used for CLANGPDB to CLANGDWARF. Signed-off-by: Rebecca Cran --- CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf | 1 + CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf | 1 + CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf | 1 + CryptoPkg/Library/BaseCryptLib/SecCryptLib.inf | 1 + CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf | 1 + CryptoPkg/Library/BaseCryptLib/UnitTestHostBaseCryptLib.inf | 1 + CryptoPkg/Library/OpensslLib/OpensslLib.inf | 1 + CryptoPkg/Library/OpensslLib/OpensslLibAccel.inf | 1 + CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf | 1 + CryptoPkg/Library/OpensslLib/OpensslLibFull.inf | 1 + CryptoPkg/Library/OpensslLib/OpensslLibFullAccel.inf | 1 + 11 files changed, 11 insertions(+) diff --git a/CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf b/CryptoPkg/Li= brary/BaseCryptLib/BaseCryptLib.inf index 910f5a4a2a7a..515dc7983d07 100644 --- a/CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf +++ b/CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf @@ -111,5 +111,6 @@ [BuildOptions] # suppress the following warnings so we do not break the build with warn= ings-as-errors: # GCC:*_CLANGPDB_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Dincompatible-point= er-types + GCC:*_CLANGDWARF_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Dincompatible-poi= nter-types =20 XCODE:*_*_*_CC_FLAGS =3D -std=3Dc99 diff --git a/CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf b/CryptoPkg/Lib= rary/BaseCryptLib/PeiCryptLib.inf index 3ac52b479d58..0ad58a0c843d 100644 --- a/CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf +++ b/CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf @@ -98,5 +98,6 @@ [BuildOptions] # suppress the following warnings so we do not break the build with warn= ings-as-errors: # GCC:*_CLANGPDB_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Dincompatible-point= er-types + GCC:*_CLANGDWARF_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Dincompatible-poi= nter-types =20 XCODE:*_*_*_CC_FLAGS =3D -std=3Dc99 diff --git a/CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf b/CryptoPkg= /Library/BaseCryptLib/RuntimeCryptLib.inf index 97840df5aa73..fedf8fc45b34 100644 --- a/CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf +++ b/CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf @@ -107,5 +107,6 @@ [BuildOptions] # suppress the following warnings so we do not break the build with warn= ings-as-errors: # GCC:*_CLANGPDB_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Dincompatible-point= er-types + GCC:*_CLANGDWARF_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Dincompatible-poi= nter-types =20 XCODE:*_*_*_CC_FLAGS =3D -std=3Dc99 diff --git a/CryptoPkg/Library/BaseCryptLib/SecCryptLib.inf b/CryptoPkg/Lib= rary/BaseCryptLib/SecCryptLib.inf index 83f9709851df..cd85e1db23a6 100644 --- a/CryptoPkg/Library/BaseCryptLib/SecCryptLib.inf +++ b/CryptoPkg/Library/BaseCryptLib/SecCryptLib.inf @@ -82,5 +82,6 @@ [BuildOptions] # suppress the following warnings so we do not break the build with warn= ings-as-errors: # GCC:*_CLANGPDB_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Dincompatible-point= er-types + GCC:*_CLANGDWARF_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Dincompatible-poi= nter-types =20 XCODE:*_*_*_CC_FLAGS =3D -std=3Dc99 diff --git a/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf b/CryptoPkg/Lib= rary/BaseCryptLib/SmmCryptLib.inf index e9b65aee37bf..f8389a362059 100644 --- a/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf +++ b/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf @@ -106,3 +106,4 @@ [BuildOptions] XCODE:*_*_*_CC_FLAGS =3D -mmmx -msse -std=3Dc99 =20 GCC:*_CLANGPDB_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Dincompatible-point= er-types + GCC:*_CLANGDWARF_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Dincompatible-poi= nter-types diff --git a/CryptoPkg/Library/BaseCryptLib/UnitTestHostBaseCryptLib.inf b/= CryptoPkg/Library/BaseCryptLib/UnitTestHostBaseCryptLib.inf index be717a49d636..b4217236bb9f 100644 --- a/CryptoPkg/Library/BaseCryptLib/UnitTestHostBaseCryptLib.inf +++ b/CryptoPkg/Library/BaseCryptLib/UnitTestHostBaseCryptLib.inf @@ -79,5 +79,6 @@ [BuildOptions] # suppress the following warnings so we do not break the build with warn= ings-as-errors: # GCC:*_CLANGPDB_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Dincompatible-point= er-types + GCC:*_CLANGDWARF_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Dincompatible-poi= nter-types =20 XCODE:*_*_*_CC_FLAGS =3D -std=3Dc99 diff --git a/CryptoPkg/Library/OpensslLib/OpensslLib.inf b/CryptoPkg/Librar= y/OpensslLib/OpensslLib.inf index 1a469c8e6968..beada1ebaf56 100644 --- a/CryptoPkg/Library/OpensslLib/OpensslLib.inf +++ b/CryptoPkg/Library/OpensslLib/OpensslLib.inf @@ -640,6 +640,7 @@ [BuildOptions] GCC:*_*_RISCV64_CC_FLAGS =3D $(OPENSSL_FLAGS) -Wno-error=3Dmaybe-uniniti= alized -Wno-format -Wno-error=3Dunused-but-set-variable GCC:*_*_LOONGARCH64_CC_FLAGS =3D $(OPENSSL_FLAGS) -Wno-error=3Dmaybe-uni= nitialized -Wno-format -Wno-error=3Dunused-but-set-variable GCC:*_CLANGPDB_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Duninitialized -Wno= -error=3Dincompatible-pointer-types -Wno-error=3Dpointer-sign -Wno-error=3D= implicit-function-declaration -Wno-error=3Dignored-pragma-optimize + GCC:*_CLANGDWARF_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Duninitialized -W= no-error=3Dincompatible-pointer-types -Wno-error=3Dpointer-sign -Wno-error= =3Dimplicit-function-declaration -Wno-error=3Dignored-pragma-optimize # Revisit after switching to 3.0 branch GCC:*_GCC5_*_CC_FLAGS =3D -Wno-unused-but-set-variable GCC:*_GCC_*_CC_FLAGS =3D -Wno-unused-but-set-variable diff --git a/CryptoPkg/Library/OpensslLib/OpensslLibAccel.inf b/CryptoPkg/L= ibrary/OpensslLib/OpensslLibAccel.inf index fbd568e47a3d..8cb51fb67da2 100644 --- a/CryptoPkg/Library/OpensslLib/OpensslLibAccel.inf +++ b/CryptoPkg/Library/OpensslLib/OpensslLibAccel.inf @@ -688,6 +688,7 @@ [BuildOptions] GCC:*_*_IA32_CC_FLAGS =3D -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS) $(OPENSS= L_FLAGS_CONFIG) -Wno-error=3Dmaybe-uninitialized -Wno-error=3Dunused-but-se= t-variable GCC:*_*_X64_CC_FLAGS =3D -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS) $(OPENSS= L_FLAGS_CONFIG) -Wno-error=3Dmaybe-uninitialized -Wno-error=3Dformat -Wno-f= ormat -Wno-error=3Dunused-but-set-variable -DNO_MSABI_VA_FUNCS GCC:*_CLANGPDB_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Duninitialized -Wno= -error=3Dincompatible-pointer-types -Wno-error=3Dpointer-sign -Wno-error=3D= implicit-function-declaration -Wno-error=3Dignored-pragma-optimize + GCC:*_CLANGDWARF_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Duninitialized -W= no-error=3Dincompatible-pointer-types -Wno-error=3Dpointer-sign -Wno-error= =3Dimplicit-function-declaration -Wno-error=3Dignored-pragma-optimize # Revisit after switching to 3.0 branch GCC:*_GCC5_*_CC_FLAGS =3D -Wno-unused-but-set-variable GCC:*_GCC_*_CC_FLAGS =3D -Wno-unused-but-set-variable diff --git a/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf b/CryptoPkg/= Library/OpensslLib/OpensslLibCrypto.inf index f80461980dc9..ef70d9ba99a2 100644 --- a/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf +++ b/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf @@ -590,6 +590,7 @@ [BuildOptions] GCC:*_*_RISCV64_CC_FLAGS =3D $(OPENSSL_FLAGS) -Wno-error=3Dmaybe-uniniti= alized -Wno-format -Wno-error=3Dunused-but-set-variable GCC:*_*_LOONGARCH64_CC_FLAGS =3D $(OPENSSL_FLAGS) -Wno-error=3Dmaybe-uni= nitialized -Wno-format -Wno-error=3Dunused-but-set-variable GCC:*_CLANGPDB_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Duninitialized -Wno= -error=3Dincompatible-pointer-types -Wno-error=3Dpointer-sign -Wno-error=3D= implicit-function-declaration -Wno-error=3Dignored-pragma-optimize + GCC:*_CLANGDWARF_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Duninitialized -W= no-error=3Dincompatible-pointer-types -Wno-error=3Dpointer-sign -Wno-error= =3Dimplicit-function-declaration -Wno-error=3Dignored-pragma-optimize # Revisit after switching to 3.0 branch GCC:*_GCC5_*_CC_FLAGS =3D -Wno-unused-but-set-variable GCC:*_GCC_*_CC_FLAGS =3D -Wno-unused-but-set-variable diff --git a/CryptoPkg/Library/OpensslLib/OpensslLibFull.inf b/CryptoPkg/Li= brary/OpensslLib/OpensslLibFull.inf index aabb74dbf921..cd0813cf3f55 100644 --- a/CryptoPkg/Library/OpensslLib/OpensslLibFull.inf +++ b/CryptoPkg/Library/OpensslLib/OpensslLibFull.inf @@ -695,6 +695,7 @@ [BuildOptions] GCC:*_*_RISCV64_CC_FLAGS =3D $(OPENSSL_FLAGS) -Wno-error=3Dmaybe-uniniti= alized -Wno-format -Wno-error=3Dunused-but-set-variable GCC:*_*_LOONGARCH64_CC_FLAGS =3D $(OPENSSL_FLAGS) -Wno-error=3Dmaybe-uni= nitialized -Wno-format -Wno-error=3Dunused-but-set-variable GCC:*_CLANGPDB_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Duninitialized -Wno= -error=3Dincompatible-pointer-types -Wno-error=3Dpointer-sign -Wno-error=3D= implicit-function-declaration -Wno-error=3Dignored-pragma-optimize + GCC:*_CLANGDWARF_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Duninitialized -W= no-error=3Dincompatible-pointer-types -Wno-error=3Dpointer-sign -Wno-error= =3Dimplicit-function-declaration -Wno-error=3Dignored-pragma-optimize # Revisit after switching to 3.0 branch GCC:*_GCC5_*_CC_FLAGS =3D -Wno-unused-but-set-variable GCC:*_GCC_*_CC_FLAGS =3D -Wno-unused-but-set-variable diff --git a/CryptoPkg/Library/OpensslLib/OpensslLibFullAccel.inf b/CryptoP= kg/Library/OpensslLib/OpensslLibFullAccel.inf index 3e9de32639f2..8208bb9101f2 100644 --- a/CryptoPkg/Library/OpensslLib/OpensslLibFullAccel.inf +++ b/CryptoPkg/Library/OpensslLib/OpensslLibFullAccel.inf @@ -743,6 +743,7 @@ [BuildOptions] GCC:*_*_IA32_CC_FLAGS =3D -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS) $(OPENSS= L_FLAGS_CONFIG) -Wno-error=3Dmaybe-uninitialized -Wno-error=3Dunused-but-se= t-variable GCC:*_*_X64_CC_FLAGS =3D -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS) $(OPENSS= L_FLAGS_CONFIG) -Wno-error=3Dmaybe-uninitialized -Wno-error=3Dformat -Wno-f= ormat -Wno-error=3Dunused-but-set-variable -DNO_MSABI_VA_FUNCS GCC:*_CLANGPDB_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Duninitialized -Wno= -error=3Dincompatible-pointer-types -Wno-error=3Dpointer-sign -Wno-error=3D= implicit-function-declaration -Wno-error=3Dignored-pragma-optimize + GCC:*_CLANGDWARF_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Duninitialized -W= no-error=3Dincompatible-pointer-types -Wno-error=3Dpointer-sign -Wno-error= =3Dimplicit-function-declaration -Wno-error=3Dignored-pragma-optimize # Revisit after switching to 3.0 branch GCC:*_GCC5_*_CC_FLAGS =3D -Wno-unused-but-set-variable GCC:*_GCC_*_CC_FLAGS =3D -Wno-unused-but-set-variable --=20 2.39.2 -=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 (#103816): https://edk2.groups.io/g/devel/message/103816 Mute This Topic: https://groups.io/mt/98619001/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-