From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx.groups.io with SMTP id smtpd.web12.4658.1571397621998119388 for ; Fri, 18 Oct 2019 04:20:22 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.88, mailfrom: jiewen.yao@intel.com) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Oct 2019 04:20:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,311,1566889200"; d="scan'208";a="208890660" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga001.fm.intel.com with ESMTP; 18 Oct 2019 04:20:21 -0700 Received: from fmsmsx151.amr.corp.intel.com (10.18.125.4) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 18 Oct 2019 04:20:21 -0700 Received: from shsmsx106.ccr.corp.intel.com (10.239.4.159) by FMSMSX151.amr.corp.intel.com (10.18.125.4) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 18 Oct 2019 04:20:21 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.176]) by SHSMSX106.ccr.corp.intel.com ([169.254.10.119]) with mapi id 14.03.0439.000; Fri, 18 Oct 2019 19:20:19 +0800 From: "Yao, Jiewen" To: Leif Lindholm , "devel@edk2.groups.io" CC: "Zhang, Chao B" , Laszlo Ersek Subject: Re: [PATCH 1/1] SignedCapsulePkg: fix AARCH64 build Thread-Topic: [PATCH 1/1] SignedCapsulePkg: fix AARCH64 build Thread-Index: AQHVhZiEVOW/4ePNmkqmFwDJSB23AadgQMpg Date: Fri, 18 Oct 2019 11:20:19 +0000 Message-ID: <74D8A39837DF1E4DA445A8C0B3885C503F807870@shsmsx102.ccr.corp.intel.com> References: <20191018094328.12632-1-leif.lindholm@linaro.org> In-Reply-To: <20191018094328.12632-1-leif.lindholm@linaro.org> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMTQ5YmEyYzktYzkyZi00NmNiLTk3MDktM2ZkYzM3ZDdmYWEzIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiUXArcElaR2ZLTytIRDFCZmtXdThmdlNYSytPS1wveVNNY01DakQ1R3NLYmI2bll5azZNRGU4VVo1RngrS0hrTnIifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: jiewen.yao@intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Jiewen Yao > -----Original Message----- > From: Leif Lindholm > Sent: Friday, October 18, 2019 5:43 PM > To: devel@edk2.groups.io > Cc: Yao, Jiewen ; Zhang, Chao B > ; Laszlo Ersek > Subject: [PATCH 1/1] SignedCapsulePkg: fix AARCH64 build >=20 > BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2252 >=20 > Add NULL library resolution of CompilerIntrinsicsLib and > BaseStackCheckLib for AARCH64 as well as ARM in order to > fix "undefined reference to `memcpy'" build errors. >=20 > Cc: Jiewen Yao > Cc: Chao Zhang > Cc: Laszlo Ersek > Signed-off-by: Leif Lindholm > --- > SignedCapsulePkg/SignedCapsulePkg.dsc | 1 + > 1 file changed, 1 insertion(+) >=20 > 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 >=20 > +[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 c= ompiler. > -- > 2.20.1