From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 3B7D3941287 for ; Sun, 21 Jan 2024 07:57:29 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=gqvN10XCzD+2REtuMj/RrrBb8W1t7eQ8dE9eEg581zw=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20140610; t=1705823848; v=1; b=PRyrW9A3Bo8/9TRHkE5bpHK/kHlreKXvVKaeNSjxaiofuW0Gqo8PR5L6hUx5M4YNDbLJPeLu Hr8/+vuRFT6M0H1uBZ4Q6duWZc8v667iGarKVg8tSVlincfdGDdo7Ud3LlYhrzmbWP0nPZqouKb W8sEKp55Yp/DGxE+VcMDkni4= X-Received: by 127.0.0.2 with SMTP id 7iKfYY7687511xBeOvBqNPEz; Sat, 20 Jan 2024 23:57:28 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.11]) by mx.groups.io with SMTP id smtpd.web11.43072.1705823847506099894 for ; Sat, 20 Jan 2024 23:57:28 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10959"; a="7685143" X-IronPort-AV: E=Sophos;i="6.05,209,1701158400"; d="scan'208";a="7685143" X-Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jan 2024 23:57:27 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10959"; a="1116583206" X-IronPort-AV: E=Sophos;i="6.05,209,1701158400"; d="scan'208";a="1116583206" X-Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga005.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 20 Jan 2024 23:57:26 -0800 X-Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Sat, 20 Jan 2024 23:57:25 -0800 X-Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Sat, 20 Jan 2024 23:57:25 -0800 X-Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.40) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Sat, 20 Jan 2024 23:57:25 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dwRLD0cBTRTbhc0Q729dsXPDDR8u+3iebDtAD/giJthkqYiAMhgqoLAuq6w5Cy9ZOXADQinosDPcCCoD0gyhvNMo28z0DJa7fKANGPpYh+uVlhL3fbmmE8zkWP937/4exJ2uVIAv4Sr1exYFqijijq3xC/sxa1qEkSg+gXA7GvoiwHNdj057Z2xoBYYpzjIBezwMnh3cKk3AzD53eFK+DxFx96cV9QLKOGwAL/dm1DAxiSoctynWQvIhuf7mnuPIAnhT7VoozeqKiNzovUauTrePtK/Mc70RamT3p35YOZKJJMZpRdYqXTfIfh1JrrsXy3bbo3pzS7P3AIDbAZHWww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=2bxTBeEpkO+Lo9OW+eYZJhU/3PsiGOIjYqCpZwMqSis=; b=FmGIp7jAL0GSnCaIgxKi1jmD3FjbdEhRzkUZjnRgz4wwn7S3nT7QwgSJEoHDJPSAXZvhRSpmoyhX8/r2Mpu7srPG7NDD5++uZIfg4pcKml2FdPZLgWGt1mbkgDr5ShwOHxw6xdZqUgWvo41nqE9OJYzCyroKDG1l9kLUCrrGOMK06QPxVUkDrxh1q3aoibdzkcS2v+Orc+ebHpuqKcO4ZP6UPh8romERWLqmit0OiomfivgJwXTrcYs+Fy6LjMMlovkd5fe/flsaRNqlg/iMaO4jK96UeMeXj0EZHOP+dumF6FTek1h2uhUwm3th4nSR/zgOtcG2ZVy6zfQoq+3pEA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none X-Received: from SJ1PR11MB6227.namprd11.prod.outlook.com (2603:10b6:a03:45a::10) by CH0PR11MB5219.namprd11.prod.outlook.com (2603:10b6:610:e2::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.30; Sun, 21 Jan 2024 07:57:23 +0000 X-Received: from SJ1PR11MB6227.namprd11.prod.outlook.com ([fe80::c9e4:c4a2:dd30:3ec5]) by SJ1PR11MB6227.namprd11.prod.outlook.com ([fe80::c9e4:c4a2:dd30:3ec5%4]) with mapi id 15.20.7181.026; Sun, 21 Jan 2024 07:57:23 +0000 From: "Li, Yi" To: "Hou, Wenxing" , "devel@edk2.groups.io" CC: "Yao, Jiewen" , "Jiang, Guomin" Subject: Re: [edk2-devel] [PATCH] CryptoPkg: Add dummy inttypes header to fix clang build Thread-Topic: [PATCH] CryptoPkg: Add dummy inttypes header to fix clang build Thread-Index: AQHaS6b1a9zNt5YRJkme/eDazzigTbDj55Vg Date: Sun, 21 Jan 2024 07:57:23 +0000 Message-ID: References: <20240120134524.1669-1-wenxing.hou@intel.com> In-Reply-To: <20240120134524.1669-1-wenxing.hou@intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ1PR11MB6227:EE_|CH0PR11MB5219:EE_ x-ms-office365-filtering-correlation-id: 66c9415d-64b1-4d6a-6a73-08dc1a5699fe x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: y3orx/FO40luo9KVSeMh0JB0odZ6+Y67BIibaf3DLlhqJMbJ6EKyy5339dR8Nt4a3kZQ6wVo8ylp+j0ZD5B5EVR6USxuGLLySDl2y4j7K4L2EV5ykGK/CTSRf5U11k38yR64oD98vSCxf0pu5CetDz62xmRDv9X4w2/hugtHSehbKytMkFA/gH10bAzAacCgjshHaGkxhLCR2bkjJiZdsBQqDx+TWHXCkpiNh/Gbe9GoghJkflHQ5etduPxlonc0aI+taQ+qOg7122srqsFipJeRPWQ9ZzHjO5W4r20+R4Q9gxvZ1SwvFdyeiQqEYO8dHqfxYxNpLSfg64ICM46nOealhFBYR9LZQ6inhLZ8Sigj5K6uHdb6XRD2vt1Yu/6TfzUnD293wePmCvGgRS0uJ32LvqgLG7hDZJCq2cUt4zeTi+TgSlS/xhm0G7YnSPqH67ivtF2fZzuGsMKD/VkccWETjY8cgQzTYPrKyK8kOVvzKLQ9ft9AKieimXo//L/UVdjZo/0CdkVogbbLwtetMuJDBRQbT74T5wyS7wHz6prBHK2g77f0347AV98s37VZ2qYIeT5UOJtQ8B08CdR9VPTVoMgg04fLRIEXNegfxbg= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?sLWuQO0xuyDSJ+WzBwAfhJomBjE/OisvD8g2dpAR8cUaxBW/16AU6/jisbfN?= =?us-ascii?Q?7h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IYx?= =?us-ascii?Q?EfT2cBoU5XEISaiM9cl4o03s7lYtREurX9dJPObthyhOR1AmJZh4B87Am590?= =?us-ascii?Q?Rpy9Dqg6DEwVfZsH9FA1oEmMTfTmmiHT6qhem+FwfNZhHia3U49ySe4z5omg?= =?us-ascii?Q?9JPtfFUTheQKu2kC6F8gRrDvDFtVSc1VP+45QWvuceOEFCKHGJB3W/xmRJI+?= =?us-ascii?Q?bvEfvqcmvHrfkE35whzFvDLID+P6b/5RrhsP3HxOA6fdB0s79C/D++1umNBU?= =?us-ascii?Q?fcL6w8mSVYtgcExgEuHAzICo+W8/Ru13lYMXgGr7d/upy86dli9deH44rP1L?= =?us-ascii?Q?/jb+fH2m9dIY4HEKvmRy+n35NNF2wKsSEbS2M8dZkqCz/q7RThD4zieLCsPF?= =?us-ascii?Q?ALimtvjrDrp+myZQOQqvqYGqGIDgpGuUlt6sNoEPKCu4ZGP0b/LuIPJP6HFn?= =?us-ascii?Q?VgwtqCg4jOHkcaCvP0kvtBl+aLhTsqIcLlMqh91dmEq5itomRNSL5/RiNxbl?= =?us-ascii?Q?Vz1hhv9ymLqYWEcw6tJJIHQcfV7cZXvSnc8CA9qwlZD5RSb2EuIljAOIG32a?= =?us-ascii?Q?/4AJGt7oYv3ipm8aNWUpU4FgrHSRgO5moezsUEzE0dT+Ph42wppNt9NQ9rHW?= =?us-ascii?Q?gwBe2OCKRrX5iFncN/k=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ1PR11MB6227.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 66c9415d-64b1-4d6a-6a73-08dc1a5699fe X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jan 2024 07:57:23.2449 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 9M6STr47n7E4Lzl4mBLnRCJ8s4yovYS9MKpziW/EwibFbUeGJQwYyacKi/EtVb8DTffsg7dGeIm8eK244hChjg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR11MB5219 X-OriginatorOrg: intel.com 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,yi1.li@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: O8WeviQKPFruLUuXO4tIOYTNx7686176AA= Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=PRyrW9A3; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io Looks good to me. Reviewed-by: Yi Li -----Original Message----- From: Hou, Wenxing =20 Sent: Saturday, January 20, 2024 9:45 PM To: devel@edk2.groups.io Cc: Yao, Jiewen ; Li, Yi1 ; Jiang, = Guomin Subject: [PATCH] CryptoPkg: Add dummy inttypes header to fix clang build 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 --- 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 inde= x 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 direct= ories contain auto-generated OpenSSL content "Library/OpensslLi= b", "Library/IntrinsicLib",diff --git a/CryptoPkg/Library/Inclu= de/inttypes.h b/CryptoPkg/Library/Include/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=20 +cryptographic library.++Copyright (c) 2024, Intel Corporation. All=20 +rights reserved.
+SPDX-License-Identifier:=20 +BSD-2-Clause-Patent++**/++#include -- 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 (#114123): https://edk2.groups.io/g/devel/message/114123 Mute This Topic: https://groups.io/mt/103849296/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-