From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id C51D621A0483C for ; Fri, 31 Mar 2017 22:40:32 -0700 (PDT) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP; 31 Mar 2017 22:40:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,256,1486454400"; d="scan'208";a="67679632" Received: from shwde6388.ccr.corp.intel.com ([10.239.9.17]) by orsmga002.jf.intel.com with ESMTP; 31 Mar 2017 22:40:23 -0700 From: Long Qin To: edk2-devel@lists.01.org Cc: ting.ye@intel.com, hao.a.wu@intel.com, feng.tian@intel.com, eric.dong@intel.com, lersek@redhat.com, Qin Long Date: Sat, 1 Apr 2017 13:38:30 +0800 Message-Id: <20170401053834.12856-1-qin.long@intel.com> X-Mailer: git-send-email 2.12.2.windows.1 Subject: [PATCH v2 0/4] Resolving Some CryptoPkg Build Issues X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Apr 2017 05:40:32 -0000 From: Qin Long V2: Updated the patches as the comments from Laszlo (lersek@redhat.com). And filed two TianoCore BZ (#455, #456) to track the further follow-ups on openssl and EDKII-CryptoPkg: https://bugzilla.tianocore.org/show_bug.cgi?id=455 https://bugzilla.tianocore.org/show_bug.cgi?id=456 This patch series introduced some hotfixes and workaround to resolve the build issues under different toolchain, and from potential external consumers, including: - build warning under GCC48 and VS2010 toolchain; - Potential unresolved external symbol link issue; - One bug fix of timer() wrapper in ConstantTimeClock.c; - One workaround to resolve macro re-definitions issue from some external BaseCryptLib consumer. (https://github.com/qloong/edk2/commits/dev-openssl-hotfix) Qin Long (4): CryptoPkg/OpensslLib: Suppress extra build warnings in openssl source CryptoPkg: Fix possible unresolved external symbol issue. CryptoPkg/BaseCryptLib: Adding NULL checking in time() wrapper. CryptoPkg: One workaround to resolve potential build issue. CryptoPkg/Include/CrtLibSupport.h | 1 + CryptoPkg/Include/openssl/e_os2.h | 321 +++++++++++++++++++++ .../BaseCryptLib/SysCall/ConstantTimeClock.c | 6 +- CryptoPkg/Library/IntrinsicLib/MemoryIntrinsics.c | 10 +- CryptoPkg/Library/OpensslLib/OpensslLib.inf | 15 +- CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf | 15 +- 6 files changed, 355 insertions(+), 13 deletions(-) create mode 100644 CryptoPkg/Include/openssl/e_os2.h -- 2.12.2.windows.1