From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-x22b.google.com (mail-io0-x22b.google.com [IPv6:2607:f8b0:4001:c06::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 957D88034C for ; Wed, 15 Mar 2017 02:22:04 -0700 (PDT) Received: by mail-io0-x22b.google.com with SMTP id z13so16115831iof.2 for ; Wed, 15 Mar 2017 02:22:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=A+Lvq12qr4fCa4x0MSf83kp53OjyhXEBS2eeAv+zqpI=; b=cw0hmpYlREm2MN3dzDul22BH4/YbJQCDv/o/24hPbNEoLax8VOThZ41tkmp+dd1Esx FiMlypEZN5uL0ZwuBi7wH9MQ4vtp01vMHKquhPCFE8SKLRXCS1hCDpM/B7g+qb3pMX7R y8+82Oo3GVaNzD2vGKEMGsBdVKJQWf488QKr8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=A+Lvq12qr4fCa4x0MSf83kp53OjyhXEBS2eeAv+zqpI=; b=qgLYIlXxDdz4T9VLe5ur0RYYw0s51gmxTSYRTm7Rjdu6Ap1/uvP4XLdaq5sVlel593 NlJ1f7j/i+w4xmpcZw7Vk9TX6NBEWBlThoQ3H7MyUOLes0ewS+/U0s4KTN6ndx0XWyPY jj2NIQEdTsDSCfEbnOprlzGaIW6YrKBqJP0bQI0le0RY3LEuQFUNW9iUhOlicAOiJOzp Z0gAGQbN6eQ/tS0Y/4b9ywZECypimz2kMED8oT/SkunvvkPE1m2p3rqUxnlmqqaEwEhY 77vAq5KMEFgc0d39oZFe6x+BocabeVKbASqmeZAQRgMOMgRxdL+cEfv2TKP/n9e+LUwS loNA== X-Gm-Message-State: AFeK/H0j5eoSDTjPAJLVaghw4uE+B2jXnMqN++KlYwN+MwhKWNqQJ6LL1tGKsLUUxiahB8K93Bl8/pVsD4dSIQI+ X-Received: by 10.107.168.21 with SMTP id r21mr3729444ioe.45.1489569723978; Wed, 15 Mar 2017 02:22:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.10.27 with HTTP; Wed, 15 Mar 2017 02:22:03 -0700 (PDT) In-Reply-To: References: From: Ard Biesheuvel Date: Wed, 15 Mar 2017 09:22:03 +0000 Message-ID: To: "Zhu, Yonghong" Cc: "Marvin.Haeuser@outlook.com" , "edk2-devel@lists.01.org" , "Gao, Liming" 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:22:04 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 15 March 2017 at 09:16, Zhu, Yonghong wrote: > Ard, > > Please help to review. Thanks. > > Best Regards, > Zhu Yonghong > > > -----Original Message----- > From: Marvin H=C3=A4user [mailto:Marvin.Haeuser@outlook.com] > 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 compila= tions. > > Define "-march=3Darmv7-a" - which is used by the GCC toolchains - for ARM= CLAMNG35 builds to fix compilation of the MemoryFence ASM. > > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Marvin Haeuser Reviewed-by: Ard Biesheuvel > --- > 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= .template > 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_AARCH6= 4_CC_FLAGS) DEF(CLANG35_AARCH64 > *_CLANG35_ARM_ASM_FLAGS =3D DEF(GCC_ASM_FLAGS) DEF(CLANG35_ARM_= TARGET) $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) -Qunused-arguments > *_CLANG35_ARM_DLINK_FLAGS =3D DEF(CLANG35_ARM_TARGET) DEF(GCC_ARM= _DLINK_FLAGS) > *_CLANG35_ARM_DLINK2_FLAGS =3D DEF(GCC_DLINK2_FLAGS_COMMON) -Wl,--= defsym=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_T= ARGET) $(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_AR= M_TARGET) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) > -- > 2.11.1.windows.1 >