From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mx.groups.io with SMTP id smtpd.web11.22076.1581342464875184301 for ; Mon, 10 Feb 2020 05:47:45 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.93, mailfrom: liming.gao@intel.com) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Feb 2020 05:47:44 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,425,1574150400"; d="scan'208";a="226200703" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga007.fm.intel.com with ESMTP; 10 Feb 2020 05:47:44 -0800 Received: from shsmsx606.ccr.corp.intel.com (10.109.6.216) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 10 Feb 2020 05:47:44 -0800 Received: from shsmsx606.ccr.corp.intel.com (10.109.6.216) by SHSMSX606.ccr.corp.intel.com (10.109.6.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 10 Feb 2020 21:47:42 +0800 Received: from shsmsx606.ccr.corp.intel.com ([10.109.6.216]) by SHSMSX606.ccr.corp.intel.com ([10.109.6.216]) with mapi id 15.01.1713.004; Mon, 10 Feb 2020 21:47:42 +0800 From: "Liming Gao" To: "devel@edk2.groups.io" , "vit9696@protonmail.com" Subject: Re: [edk2-devel] [PATCH 1/1] BaseTools: Switch to GNU mode for CLANGPDB Thread-Topic: [edk2-devel] [PATCH 1/1] BaseTools: Switch to GNU mode for CLANGPDB Thread-Index: AQHV4AE2nPOGc/LOW023GZSd4REgWqgUcMYw Date: Mon, 10 Feb 2020 13:47:42 +0000 Message-ID: <7399fb4286314a9bb4c0378a6622b844@intel.com> References: <20200210105919.19192-1-vit9696@protonmail.com> <20200210105919.19192-2-vit9696@protonmail.com> In-Reply-To: <20200210105919.19192-2-vit9696@protonmail.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.2.0.6 dlp-product: dlpe-windows dlp-reaction: no-action x-originating-ip: [10.239.127.36] MIME-Version: 1.0 Return-Path: liming.gao@intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Vitaly: This change is good. Can you your test for it? I verify this patch for Ov= mf platform on Windows. It can make ovmf pass build with CLANGPDB. Thanks Liming > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of Vitaly Che= ptsov via Groups.Io > Sent: Monday, February 10, 2020 6:59 PM > To: devel@edk2.groups.io > Subject: [edk2-devel] [PATCH 1/1] BaseTools: Switch to GNU mode for CLANG= PDB >=20 > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2397 >=20 > Signed-off-by: Vitaly Cheptsov > --- > BaseTools/Conf/tools_def.template | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) >=20 > diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf/tools_def= .template > index feee2bbf16..6bf6c5768e 100755 > --- a/BaseTools/Conf/tools_def.template > +++ b/BaseTools/Conf/tools_def.template > @@ -2755,11 +2755,11 @@ RELEASE_CLANG38_AARCH64_DLINK_FLAGS =3D DEF(CLANG= 38_AARCH64_DLINK_FLAGS) -flto -Wl > DEFINE CLANGPDB_IA32_PREFIX =3D ENV(CLANG_BIN) > DEFINE CLANGPDB_X64_PREFIX =3D ENV(CLANG_BIN) >=20 > -DEFINE CLANGPDB_IA32_TARGET =3D -target i686-unknown-windows > -DEFINE CLANGPDB_X64_TARGET =3D -target x86_64-unknown-windows > +DEFINE CLANGPDB_IA32_TARGET =3D -target i686-unknown-windows-gn= u > +DEFINE CLANGPDB_X64_TARGET =3D -target x86_64-unknown-windows-= gnu >=20 > DEFINE CLANGPDB_WARNING_OVERRIDES =3D -Wno-parentheses-equality -Wno-= tautological-compare -Wno-tautological-constant-out- > of-range-compare -Wno-empty-body -Wno-unused-const-variable -Wno-varargs = -Wno-unknown-warning-option -Wno-microsoft-enum- > forward-reference > -DEFINE CLANGPDB_ALL_CC_FLAGS =3D DEF(GCC48_ALL_CC_FLAGS) DEF(CLA= NGPDB_WARNING_OVERRIDES) -fno-stack-protector - > mms-bitfields -Wno-address -Wno-shift-negative-value -Wno-unknown-pragmas= -Wno-incompatible-library-redeclaration -fno- > asynchronous-unwind-tables -mno-implicit-float -ftrap-function=3Dundefin= ed_behavior_has_been_optimized_away_by_clang - > funsigned-char -fno-ms-extensions -Wno-null-dereference -fms-compatibilit= y -mno-stack-arg-probe > +DEFINE CLANGPDB_ALL_CC_FLAGS =3D DEF(GCC48_ALL_CC_FLAGS) DEF(CLA= NGPDB_WARNING_OVERRIDES) -fno-stack-protector - > fno-asynchronous-unwind-tables -funsigned-char -ftrap-function=3Dundefine= d_behavior_has_been_optimized_away_by_clang -Wno- > address -Wno-shift-negative-value -Wno-unknown-pragmas -Wno-incompatible-= library-redeclaration -Wno-null-dereference -mno- > implicit-float -mms-bitfields -mno-stack-arg-probe -nostdlib -nostdlibinc >=20 > ########################### > # CLANGPDB IA32 definitions > -- > 2.21.1 (Apple Git-122.3) >=20 >=20 > -=3D-=3D-=3D-=3D-=3D-=3D > Groups.io Links: You receive all messages sent to this group. >=20 > View/Reply Online (#54130): https://edk2.groups.io/g/devel/message/54130 > Mute This Topic: https://groups.io/mt/71134286/1759384 > Group Owner: devel+owner@edk2.groups.io > Unsubscribe: https://edk2.groups.io/g/devel/unsub [liming.gao@intel.com] > -=3D-=3D-=3D-=3D-=3D-=3D