From nobody Tue Nov 26 06:43:01 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+56049+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+56049+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1584716074; cv=none; d=zohomail.com; s=zohoarc; b=j3OQgK4TNoZt/gcqhOsxm1WCh0wMTd4c+4+geaxFJcs2IN75M1lSFIkWZVV150FW+1sIHl2p8J5qyqtDfYrlUeLtQoywxErp/kPM9/gD+eeocI5Uwcc7fNGU7VvqOxBlShhQC8Eh8ghyLZT5DCpZDP82nn5lhapK2bLolemdUQg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1584716074; h=Content-Transfer-Encoding:Cc:Date:From:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=ROeETQduH1kHzfJZfVN/fstEoEBY+YwPalq5qkwt2+U=; b=dWYcBNultsZnGbd2w4EN0U4ITSeiaHpfo4XiMkjvUGQhx1ND+G1lPuYoUOF46/dbyGwAHKDv2dFHgTNdDGyV21OBhlfapkA7T7jsnV27H+wc4YS8B8zSTYfeyLB93ByBr3iS868RFyAqW1rQPDEXcit+7h4w/e8EAz0dVhpGSG0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+56049+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1584716074481521.4425297946086; Fri, 20 Mar 2020 07:54:34 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id mxrSYY1788612xDyb8gksJfY; Fri, 20 Mar 2020 07:54:34 -0700 X-Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mx.groups.io with SMTP id smtpd.web12.6156.1584681954135984926 for ; Thu, 19 Mar 2020 22:25:54 -0700 IronPort-SDR: m3X5QgotEDGlDCrWGavwmEPeJV3jVVDH8E64gywyliRkKgC5gBqzeZWNncT2x4DfuSbry/Fbj/ BDezDic9rraA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Mar 2020 22:25:53 -0700 IronPort-SDR: 4PMWhPefLfQKMAjaDcyzjpeBmIqu+9Y4GLy845GMG6pusvnFJ8NTAvOoe4wECtQ4eEyn2l9Ef6 xq3yH1V4H1DQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,283,1580803200"; d="scan'208";a="248770861" X-Received: from guominji-mobl.ccr.corp.intel.com ([10.238.5.173]) by orsmga006.jf.intel.com with ESMTP; 19 Mar 2020 22:25:51 -0700 From: "Jiang, Guomin" To: devel@edk2.groups.io Cc: Jordan Justen , Andrew Fish , Ray Ni Subject: [edk2-devel] [PATCH] EmulatorPkg/WinHost: Add link flags for VS2019 tool chains. Date: Fri, 20 Mar 2020 13:25:51 +0800 Message-Id: <20200320052551.1013-1-guomin.jiang@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,guomin.jiang@intel.com X-Gm-Message-State: bjgbF8sI7hUMibIsfTh9CJMCx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1584716074; bh=wqJtIdVWQF6znFm53NOhjlB1KfRSeXD0sLqVUFCWVys=; h=Cc:Date:From:Reply-To:Subject:To; b=FwYvZ6S8x8j1pKWxCyzqu47BV2uWC7j3dWT8OC0AhHKZuLlKJr78t+O3rK7iX5Xz0Xw /PUsP+ch2diG4fZJVbNyCflktrEU8wvVIuxIjMqXtqf4knScItrqQ14QAOiCBIvoPEhKU 3UVX1cw467POIr2yPezIn4zgP3lp1khDHwU= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2604 The link flags for VS2019 is absent and result the build fail. Cc: Jordan Justen Cc: Andrew Fish Cc: Ray Ni Signed-off-by: Guomin Jiang --- EmulatorPkg/Win/Host/WinHost.inf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/EmulatorPkg/Win/Host/WinHost.inf b/EmulatorPkg/Win/Host/WinHos= t.inf index e0b3ecb15b..44e938761d 100644 --- a/EmulatorPkg/Win/Host/WinHost.inf +++ b/EmulatorPkg/Win/Host/WinHost.inf @@ -87,12 +87,14 @@ MSFT:*_VS2015_IA32_DLINK_FLAGS =3D /LIBPATH:"%VS2015_PREFIX%Lib" /LI= BPATH:"%VS2015_PREFIX%VC\Lib" /LIBPATH:"%UniversalCRTSdkDir%lib\%UCRTVersio= n%\ucrt\x86" /LIBPATH:"%WindowsSdkDir%lib\%WindowsSDKLibVersion%\um\x86" /N= OLOGO /SUBSYSTEM:CONSOLE /NODEFAULTLIB /IGNORE:4086 /MAP /OPT:REF /DEBUG /M= ACHINE:I386 /LTCG Kernel32.lib MSVCRTD.lib Gdi32.lib User32.lib Winmm.lib A= dvapi32.lib vcruntimed.lib ucrtd.lib MSFT:*_VS2015x86_IA32_DLINK_FLAGS =3D /LIBPATH:"%VS2015_PREFIX%Lib" /LI= BPATH:"%VS2015_PREFIX%VC\Lib" /LIBPATH:"%UniversalCRTSdkDir%lib\%UCRTVersio= n%\ucrt\x86" /LIBPATH:"%WindowsSdkDir%lib\%WindowsSDKLibVersion%\um\x86" /N= OLOGO /SUBSYSTEM:CONSOLE /NODEFAULTLIB /IGNORE:4086 /MAP /OPT:REF /DEBUG /M= ACHINE:I386 /LTCG Kernel32.lib MSVCRTD.lib Gdi32.lib User32.lib Winmm.lib A= dvapi32.lib vcruntimed.lib ucrtd.lib MSFT:*_VS2017_IA32_DLINK_FLAGS =3D /LIBPATH:"%VCToolsInstallDir%lib\= x86" /LIBPATH:"%UniversalCRTSdkDir%lib\%UCRTVersion%\ucrt\x86" /LIBPATH:"%W= indowsSdkDir%lib\%WindowsSDKLibVersion%\um\x86" /NOLOGO /SUBSYSTEM:CONSOLE = /NODEFAULTLIB /IGNORE:4086 /MAP /OPT:REF /DEBUG /MACHINE:I386 /LTCG Kernel3= 2.lib MSVCRTD.lib vcruntimed.lib ucrtd.lib Gdi32.lib User32.lib Winmm.lib A= dvapi32.lib + MSFT:*_VS2019_IA32_DLINK_FLAGS =3D /LIBPATH:"%VCToolsInstallDir%lib\= x86" /LIBPATH:"%UniversalCRTSdkDir%lib\%UCRTVersion%\ucrt\x86" /LIBPATH:"%W= indowsSdkDir%lib\%WindowsSDKLibVersion%\um\x86" /NOLOGO /SUBSYSTEM:CONSOLE = /NODEFAULTLIB /IGNORE:4086 /MAP /OPT:REF /DEBUG /MACHINE:I386 /LTCG Kernel3= 2.lib MSVCRTD.lib vcruntimed.lib ucrtd.lib Gdi32.lib User32.lib Winmm.lib A= dvapi32.lib MSFT:*_*_IA32_ASM_FLAGS =3D=3D /nologo /W3 /WX /c /coff /Cx /Z= d /W0 /Zi MSFT:*_*_IA32_ASMLINK_FLAGS =3D=3D /link /nologo /tiny =20 MSFT:*_VS2015_X64_DLINK_FLAGS =3D /LIBPATH:"%VS2015_PREFIX%VC\Lib\A= MD64" /LIBPATH:"%UniversalCRTSdkDir%lib\%UCRTVersion%\ucrt\x64" /LIBPATH:"%= WindowsSdkDir%lib\%WindowsSDKLibVersion%\um\x64" /NOLOGO /SUBSYSTEM:CONSOLE= /NODEFAULTLIB /IGNORE:4086 /MAP /OPT:REF /DEBUG /MACHINE:AMD64 /LTCG Kerne= l32.lib MSVCRTD.lib vcruntimed.lib ucrtd.lib Gdi32.lib User32.lib Winmm.lib= Advapi32.lib MSFT:*_VS2015x86_X64_DLINK_FLAGS =3D /LIBPATH:"%VS2015_PREFIX%VC\Lib\A= MD64" /LIBPATH:"%UniversalCRTSdkDir%lib\%UCRTVersion%\ucrt\x64" /LIBPATH:"%= WindowsSdkDir%lib\%WindowsSDKLibVersion%\um\x64" /NOLOGO /SUBSYSTEM:CONSOLE= /NODEFAULTLIB /IGNORE:4086 /MAP /OPT:REF /DEBUG /MACHINE:AMD64 /LTCG Kerne= l32.lib MSVCRTD.lib vcruntimed.lib ucrtd.lib Gdi32.lib User32.lib Winmm.lib= Advapi32.lib MSFT:*_VS2017_X64_DLINK_FLAGS =3D /LIBPATH:"%VCToolsInstallDir%lib\= x64" /LIBPATH:"%UniversalCRTSdkDir%lib\%UCRTVersion%\ucrt\x64" /LIBPATH:"%W= indowsSdkDir%lib\%WindowsSDKLibVersion%\um\x64" /NOLOGO /SUBSYSTEM:CONSOLE = /NODEFAULTLIB /IGNORE:4086 /MAP /OPT:REF /DEBUG /MACHINE:AMD64 /LTCG Kernel= 32.lib MSVCRTD.lib vcruntimed.lib ucrtd.lib Gdi32.lib User32.lib Winmm.lib = Advapi32.lib + MSFT:*_VS2019_X64_DLINK_FLAGS =3D /LIBPATH:"%VCToolsInstallDir%lib\= x64" /LIBPATH:"%UniversalCRTSdkDir%lib\%UCRTVersion%\ucrt\x64" /LIBPATH:"%W= indowsSdkDir%lib\%WindowsSDKLibVersion%\um\x64" /NOLOGO /SUBSYSTEM:CONSOLE = /NODEFAULTLIB /IGNORE:4086 /MAP /OPT:REF /DEBUG /MACHINE:AMD64 /LTCG Kernel= 32.lib MSVCRTD.lib vcruntimed.lib ucrtd.lib Gdi32.lib User32.lib Winmm.lib = Advapi32.lib MSFT:*_*_X64_ASM_FLAGS =3D=3D /nologo /W3 /WX /c /Cx /Zd /W0 = /Zi MSFT:*_*_X64_ASMLINK_FLAGS =3D=3D /link /nologo =20 --=20 2.25.1.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#56049): https://edk2.groups.io/g/devel/message/56049 Mute This Topic: https://groups.io/mt/72093907/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-