From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (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 60197802B1 for ; Wed, 15 Mar 2017 02:16:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1489569388; x=1521105388; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=GeL9jK8iVPhZWI4zuI9Gs2vuJJB0WpGmDQxx9EBrn0w=; b=QQNMPo51ZgMCUiwF+hpP12Bxw+5wgRPbdYThHzcwt7bqu0rIQ2NvFq3m qc8nB4MJaWM61aOh1sN20NlckeT5Hw==; Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Mar 2017 02:16:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,168,1486454400"; d="scan'208";a="944495069" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga003.jf.intel.com with ESMTP; 15 Mar 2017 02:16:27 -0700 Received: from fmsmsx125.amr.corp.intel.com (10.18.125.40) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 15 Mar 2017 02:16:26 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX125.amr.corp.intel.com (10.18.125.40) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 15 Mar 2017 02:16:26 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.20]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.132]) with mapi id 14.03.0248.002; Wed, 15 Mar 2017 17:16:23 +0800 From: "Zhu, Yonghong" To: "Marvin.Haeuser@outlook.com" , "edk2-devel@lists.01.org" CC: "Gao, Liming" , Ard Biesheuvel , "Zhu, Yonghong" Thread-Topic: [PATCH] BaseTools/tools_def: Use armv7-a for CLANG35 ARM compilations. Thread-Index: AQHSlVQLG9CM5ZUgXk2yjbJI0vy/l6GVrjmA Date: Wed, 15 Mar 2017 09:16:22 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH] BaseTools/tools_def: Use armv7-a for CLANG35 ARM compilations. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Mar 2017 09:16:28 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Ard, Please help to review. Thanks. Best Regards, Zhu Yonghong -----Original Message----- From: Marvin H=E4user [mailto:Marvin.Haeuser@outlook.com]=20 Sent: Sunday, March 05, 2017 9:59 AM To: edk2-devel@lists.01.org Cc: Gao, Liming ; Zhu, Yonghong Subject: [PATCH] BaseTools/tools_def: Use armv7-a for CLANG35 ARM compilati= ons. Define "-march=3Darmv7-a" - which is used by the GCC toolchains - for ARM C= LAMNG35 builds to fix compilation of the MemoryFence ASM. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Marvin Haeuser --- BaseTools/Conf/tools_def.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf/tools_def.t= emplate index 57455ac9f2f3..ab4f936e7a8b 100755 --- a/BaseTools/Conf/tools_def.template +++ b/BaseTools/Conf/tools_def.template @@ -5459,7 +5459,7 @@ DEFINE CLANG35_AARCH64_CC_FLAGS =3D DEF(GCC_AARCH64_= CC_FLAGS) DEF(CLANG35_AARCH64 *_CLANG35_ARM_ASM_FLAGS =3D DEF(GCC_ASM_FLAGS) DEF(CLANG35_ARM_TA= RGET) $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) -Qunused-arguments *_CLANG35_ARM_DLINK_FLAGS =3D DEF(CLANG35_ARM_TARGET) DEF(GCC_ARM_D= LINK_FLAGS) *_CLANG35_ARM_DLINK2_FLAGS =3D DEF(GCC_DLINK2_FLAGS_COMMON) -Wl,--de= fsym=3DPECOFF_HEADER_SIZE=3D0x220 -*_CLANG35_ARM_PLATFORM_FLAGS =3D +*_CLANG35_ARM_PLATFORM_FLAGS =3D -march=3Darmv7-a *_CLANG35_ARM_PP_FLAGS =3D DEF(GCC_PP_FLAGS) DEF(CLANG35_ARM_TAR= GET) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) *_CLANG35_ARM_RC_FLAGS =3D DEF(GCC_ARM_RC_FLAGS) *_CLANG35_ARM_VFRPP_FLAGS =3D DEF(GCC_VFRPP_FLAGS) DEF(CLANG35_ARM_= TARGET) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -- 2.11.1.windows.1