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.web09.1375.1573721082592978881 for ; Thu, 14 Nov 2019 00:44:42 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.88, mailfrom: ray.ni@intel.com) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Nov 2019 00:44:42 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,302,1569308400"; d="scan'208";a="235587521" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga002.fm.intel.com with ESMTP; 14 Nov 2019 00:44:42 -0800 Received: from fmsmsx156.amr.corp.intel.com (10.18.116.74) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 14 Nov 2019 00:44:41 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx156.amr.corp.intel.com (10.18.116.74) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 14 Nov 2019 00:44:41 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.127]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.149]) with mapi id 14.03.0439.000; Thu, 14 Nov 2019 16:44:39 +0800 From: "Ni, Ray" To: "Gao, Liming" , "devel@edk2.groups.io" CC: Andrew Fish Subject: Re: [Patch 5/5] EmulatorPkg DSC and WinHost.inf: Update tool chain name to CLANGPDB Thread-Topic: [Patch 5/5] EmulatorPkg DSC and WinHost.inf: Update tool chain name to CLANGPDB Thread-Index: AQHVmsUTXdKg547NCUK/XXePUXoQzqeKWWYA Date: Thu, 14 Nov 2019 08:44:38 +0000 Deferred-Delivery: Thu, 14 Nov 2019 08:43:00 +0000 Message-ID: <734D49CCEBEEF84792F5B80ED585239D5C35E490@SHSMSX104.ccr.corp.intel.com> References: <1573719880-6820-1-git-send-email-liming.gao@intel.com> <1573719880-6820-6-git-send-email-liming.gao@intel.com> In-Reply-To: <1573719880-6820-6-git-send-email-liming.gao@intel.com> Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: ray.ni@intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Ray Ni > -----Original Message----- > From: Gao, Liming > Sent: Thursday, November 14, 2019 4:25 PM > To: devel@edk2.groups.io > Cc: Ni, Ray ; Andrew Fish > Subject: [Patch 5/5] EmulatorPkg DSC and WinHost.inf: Update tool chain > name to CLANGPDB >=20 > BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2341 >=20 > Signed-off-by: Liming Gao > Cc: Ray Ni > Cc: Andrew Fish > --- > EmulatorPkg/EmulatorPkg.dsc | 12 ++++++------ > EmulatorPkg/Win/Host/WinHost.inf | 8 ++++---- > 2 files changed, 10 insertions(+), 10 deletions(-) >=20 > diff --git a/EmulatorPkg/EmulatorPkg.dsc b/EmulatorPkg/EmulatorPkg.dsc > index 109685b062..1fc924ae5a 100644 > --- a/EmulatorPkg/EmulatorPkg.dsc > +++ b/EmulatorPkg/EmulatorPkg.dsc > @@ -240,7 +240,7 @@ > !if "MSFT" in $(FAMILY) || $(WIN_HOST_BUILD) =3D=3D TRUE > ## > # Emulator, OS WIN application > - # CLANG9 is cross OS tool chain. It depends on WIN_HOST_BUILD flag > + # CLANGPDB is cross OS tool chain. It depends on WIN_HOST_BUILD > + flag > # to build WinHost application. > ## > EmulatorPkg/Win/Host/WinHost.inf > @@ -421,7 +421,7 @@ >=20 > MSFT:DEBUG_*_*_CC_FLAGS =3D /Od /Oy- > MSFT:NOOPT_*_*_CC_FLAGS =3D /Od /Oy- > - GCC:DEBUG_CLANG9_*_CC_FLAGS =3D-O0 -Wno-unused-command-line- > argument -Wno-incompatible-pointer-types -Wno-enum-conversion -Wno- > incompatible-pointer-types -Wno-sometimes-uninitialized -Wno-constant- > conversion -Wno-main-return-type > + GCC:DEBUG_CLANGPDB_*_CC_FLAGS =3D-O0 -Wno-unused-command-line- > argument > + -Wno-incompatible-pointer-types -Wno-enum-conversion > + -Wno-incompatible-pointer-types -Wno-sometimes-uninitialized > + -Wno-constant-conversion -Wno-main-return-type >=20 > MSFT:*_*_*_DLINK_FLAGS =3D /ALIGN:4096 /FILEALIGN:4096 > /SUBSYSTEM:CONSOLE > MSFT:DEBUG_*_*_DLINK_FLAGS =3D > /EXPORT:InitializeDriver=3D$(IMAGE_ENTRY_POINT) /BASE:0x10000 @@ -429,9 > +429,9 @@ >=20 > !if $(WIN_HOST_BUILD) =3D=3D TRUE > # > - # CLANG9 tool chain depends on WIN_HOST_BUILD flag to generate the > windows application. > + # CLANGPDB tool chain depends on WIN_HOST_BUILD flag to generate > the windows application. > # > - GCC:*_CLANG9_*_DLINK_FLAGS =3D /ALIGN:4096 /FILEALIGN:4096 > /SUBSYSTEM:CONSOLE > - GCC:DEBUG_CLANG9_*_DLINK_FLAGS =3D > /EXPORT:InitializeDriver=3D$(IMAGE_ENTRY_POINT) /BASE:0x10000 > - GCC:NOOPT_CLANG9_*_DLINK_FLAGS =3D > /EXPORT:InitializeDriver=3D$(IMAGE_ENTRY_POINT) /BASE:0x10000 > + GCC:*_CLANGPDB_*_DLINK_FLAGS =3D /ALIGN:4096 /FILEALIGN:4096 > /SUBSYSTEM:CONSOLE > + GCC:DEBUG_CLANGPDB_*_DLINK_FLAGS =3D > + /EXPORT:InitializeDriver=3D$(IMAGE_ENTRY_POINT) /BASE:0x10000 > + GCC:NOOPT_CLANGPDB_*_DLINK_FLAGS =3D > + /EXPORT:InitializeDriver=3D$(IMAGE_ENTRY_POINT) /BASE:0x10000 > !endif > diff --git a/EmulatorPkg/Win/Host/WinHost.inf > b/EmulatorPkg/Win/Host/WinHost.inf > index 1adca10d79..e0b3ecb15b 100644 > --- a/EmulatorPkg/Win/Host/WinHost.inf > +++ b/EmulatorPkg/Win/Host/WinHost.inf > @@ -96,8 +96,8 @@ > MSFT:*_*_X64_ASM_FLAGS =3D=3D /nologo /W3 /WX /c /Cx /Zd /W= 0 /Zi > MSFT:*_*_X64_ASMLINK_FLAGS =3D=3D /link /nologo >=20 > - GCC:*_CLANG9_X64_DLINK_FLAGS =3D=3D > /out:"$(BIN_DIR)\$(BASE_NAME).exe" /base:0x10000000 > /pdb:"$(BIN_DIR)\$(BASE_NAME).pdb" > /LIBPATH:"%UniversalCRTSdkDir%lib\%UCRTVersion%\ucrt\x64" > /LIBPATH:"%WindowsSdkDir%lib\%WindowsSDKLibVersion%\um\x64" > /LIBPATH:"%VCToolsInstallDir%lib\x64" /NOLOGO /SUBSYSTEM:CONSOLE > /NODEFAULTLIB /IGNORE:4086 /OPT:REF /DEBUG /MACHINE:AMD64 > Kernel32.lib MSVCRTD.lib vcruntimed.lib ucrtd.lib Gdi32.lib User32.lib > Winmm.lib Advapi32.lib /lldmap > /EXPORT:InitializeDriver=3D_ModuleEntryPoint > - GCC:*_CLANG9_X64_CC_FLAGS =3D=3D -m64 -g -fshort-wchar -fno-strict- > aliasing -Wall -c -include AutoGen.h -D _CRT_SECURE_NO_WARNINGS - > Wnonportable-include-path -D UNICODE -D _CRT_SECURE_NO_DEPRECATE > + GCC:*_CLANGPDB_X64_DLINK_FLAGS =3D=3D > /out:"$(BIN_DIR)\$(BASE_NAME).exe" /base:0x10000000 > /pdb:"$(BIN_DIR)\$(BASE_NAME).pdb" > /LIBPATH:"%UniversalCRTSdkDir%lib\%UCRTVersion%\ucrt\x64" > /LIBPATH:"%WindowsSdkDir%lib\%WindowsSDKLibVersion%\um\x64" > /LIBPATH:"%VCToolsInstallDir%lib\x64" /NOLOGO /SUBSYSTEM:CONSOLE > /NODEFAULTLIB /IGNORE:4086 /OPT:REF /DEBUG /MACHINE:AMD64 > Kernel32.lib MSVCRTD.lib vcruntimed.lib ucrtd.lib Gdi32.lib User32.lib > Winmm.lib Advapi32.lib /lldmap > /EXPORT:InitializeDriver=3D_ModuleEntryPoint > + GCC:*_CLANGPDB_X64_CC_FLAGS =3D=3D -m64 -g -fshort-wchar > + -fno-strict-aliasing -Wall -c -include AutoGen.h -D > + _CRT_SECURE_NO_WARNINGS -Wnonportable-include-path -D UNICODE > -D > + _CRT_SECURE_NO_DEPRECATE >=20 > - GCC:*_CLANG9_IA32_DLINK_FLAGS =3D=3D > /out:"$(BIN_DIR)\$(BASE_NAME).exe" /base:0x10000000 > /pdb:"$(BIN_DIR)\$(BASE_NAME).pdb" > /LIBPATH:"%UniversalCRTSdkDir%lib\%UCRTVersion%\ucrt\x86" > /LIBPATH:"%WindowsSdkDir%lib\%WindowsSDKLibVersion%\um\x86" > /LIBPATH:"%VCToolsInstallDir%ib\x86" /NOLOGO /SUBSYSTEM:CONSOLE > /NODEFAULTLIB /IGNORE:4086 /OPT:REF /DEBUG /MACHINE:I386 > Kernel32.lib MSVCRTD.lib vcruntimed.lib ucrtd.lib Gdi32.lib User32.lib > Winmm.lib Advapi32.lib /lldmap > /EXPORT:InitializeDriver=3D_ModuleEntryPoint > - GCC:*_CLANG9_IA32_CC_FLAGS =3D=3D -m32 -g -fshort-wchar -fno-strict- > aliasing -Wall -c -include AutoGen.h -D _CRT_SECURE_NO_WARNINGS - > Wnonportable-include-path -D UNICODE -D _CRT_SECURE_NO_DEPRECATE > + GCC:*_CLANGPDB_IA32_DLINK_FLAGS =3D=3D > /out:"$(BIN_DIR)\$(BASE_NAME).exe" /base:0x10000000 > /pdb:"$(BIN_DIR)\$(BASE_NAME).pdb" > /LIBPATH:"%UniversalCRTSdkDir%lib\%UCRTVersion%\ucrt\x86" > /LIBPATH:"%WindowsSdkDir%lib\%WindowsSDKLibVersion%\um\x86" > /LIBPATH:"%VCToolsInstallDir%ib\x86" /NOLOGO /SUBSYSTEM:CONSOLE > /NODEFAULTLIB /IGNORE:4086 /OPT:REF /DEBUG /MACHINE:I386 > Kernel32.lib MSVCRTD.lib vcruntimed.lib ucrtd.lib Gdi32.lib User32.lib > Winmm.lib Advapi32.lib /lldmap > /EXPORT:InitializeDriver=3D_ModuleEntryPoint > + GCC:*_CLANGPDB_IA32_CC_FLAGS =3D=3D -m32 -g -fshort-wchar > + -fno-strict-aliasing -Wall -c -include AutoGen.h -D > + _CRT_SECURE_NO_WARNINGS -Wnonportable-include-path -D UNICODE > -D > + _CRT_SECURE_NO_DEPRECATE > -- > 2.13.0.windows.1