From nobody Wed May 15 11:19:31 2024 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+114115+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+114115+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1705758331; cv=none; d=zohomail.com; s=zohoarc; b=DNQ4hf+XFoHX3Uz8C8C2X58SdTryz7cpXOBIbfTj0v9gdn7fi3FWlaAQmXG5prmSrThMo4bmUlexDLfyVwkKJ27Cp9dU9J82t3lQBEWOsSTri7H6ParXBiwyaKMT9Z/qSDxcJSbCtsLe1yNuHlb4z8hYjuYJCvXM1fipUeLLYi4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1705758331; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:Sender:Subject:Subject:To:To:Message-Id; bh=1PBuzXw0NQRUF/cVNF3fNy7YTA+f9kaZreNgTYY+Hxg=; b=d6wN8iIHxMZrTaDwj/aQSywPzODIXOnX3EYmSuG3bXYWUtDOCuLUAKXf+tmV1txJC2Q8zsxzDMICbN1S8rChlTV7bYM2aId4B+PcunWZOwxHNn86M13xCJ/kEKZmXQO8WXBnI66L8dVyiaG8cU4WMoiTxRo4weF7LvyL/C1KQ2s= 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+114115+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1705758331127676.6826983837129; Sat, 20 Jan 2024 05:45:31 -0800 (PST) Return-Path: DKIM-Signature: a=rsa-sha256; bh=/VGed6duTNznJ/Bpsdy4lwY68gOU41fN4vFyWD5feEA=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1705758330; v=1; b=GN+FFGwfFyswtvlCalZqU+0WzS+N03WCeZvGGjW+56W5BCQInnBgiMV33c9g1+5RF1bHXhwN OlwM31KMWuNg/sYtmRSDJPhy2nKvfBWZpm7UYm69Go0m/l4EwfHUvRzFpUFm2f2mCevME+EN7Cw p6DDUOAH8EMC4aHos+WgaZpo= X-Received: by 127.0.0.2 with SMTP id BgVJYY1788612xq14rSTh5E2; Sat, 20 Jan 2024 05:45:30 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.12]) by mx.groups.io with SMTP id smtpd.web10.22518.1705758329691161289 for ; Sat, 20 Jan 2024 05:45:30 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10957"; a="8313752" X-IronPort-AV: E=Sophos;i="6.05,208,1701158400"; d="scan'208";a="8313752" X-Received: from orviesa005.jf.intel.com ([10.64.159.145]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jan 2024 05:45:29 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,208,1701158400"; d="scan'208";a="806675" X-Received: from shwdejointd777.ccr.corp.intel.com ([10.239.58.116]) by orviesa005.jf.intel.com with ESMTP; 20 Jan 2024 05:45:28 -0800 From: "Wenxing Hou" To: devel@edk2.groups.io Cc: Jiewen Yao , Yi Li , Guomin Jiang Subject: [edk2-devel] [PATCH] CryptoPkg: Add dummy inttypes header to fix clang build Date: Sat, 20 Jan 2024 21:45:24 +0800 Message-Id: <20240120134524.1669-1-wenxing.hou@intel.com> MIME-Version: 1.0 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 Reply-To: devel@edk2.groups.io,wenxing.hou@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: Dtxvo5gLH8qHXoQSRqjcafqNx1787277AA= Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1705758332573100001 Content-Type: text/plain; charset="utf-8" REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D4642 When use Mbedtls, there is a clang build error. Add dummy inttypes header to fix clang build. Cc: Jiewen Yao Cc: Yi Li Cc: Guomin Jiang Signed-off-by: Wenxing Hou Reviewed-by: Yi Li --- CryptoPkg/CryptoPkg.ci.yaml | 1 + CryptoPkg/Library/Include/inttypes.h | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 CryptoPkg/Library/Include/inttypes.h diff --git a/CryptoPkg/CryptoPkg.ci.yaml b/CryptoPkg/CryptoPkg.ci.yaml index f961d85927..b601bcf85c 100644 --- a/CryptoPkg/CryptoPkg.ci.yaml +++ b/CryptoPkg/CryptoPkg.ci.yaml @@ -44,6 +44,7 @@ # This has Mbedtls interfaces that aren't UEFI spec compliant "Library/Include/stdint.h", "Library/Include/stubs-32.h", + "Library/Include/inttypes.h", # These directories contain auto-generated OpenSSL content "Library/OpensslLib", "Library/IntrinsicLib", diff --git a/CryptoPkg/Library/Include/inttypes.h b/CryptoPkg/Library/Inclu= de/inttypes.h new file mode 100644 index 0000000000..3d44d8201d --- /dev/null +++ b/CryptoPkg/Library/Include/inttypes.h @@ -0,0 +1,9 @@ +/** @file + Include file to support building the third-party cryptographic library. + +Copyright (c) 2024, Intel Corporation. All rights reserved.
+SPDX-License-Identifier: BSD-2-Clause-Patent + +**/ + +#include --=20 2.26.2.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 (#114115): https://edk2.groups.io/g/devel/message/114115 Mute This Topic: https://groups.io/mt/103849296/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-