From nobody Mon Feb 9 10:27:47 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+49165+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+49165+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1571295374; cv=none; d=zoho.com; s=zohoarc; b=eoe8hzDwIDISuiqgNq9zmsoyOLRIyaZDfIY+o0NvtkmFgrBq0NQAW5LX0x+84tuEks1bM8u/DbbSnNsGUAou4sjMCZ+sA3Htwydrt1UlfWNykgU9+zic18lRvLwQxNbdUFNA1qFf+Aqhzv2ABmOmhOza46ViztUjcWPEMl83B+c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1571295374; h=Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=onQcmCM6Xan3wXuMAX3EdRG/cXc5pisA/KGVyapd1aE=; b=KmY938yum4Ifoh+xOYRXbMz3dEzsKe5Pwu9/MTaziKkH5UdVB+LgyF3nCc36/1Nk2SPyXab90+CVcXlf8iHWniXdFbahYd9cT0iQID2eSn0v3yAORJj6BkYtpqLsJ0KPZuiGsGpymauvjVHLBcaKNoOS+wWQwpE/Q8rlFjcQ8WE= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+49165+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1571295374787269.06942709285147; Wed, 16 Oct 2019 23:56:14 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 8i53YY1788612xDDMr90OrEH; Wed, 16 Oct 2019 23:56:13 -0700 X-Received: from mga09.intel.com (mga09.intel.com []) by mx.groups.io with SMTP id smtpd.web10.3108.1571295367890091277 for ; Wed, 16 Oct 2019 23:56:13 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Oct 2019 23:56:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,306,1566889200"; d="scan'208";a="208577880" X-Received: from shwde7172.ccr.corp.intel.com ([10.239.158.22]) by fmsmga001.fm.intel.com with ESMTP; 16 Oct 2019 23:56:12 -0700 From: "Liming Gao" To: devel@edk2.groups.io Subject: [edk2-devel] [Patch v3 08/11] CryptoPkg: Append options to make CLANG9 tool chain pass build Date: Thu, 17 Oct 2019 14:55:52 +0800 Message-Id: <1571295356-11608-9-git-send-email-liming.gao@intel.com> In-Reply-To: <1571295356-11608-1-git-send-email-liming.gao@intel.com> References: <1571295356-11608-1-git-send-email-liming.gao@intel.com> Precedence: Bulk List-Unsubscribe: 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,liming.gao@intel.com X-Gm-Message-State: eYILpADXjp9q1ZAfmkxNccXtx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1571295373; bh=tRDmY/LxV1BKGVW8lG2Lxzi0q3tJNaAo9EjiqWZVesI=; h=Date:From:Reply-To:Subject:To; b=dki3WuquOrljT7+LKus2YeiMAHhRWbjVHiSZJRGI/Yr1my+cxh9rjE7iv+sElY9mXiu uQ6ASHYOQdpWA0QVsErd5Ru2yjGv4wXnjWiYI2RwnWVM7JuTBYUnbW864E4EABx569XGO S2WfmaoKBsf/D0RUUcu02Lka/wA2Aw/mm1I= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3D1603 Disable warning reported from CLANG9. Signed-off-by: Liming Gao Reviewed-by: Jian J Wang --- CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf | 1 + CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf | 1 + CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf | 1 + CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf | 1 + CryptoPkg/Library/OpensslLib/OpensslLib.inf | 1 + CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf | 1 + 6 files changed, 6 insertions(+) diff --git a/CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf b/CryptoPkg/Li= brary/BaseCryptLib/BaseCryptLib.inf index 8d4988e8c6..a98be2cd95 100644 --- a/CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf +++ b/CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf @@ -101,5 +101,6 @@ =20 GCC:*_CLANG35_*_CC_FLAGS =3D -std=3Dc99 GCC:*_CLANG38_*_CC_FLAGS =3D -std=3Dc99 + GCC:*_CLANG9_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Dincompatible-pointer= -types =20 XCODE:*_*_*_CC_FLAGS =3D -std=3Dc99 diff --git a/CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf b/CryptoPkg/Lib= rary/BaseCryptLib/PeiCryptLib.inf index 3da8bd8480..7b07dd13d2 100644 --- a/CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf +++ b/CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf @@ -96,5 +96,6 @@ =20 GCC:*_CLANG35_*_CC_FLAGS =3D -std=3Dc99 GCC:*_CLANG38_*_CC_FLAGS =3D -std=3Dc99 + GCC:*_CLANG9_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Dincompatible-pointer= -types =20 XCODE:*_*_*_CC_FLAGS =3D -std=3Dc99 diff --git a/CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf b/CryptoPkg= /Library/BaseCryptLib/RuntimeCryptLib.inf index 21a481eb77..d9e29ef660 100644 --- a/CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf +++ b/CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf @@ -107,5 +107,6 @@ =20 GCC:*_CLANG35_*_CC_FLAGS =3D -std=3Dc99 GCC:*_CLANG38_*_CC_FLAGS =3D -std=3Dc99 + GCC:*_CLANG9_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Dincompatible-pointer= -types =20 XCODE:*_*_*_CC_FLAGS =3D -std=3Dc99 diff --git a/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf b/CryptoPkg/Lib= rary/BaseCryptLib/SmmCryptLib.inf index 7c187e21b3..b4faaf3f80 100644 --- a/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf +++ b/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf @@ -104,3 +104,4 @@ =20 GCC:*_CLANG35_*_CC_FLAGS =3D -std=3Dc99 GCC:*_CLANG38_*_CC_FLAGS =3D -std=3Dc99 + GCC:*_CLANG9_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Dincompatible-pointer= -types diff --git a/CryptoPkg/Library/OpensslLib/OpensslLib.inf b/CryptoPkg/Librar= y/OpensslLib/OpensslLib.inf index 7432321fd4..b40d82783b 100644 --- a/CryptoPkg/Library/OpensslLib/OpensslLib.inf +++ b/CryptoPkg/Library/OpensslLib/OpensslLib.inf @@ -662,6 +662,7 @@ GCC:*_*_AARCH64_CC_FLAGS =3D $(OPENSSL_FLAGS) -Wno-error=3Dmaybe-uniniti= alized -Wno-format -Wno-error=3Dunused-but-set-variable GCC:*_CLANG35_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Duninitialized GCC:*_CLANG38_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Duninitialized + GCC:*_CLANG9_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Duninitialized -Wno-e= rror=3Dincompatible-pointer-types -Wno-error=3Dpointer-sign -Wno-error=3Dim= plicit-function-declaration -Wno-error=3Dignored-pragma-optimize =20 # suppress the following warnings in openssl so we don't break the build= with warnings-as-errors: # 1295: Deprecated declaration - give arg types diff --git a/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf b/CryptoPkg/= Library/OpensslLib/OpensslLibCrypto.inf index 8134b45eda..0a60196c8a 100644 --- a/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf +++ b/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf @@ -610,6 +610,7 @@ GCC:*_*_AARCH64_CC_FLAGS =3D $(OPENSSL_FLAGS) -Wno-error=3Dmaybe-uniniti= alized -Wno-format -Wno-error=3Dunused-but-set-variable GCC:*_CLANG35_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Duninitialized GCC:*_CLANG38_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Duninitialized + GCC:*_CLANG9_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Duninitialized -Wno-e= rror=3Dincompatible-pointer-types -Wno-error=3Dpointer-sign -Wno-error=3Dim= plicit-function-declaration -Wno-error=3Dignored-pragma-optimize =20 # suppress the following warnings in openssl so we don't break the build= with warnings-as-errors: # 1295: Deprecated declaration - give arg types --=20 2.13.0.windows.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 (#49165): https://edk2.groups.io/g/devel/message/49165 Mute This Topic: https://groups.io/mt/34694466/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-