Reviewed-by: Jiewen Yao <jiewen....@intel.com>

> -----Original Message-----
> From: Leif Lindholm <leif.lindh...@linaro.org>
> Sent: Friday, October 18, 2019 5:43 PM
> To: devel@edk2.groups.io
> Cc: Yao, Jiewen <jiewen....@intel.com>; Zhang, Chao B
> <chao.b.zh...@intel.com>; Laszlo Ersek <ler...@redhat.com>
> Subject: [PATCH 1/1] SignedCapsulePkg: fix AARCH64 build
> 
> BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2252
> 
> Add NULL library resolution of CompilerIntrinsicsLib and
> BaseStackCheckLib for AARCH64 as well as ARM in order to
> fix "undefined reference to `memcpy'" build errors.
> 
> Cc: Jiewen Yao <jiewen....@intel.com>
> Cc: Chao Zhang <chao.b.zh...@intel.com>
> Cc: Laszlo Ersek <ler...@redhat.com>
> Signed-off-by: Leif Lindholm <leif.lindh...@linaro.org>
> ---
>  SignedCapsulePkg/SignedCapsulePkg.dsc | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/SignedCapsulePkg/SignedCapsulePkg.dsc
> b/SignedCapsulePkg/SignedCapsulePkg.dsc
> index 4d4232d6e003..03f714f9a799 100644
> --- a/SignedCapsulePkg/SignedCapsulePkg.dsc
> +++ b/SignedCapsulePkg/SignedCapsulePkg.dsc
> @@ -97,6 +97,7 @@ [LibraryClasses]
>  [LibraryClasses.ARM]
>    ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
> 
> +[LibraryClasses.AARCH64, LibraryClasses.ARM]
>    #
>    # It is not possible to prevent the ARM compiler for generic intrinsic 
> functions.
>    # This library provides the instrinsic functions generate by a given 
> compiler.
> --
> 2.20.1


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

View/Reply Online (#49228): https://edk2.groups.io/g/devel/message/49228
Mute This Topic: https://groups.io/mt/35012889/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to