[edk2-devel] [PATCH 1/1] CryptoPkg: Fix VS2017 build problem for ARM/AARCH64

Rebecca Cran rebecca at bsdio.com
Wed May 20 20:30:08 UTC 2020


On 5/20/2020 2:26 PM, Rebecca Cran wrote:

> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2029
>
> 1. CryptPkcs7VerifyEku.c contains internal/x509_int.h header file, this
>     file contains internal/refcount.h file, if _M_ARM or _M_ARM64
>     defined, it will contains (intrin.h).
>     So we undef these flags for MSVC. It will fix include header
>     dependence problem(intrin.h).
>
> 2. ARM with MSFT toolchain was not enabled in BuildOptions, So
>     add CC_FLAGS for ARM/AARCH64 into OpensslLib[Crypto].inf BuildOptions
>     section to fix build problem.
>
> Cc: Jian J Wang <jian.j.wang at intel.com>
> Signed-off-by: Xiaoyu Lu <xiaoyux.lu at intel.com>

I fixed a couple of trailing whitespace errors in the BZ patch, and 
build-tested for AARCH64 and ARM.

This patch fixes the ARM build, but it looks like the AARCH64 build 
needs more work because it still fails.


-- 

Rebecca Cran



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#60001): https://edk2.groups.io/g/devel/message/60001
Mute This Topic: https://groups.io/mt/74359578/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list