From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (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 7EB9E21DF8099 for ; Mon, 28 Aug 2017 00:16:55 -0700 (PDT) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Aug 2017 00:19:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,440,1498546800"; d="scan'208";a="142643555" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga005.jf.intel.com with ESMTP; 28 Aug 2017 00:19:22 -0700 Received: from fmsmsx152.amr.corp.intel.com (10.18.125.5) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 28 Aug 2017 00:19:21 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by FMSMSX152.amr.corp.intel.com (10.18.125.5) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 28 Aug 2017 00:19:21 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.39]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.168]) with mapi id 14.03.0319.002; Mon, 28 Aug 2017 15:19:17 +0800 From: "Gao, Liming" To: "Shi, Steven" , "edk2-devel@lists.01.org" Thread-Topic: [PATCH] BaseTools/Conf: Support LLVM39 and LLVM40 in CLANG38 toolchain Thread-Index: AQHTG92/8mh+ojyM9EiDFgxR8WypwaKZZCjg Date: Mon, 28 Aug 2017 07:19:16 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14D7815F7@shsmsx102.ccr.corp.intel.com> References: <20170823070107.38848-1-steven.shi@intel.com> In-Reply-To: <20170823070107.38848-1-steven.shi@intel.com> 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/Conf: Support LLVM39 and LLVM40 in CLANG38 toolchain X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2017 07:16:55 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Liming Gao >-----Original Message----- >From: Shi, Steven >Sent: Wednesday, August 23, 2017 3:01 PM >To: edk2-devel@lists.01.org; Gao, Liming >Cc: Zhu, Yonghong ; Shi, Steven > >Subject: [PATCH] BaseTools/Conf: Support LLVM39 and LLVM40 in CLANG38 >toolchain > >From: "Shi, Steven" > >Add LLVM39 and LLVM40 support in CLANG38 toolchain > >Contributed-under: TianoCore Contribution Agreement 1.0 >Signed-off-by: Steven Shi >--- > BaseTools/Conf/tools_def.template | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > >diff --git a/BaseTools/Conf/tools_def.template >b/BaseTools/Conf/tools_def.template >index 1fa3ca3..2f83341 100755 >--- a/BaseTools/Conf/tools_def.template >+++ b/BaseTools/Conf/tools_def.template >@@ -380,7 +380,8 @@ DEFINE SOURCERY_CYGWIN_TOOLS =3D >/cygdrive/c/Program Files/CodeSourcery/Sourcery G > # Intel(r) ACPI Compiler from > # https://acpica.org/downloads > # CLANG38 -Linux- Requires: >-# Clang v3.8 or later, LLVMgold plugin and GN= U binutils 2.26 >targeting x86_64-linux-gnu >+# Clang v3.8, LLVMgold plugin and GNU binutil= s 2.26 targeting >x86_64-linux-gnu >+# Clang v3.9 or later, LLVMgold plugin and GN= U binutils 2.28 >targeting x86_64-linux-gnu > # Optional: > # Required to build platforms or ACPI tables: > # Intel(r) ACPI Compiler from >@@ -5512,7 +5513,7 @@ DEFINE CLANG38_X64_PREFIX =3D >ENV(CLANG38_BIN) > DEFINE CLANG38_IA32_TARGET =3D -target i686-pc-linux-gnu > DEFINE CLANG38_X64_TARGET =3D -target x86_64-pc-linux-gnu > >-DEFINE CLANG38_ALL_CC_FLAGS =3D DEF(GCC44_ALL_CC_FLAGS) -Wno- >empty-body -fno-stack-protector -mms-bitfields -Wno-address -Wno-shift- >negative-value -Wno-parentheses-equality -Wno-unknown-pragmas -Wno- >tautological-constant-out-of-range-compare -Wno-incompatible-library- >redeclaration -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -msoft- >float -mno-implicit-float -ftrap- >function=3Dundefined_behavior_has_been_optimized_away_by_clang - >funsigned-char -fno-ms-extensions -Wno-null-dereference -Wno- >tautological-compare -Wno-unknown-warning-option >+DEFINE CLANG38_ALL_CC_FLAGS =3D DEF(GCC44_ALL_CC_FLAGS) -Wno- >empty-body -fno-stack-protector -mms-bitfields -Wno-address -Wno-shift- >negative-value -Wno-parentheses-equality -Wno-unknown-pragmas -Wno- >tautological-constant-out-of-range-compare -Wno-incompatible-library- >redeclaration -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -msoft- >float -mno-implicit-float -ftrap- >function=3Dundefined_behavior_has_been_optimized_away_by_clang - >funsigned-char -fno-ms-extensions -Wno-null-dereference -Wno- >tautological-compare -Wno-unknown-warning-option -Wno-varargs > > ########################### > # CLANG38 IA32 definitions >-- >2.7.4