[edk2-devel] [PATCH 1/1] SignedCapsulePkg: fix AARCH64 build

Leif Lindholm leif.lindholm at linaro.org
Fri Oct 18 11:58:32 UTC 2019


On Fri, Oct 18, 2019 at 11:20:19AM +0000, Yao, Jiewen wrote:
> Reviewed-by: Jiewen Yao <Jiewen.yao at intel.com>

Thanks!
Pushed as 0f28c513d392.

BZ closed.

/
    Leif

> > -----Original Message-----
> > From: Leif Lindholm <leif.lindholm at linaro.org>
> > Sent: Friday, October 18, 2019 5:43 PM
> > To: devel at edk2.groups.io
> > Cc: Yao, Jiewen <jiewen.yao at intel.com>; Zhang, Chao B
> > <chao.b.zhang at intel.com>; Laszlo Ersek <lersek at 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.yao at intel.com>
> > Cc: Chao Zhang <chao.b.zhang at intel.com>
> > Cc: Laszlo Ersek <lersek at redhat.com>
> > Signed-off-by: Leif Lindholm <leif.lindholm at 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 (#49229): https://edk2.groups.io/g/devel/message/49229
Mute This Topic: https://groups.io/mt/35012889/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