From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from FRA01-MR2-obe.outbound.protection.outlook.com (FRA01-MR2-obe.outbound.protection.outlook.com [40.107.9.83]) by mx.groups.io with SMTP id smtpd.web10.40839.1589804849058066845 for ; Mon, 18 May 2020 05:27:30 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=CVEYlvgx; spf=pass (domain: arm.com, ip: 40.107.9.83, mailfrom: sami.mujawar@arm.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wv6bIkbQSXWL+JzojdtJYraYPp8HMx7NK8hHGYMMEbI=; b=CVEYlvgxxv68c8kcbDkkLbSjvb5BDLGHLdzl68eoALpTYsTTF09ZYryDdhMfB7KsIn36HuB+AqQtZ/dlAmfWZCo32oJKKJ72wy/XfLbKR5M84dgWhQSN7vW8NzVsdW0jlZNqhKeEPyv9G4fF+I083b2bCkXyxQaYGozg8D8qDYk= Received: from DB3PR06CA0033.eurprd06.prod.outlook.com (2603:10a6:8:1::46) by PR2PR08MB4891.eurprd08.prod.outlook.com (2603:10a6:101:27::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.25; Mon, 18 May 2020 12:27:25 +0000 Received: from DB5EUR03FT013.eop-EUR03.prod.protection.outlook.com (2603:10a6:8:1:cafe::a6) by DB3PR06CA0033.outlook.office365.com (2603:10a6:8:1::46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.25 via Frontend Transport; Mon, 18 May 2020 12:27:25 +0000 Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; edk2.groups.io; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;edk2.groups.io; dmarc=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT013.mail.protection.outlook.com (10.152.20.105) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2979.27 via Frontend Transport; Mon, 18 May 2020 12:27:25 +0000 Received: ("Tessian outbound 11763d234d54:v54"); Mon, 18 May 2020 12:27:25 +0000 X-CR-MTA-TID: 64aa7808 Received: from 6d30f4cc274f.3 by 64aa7808-outbound-1.mta.getcheckrecipient.com id C4D8AF79-D64E-4B1B-BC64-D99042C8C0BA.1; Mon, 18 May 2020 12:27:20 +0000 Received: from EUR02-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 6d30f4cc274f.3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 18 May 2020 12:27:20 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dG+VKrZcZY32YmKDI9AKpP71ldRBQ6YHiBJqAn+G9ZLV6PsO13KQCx/6O9uVRAIKtr1vsQAzKwh4dvgHQBtHNNtppa7HMOdQm6E/h32OlmwGKT+qDb9M5VEEG79q12Q2OiEPDBVqKxlkvnS8ykMSI1pnmsDzyrZynYaJHwWNeZy+HOEy6wjUUHIbjNZ1kZtpbSxKqfAO4iQZ4mFwtkIjvF0crMFzkSxfaxgmTqpmD5tgkosu0s5SmWcxcWrX3KErqsKn8C5jl2rXRtFUH4wnDNHBRjE00nAmfs1AD01sX9oA4Lr8XUE+RmAzENOKAAxhGuF76C0Cgbce+S37btBMqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wv6bIkbQSXWL+JzojdtJYraYPp8HMx7NK8hHGYMMEbI=; b=na3d2m1dyDIMtx/iLI61daBvV5vV9uETGXPOXvLxTW084GiHnWXXotad8WAR61X9lLlW76yXCuoUf/QUy3dm456kSFp5M9+2c14KkJplZLYjp9xVDRTreONnvBmzIXjtAo0XzrWXPtMYnAan2CuwNIvmtqUWMBheH69aKDH52yMuGhI6C/a6hu0cZka0piSd9kXB29UkyhmYBYXUgU8tvwMNg0DumU76qXCO14vRmGeHYDUbsl+vmXLUV4TmN/MLW+0eUy56XXy1hQVxfvYeutN7AS2270b8rPP9MYFrar1Y1oRHkSu5UE5Z9Nb/KPrjY14j04Tbx1c09T7jzRlevA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wv6bIkbQSXWL+JzojdtJYraYPp8HMx7NK8hHGYMMEbI=; b=CVEYlvgxxv68c8kcbDkkLbSjvb5BDLGHLdzl68eoALpTYsTTF09ZYryDdhMfB7KsIn36HuB+AqQtZ/dlAmfWZCo32oJKKJ72wy/XfLbKR5M84dgWhQSN7vW8NzVsdW0jlZNqhKeEPyv9G4fF+I083b2bCkXyxQaYGozg8D8qDYk= Received: from DB7PR08MB3097.eurprd08.prod.outlook.com (2603:10a6:5:1d::27) by DB7PR08MB3692.eurprd08.prod.outlook.com (2603:10a6:10:30::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.25; Mon, 18 May 2020 12:27:17 +0000 Received: from DB7PR08MB3097.eurprd08.prod.outlook.com ([fe80::587:15d3:8425:65f9]) by DB7PR08MB3097.eurprd08.prod.outlook.com ([fe80::587:15d3:8425:65f9%6]) with mapi id 15.20.3000.034; Mon, 18 May 2020 12:27:17 +0000 From: "Sami Mujawar" To: "devel@edk2.groups.io" , "bob.c.feng@intel.com" , "liming.gao@intel.com" CC: Bret Barkelew , "leif@nuviainc.com" , Matteo Carlini , Laura Moretta , nd Subject: Re: [EXTERNAL] [edk2-devel] [PATCH v1 1/1] BaseTools: Remove deprecated Visual Studio Option Thread-Topic: [EXTERNAL] [edk2-devel] [PATCH v1 1/1] BaseTools: Remove deprecated Visual Studio Option Thread-Index: AQHWCeKLPlR/avJWh0uicRQ3W9dRc6huONyAgD/O4cA= Date: Mon, 18 May 2020 12:27:17 +0000 Message-ID: References: <20200403180547.26432-1-sami.mujawar@arm.com> In-Reply-To: Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=True;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2020-04-07T21:48:41.6769053Z;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Privileged x-ts-tracking-id: 4f406bbb-a914-4f18-a842-8bc5753baabb.1 x-checkrecipientchecked: true Authentication-Results-Original: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=arm.com; x-originating-ip: [217.140.99.251] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 5dfd2ef0-1492-43fe-e25b-08d7fb26d268 x-ms-traffictypediagnostic: DB7PR08MB3692:|PR2PR08MB4891: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:4941;OLM:4941; x-forefront-prvs: 04073E895A X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: wZYvod4suuy/YsXOoKIiCifUmqFIe4OAXNe7uyA9vCrGOaqn4d/BQtCga2vu26UA26WEBupgAGXqwX+RvtjbsI4+NM/QbjiIgbydX9u9Uuvxe4jitD+iQy/hNJY1K9bqi8yd6kIFFk5il3CxWs/xVAZtz/2/7/tj3ce/7C+nZPdoz4iiOdZQ9L61NhSfJJq0XZ3mq2LlMID77ZlzwrVyu4FeCkTXmB7JmHu//3ZOZG4DWbEPXMz3EclQbmO4yqqF1MKftpc5S3g/ygIi/M4aBQFGP1j+KAxuACAcXqUFKkkBnnyqPAu3bUBUetuspQjTPQdXpISA8au29/H+bkzV+ReRLHXJrU408Rys3i5iO6AQEpRZSjSx0hPZXfesf84oA3CNiw+QnsdigiHP9/aMxXuUlfkYcvTYzk9zsiUcUukJ05fqdoPtU32iIJsgChvrhyaLCvJLDTC59HHEKKfZW0cX9PThBb5/qTDgGaMzMZK+PGhhn5mrUzCnIw4vuYU7l2o0WJGWuTGWh2sMwaBkzIaLotj+atx2Wsy+LrJUr4ARDJ7OfUCgJQwMdZw05w5ylmHc9nMyOU4FxE+5lrTB20BL5TyshM6T3/PGGgSZCVQ= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB7PR08MB3097.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(396003)(39860400002)(376002)(366004)(136003)(346002)(52536014)(316002)(86362001)(6506007)(26005)(966005)(186003)(166002)(53546011)(7696005)(110136005)(5660300002)(4326008)(8936002)(54906003)(60390400001)(66946007)(66556008)(64756008)(2906002)(66446008)(66476007)(8676002)(76116006)(33656002)(71200400001)(45080400002)(9686003)(55016002)(478600001)(545624004)(460985005);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: xac38lPajTkqU+hW/mrIy1XWKXc03SYP2zpSe8bBfxG9weY2GQ2YV52LeJDjfyL4A+dt+1ADrNxpCSWQxA/uZLT7HIouDKlaO6qACE7RdgJRNQdUCBSKZDODRor+V73Eujy+pPQbnB3Xe2okfvdYqqWf2IG2qFwxj7yevRTm0JD44nhAJBSPHqTNsKH3W1lfurPLBWrwl9IhpqLHmPtCa+/Vz2ph8B0/61Z6QX0mzgr0s9rxia7UrnfNefE87OszvYDyZhMShdOim584VI+WSdocHOVYXjE9+lu7Q15zqjj0Ui8+FkHqmdCh5GZiRvQ/Evg6Ftpa/MAr9kzVYVDvpCuckVbuR9LcBg55p5b2/1an5xhm9Y4sVyZez5xesBZ++dK8U0T+v25hWwJD1SDqVARjGl987bjwXqAuL27zkFnfIg4s86bUAM4a+fXGkpJAWpaqgKRRq7FpNbzhg6Mh3vgeUyQtps1C/1QqG8p7fPX5rl1CAlX5FpUZfSIiIgJu MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR08MB3692 Original-Authentication-Results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=arm.com; Return-Path: Sami.Mujawar@arm.com X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT013.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFTY:;SFS:(4636009)(346002)(136003)(376002)(39860400002)(396003)(46966005)(54906003)(336012)(316002)(26005)(186003)(53546011)(52536014)(60390400001)(6506007)(30864003)(70206006)(70586007)(2906002)(7696005)(110136005)(86362001)(8676002)(8936002)(33656002)(4326008)(966005)(9686003)(55016002)(356005)(47076004)(45080400002)(478600001)(5660300002)(82310400002)(82740400003)(166002)(81166007)(545624004)(460985005);DIR:OUT;SFP:1101; X-MS-Office365-Filtering-Correlation-Id-Prvs: 9abcf4f7-d690-448c-eea6-08d7fb26cde4 X-Forefront-PRVS: 04073E895A X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: XI1fsO46QfOK0aHW8rntM37nhcfafVfUS6iUKInM4A1LX6+2t7bn/qDn+rzMHIWSHi3TmHwhLN3UyjDlF0eKWmgf3hNoHVgXB7YtxGalGcdFQilmn1tI8QIYg2fP6F1h4wIb4EbJGvRzouhuboP6jXaHxBSZyic1v8oP2MiB8OdndztILSH4xrIJLQUR8r0qp+jWvv8ulAprevIosLo9fgKJvaTD+Z+egHDSjJxsu9TSnPZGGtOXiKLjDobztPIOpc1dkU1CTMsM7Xis1KXT0kUBlZNGpBgHs6BH+PSYGgibxmTEd9yb6aFvyeUvEm1LL+DcXRGL9ieCQooqEg5hgsvrmH2bTsEDjrQl7tUZCgxMhaxURUXGl7w/KFFVk1AK65nsQrbZXlTUpwueTL29axNCzZwfsWiMorQ6LJVIj2Eck3/wGF+Lp6f6ZVOVSznQBV5yT3GOrAZA2u8wqqv9vAeSpQzuBS5GblIOdPmSw+l9tjyC2xLBvSDMEt6Zvc7AO1N9TtFxgNgzj8PC1UeHrUTZyvtpJ2lNtRaRjbazOPDu01xseqCTtNieWlf+YnfsR25MLE2VN4groO/cbC8uBLVWvW+lbKbdqAhJkDCbpgG/XozUJtdqVD7TWYLrBiSFIfqKXeofB8pgfH4X9tfggg== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 May 2020 12:27:25.3552 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5dfd2ef0-1492-43fe-e25b-08d7fb26d268 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR2PR08MB4891 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_DB7PR08MB30970A749054D0D931CC064C84B80DB7PR08MB3097eurp_" --_000_DB7PR08MB30970A749054D0D931CC064C84B80DB7PR08MB3097eurp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Bob, Liming, Is there anything else needed before this patch can be merged? Regards, Sami Mujawar From: Bret Barkelew Sent: 07 April 2020 10:49 PM To: devel@edk2.groups.io; Sami Mujawar Cc: Sami Mujawar ; bob.c.feng@intel.com; liming.gao@= intel.com; leif@nuviainc.com; Matteo Carlini ; Laur= a Moretta ; nd Subject: RE: [EXTERNAL] [edk2-devel] [PATCH v1 1/1] BaseTools: Remove depr= ecated Visual Studio Option Reviewed-by: Bret Barkelew > - Bret ________________________________ From: devel@edk2.groups.io > on behalf of Sami Mujawar via groups.io <= sami.mujawar=3Darm.com@groups.io> Sent: Friday, April 3, 2020 11:05:47 AM To: devel@edk2.groups.io > Cc: Sami Mujawar >; bob.= c.feng@intel.com >; liming.gao@intel.com <= liming.gao@intel.com>; leif@nuviainc.com >; Matteo.= Carlini@arm.com >; Laura.Moretta@arm.com >; nd@arm.com > Subject: [EXTERNAL] [edk2-devel] [PATCH v1 1/1] BaseTools: Remove deprecat= ed Visual Studio Option The VS2017 compiler reports 'warning D9035 : option 'Gm' has been deprecated and will be removed in a future release' The documentation for the 'Gm' option at https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fdocs.m= icrosoft.com%2Fen-us%2Fcpp%2Fbuild%2Freference%2Fgm-enable-minimal-rebuild%= 3Fview%3Dvs-2019&data=3D02%7C01%7CBret.Barkelew%40microsoft.com%7C4a458= 8c4ee79488a3e5e08d7d7f9afc9%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C63= 7215339711617971&sdata=3DUl9UkaXpfC1o5SNP3FwuHGjkldZjh879tM2nsHqKzRU%3D= &reserved=3D0 indicates that this option can be safely removed from the project. Therefore, remove the deprecated 'Gm' Visual Studio Compiler option. Ref: https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fb= ugzilla.tianocore.org%2Fshow_bug.cgi%3Fid%3D2660&data=3D02%7C01%7CBret.= Barkelew%40microsoft.com%7C4a4588c4ee79488a3e5e08d7d7f9afc9%7C72f988bf86f14= 1af91ab2d7cd011db47%7C1%7C0%7C637215339711617971&sdata=3DRi2yVGQs2JcNvZ= U0bMZ6FhZEWhkN8Jj6oR14%2F3oXYow%3D&reserved=3D0 Signed-off-by: Sami Mujawar > --- The changes can be seen at: https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgithub= .com%2Fsamimujawar%2Fedk2%2Ftree%2F703_vs2017_deprecated_option_v1&data= = =3D02%7C01%7CBret.Barkelew%40microsoft.com%7C4a4588c4ee79488a3e5e08d7d7f9a= fc9%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637215339711617971&sda= ta=3DV%2B9F3QrpY3tX%2B%2BChPK02wOZC0XizIRJI74LLqr9Lw54%3D&reserved=3D0 Notes: V1: - Remove deprecated VS2017 and VS2019 option [SAMI] BaseTools/Conf/tools_def.template | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf/tools_def.= template index 2b17d3b2979a83144444b4d543b383af3198cdd0..67368f5013519a2d7397cbc975= 6acb6ff152727a 100755 --- a/BaseTools/Conf/tools_def.template +++ b/BaseTools/Conf/tools_def.template @@ -1,7 +1,7 @@ # # Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
# Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved. -# Portions copyright (c) 2011 - 2014, ARM Ltd. All rights reserved.
+# Portions copyright (c) 2011 - 2019, ARM Ltd. All rights reserved.
# Copyright (c) 2015, Hewlett-Packard Development Company, L.P.
# (C) Copyright 2016 Hewlett Packard Enterprise Development LP
# Copyright (c) Microsoft Corporation @@ -1682,9 +1682,9 @@ NOOPT_VS2017_X64_DLINK_FLAGS =3D /NOLOGO /NODEFAU= LTLIB /IGNORE:4001 /IGNORE:428 *_VS2017_ARM_ASLDLINK_PATH =3D DEF(VS2017_BIN_ARM)\link.exe *_VS2017_ARM_MAKE_FLAGS =3D /nologo - DEBUG_VS2017_ARM_CC_FLAGS =3D /nologo /c /WX /GS- /W4 /Gs32768 /D= UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Gw /Oi- + DEBUG_VS2017_ARM_CC_FLAGS =3D /nologo /c /WX /GS- /W4 /Gs32768 /D= UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gw /Oi- RELEASE_VS2017_ARM_CC_FLAGS =3D /nologo /c /WX /GS- /W4 /Gs32768 /D= UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gw /Oi- -NOOPT_VS2017_ARM_CC_FLAGS =3D /nologo /c /WX /GS- /W4 /Gs32768 /D= UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od /Oi- +NOOPT_VS2017_ARM_CC_FLAGS =3D /nologo /c /WX /GS- /W4 /Gs32768 /D= UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Od /Oi- DEBUG_VS2017_ARM_ASM_FLAGS =3D /nologo /g RELEASE_VS2017_ARM_ASM_FLAGS =3D /nologo @@ -1709,9 +1709,9 @@ NOOPT_VS2017_ARM_DLINK_FLAGS =3D /NOLOGO /NODEF= AULTLIB /IGNORE:4001 /OPT:REF *_VS2017_AARCH64_ASLDLINK_PATH =3D DEF(VS2017_BIN_AARCH64)\link.exe *_VS2017_AARCH64_MAKE_FLAGS =3D /nologo - DEBUG_VS2017_AARCH64_CC_FLAGS =3D /nologo /c /WX /GS- /W4 /Gs32768 /= D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Gw /Oi- + DEBUG_VS2017_AARCH64_CC_FLAGS =3D /nologo /c /WX /GS- /W4 /Gs32768 /= D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gw /Oi- RELEASE_VS2017_AARCH64_CC_FLAGS =3D /nologo /c /WX /GS- /W4 /Gs32768 /= D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gw /Oi- -NOOPT_VS2017_AARCH64_CC_FLAGS =3D /nologo /c /WX /GS- /W4 /Gs32768 /= D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od /Oi- +NOOPT_VS2017_AARCH64_CC_FLAGS =3D /nologo /c /WX /GS- /W4 /Gs32768 /= D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Od /Oi- DEBUG_VS2017_AARCH64_ASM_FLAGS =3D /nologo /g RELEASE_VS2017_AARCH64_ASM_FLAGS =3D /nologo @@ -1845,9 +1845,9 @@ NOOPT_VS2019_X64_DLINK_FLAGS =3D /NOLOGO /NODEFAU= LTLIB /IGNORE:4001 /IGNORE:428 *_VS2019_ARM_ASLDLINK_PATH =3D DEF(VS2019_BIN_ARM)\link.exe *_VS2019_ARM_MAKE_FLAGS =3D /nologo - DEBUG_VS2019_ARM_CC_FLAGS =3D /nologo /c /WX /GS- /W4 /Gs32768 /D= UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Gw /Oi- + DEBUG_VS2019_ARM_CC_FLAGS =3D /nologo /c /WX /GS- /W4 /Gs32768 /D= UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gw /Oi- RELEASE_VS2019_ARM_CC_FLAGS =3D /nologo /c /WX /GS- /W4 /Gs32768 /D= UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gw /Oi- -NOOPT_VS2019_ARM_CC_FLAGS =3D /nologo /c /WX /GS- /W4 /Gs32768 /D= UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od /Oi- +NOOPT_VS2019_ARM_CC_FLAGS =3D /nologo /c /WX /GS- /W4 /Gs32768 /D= UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Od /Oi- DEBUG_VS2019_ARM_ASM_FLAGS =3D /nologo /g RELEASE_VS2019_ARM_ASM_FLAGS =3D /nologo @@ -1872,9 +1872,9 @@ NOOPT_VS2019_ARM_DLINK_FLAGS =3D /NOLOGO /NODEF= AULTLIB /IGNORE:4001 /OPT:REF *_VS2019_AARCH64_ASLDLINK_PATH =3D DEF(VS2019_BIN_AARCH64)\link.exe *_VS2019_AARCH64_MAKE_FLAGS =3D /nologo - DEBUG_VS2019_AARCH64_CC_FLAGS =3D /nologo /c /WX /GS- /W4 /Gs32768 /= D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Gw /Oi- + DEBUG_VS2019_AARCH64_CC_FLAGS =3D /nologo /c /WX /GS- /W4 /Gs32768 /= D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gw /Oi- RELEASE_VS2019_AARCH64_CC_FLAGS =3D /nologo /c /WX /GS- /W4 /Gs32768 /= D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gw /Oi- -NOOPT_VS2019_AARCH64_CC_FLAGS =3D /nologo /c /WX /GS- /W4 /Gs32768 /= D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od /Oi- +NOOPT_VS2019_AARCH64_CC_FLAGS =3D /nologo /c /WX /GS- /W4 /Gs32768 /= D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Od /Oi- DEBUG_VS2019_AARCH64_ASM_FLAGS =3D /nologo /g RELEASE_VS2019_AARCH64_ASM_FLAGS =3D /nologo -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' --_000_DB7PR08MB30970A749054D0D931CC064C84B80DB7PR08MB3097eurp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi Bob, = Liming,

&nb= sp;

Is there= anything else needed before this patch can be merged?

&nb= sp;

Regards,=

&nb= sp;

Sami Muj= awar

&nb= sp;

From: Bret Barkelew <Bret.Barkelew@microsoft.com>
Sent: 07 April 2020 10:49 PM
To: devel@edk2.groups.io; Sami Mujawar <Sami.Mujawar@arm.com>=
Cc: Sami Mujawar <Sami.Mujawar@arm.com>; bob.c.feng@intel.com= ; liming.gao@intel.com; leif@nuviainc.com; Matteo Carlini <Matteo.Carlin= i@arm.com>; Laura Moretta <Laura.Moretta@arm.com>; nd <nd@arm.c= om>
Subject: RE: [EXTERNAL] [edk2-devel] [PATCH v1 1/1] BaseTools: Remo= ve deprecated Visual Studio Option

 

Reviewed-by: Bret Barkelew <= ;bret.barkelew@microsoft.com= >

 

- Bret

 


From:= devel@edk2.groups.io <devel@edk2.groups.io> on behalf o= f Sami Mujawar via groups.io <sami.mujawar=3Darm.com@groups.io>
Sent: Friday, April 3, 2020 11:05:47 AM
To: devel@edk2.groups.io <devel@edk2.groups.io><= br> Cc: Sami Mujawar <sami.m= ujawar@arm.com>; bob.c.feng@intel.com <bob.c.feng@intel.com>; liming.gao@intel.com <liming.gao@intel.com>; leif@nuviainc.com <leif@nuviainc.com>; Matteo.Carlini@arm.com <<= a href=3D"mailto:Matteo.Carlini@arm.com">Matteo.Carlini@arm.com>; Laura.Moretta@arm.com <Laura.Moretta@arm.com>; nd@arm.com <nd@arm.com>
Subject: [EXTERNAL] [edk2-devel] [PATCH v1 1/1] BaseTools: Remove d= eprecated Visual Studio Option

 

The VS2017 compiler reports 'warning D9035 : option
'Gm' has been deprecated and will be removed in a
future release'

The documentation for the 'Gm' option at
https://nam06.safelinks.protectio= n.outlook.com/?url=3Dhttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fcpp%2Fbuild= %2Freference%2Fgm-enable-minimal-rebuild%3Fview%3Dvs-2019&amp;data=3D02= %7C01%7CBret.Barkelew%40microsoft.com%7C4a4588c4ee79488a3e5e08d7d7f9afc9%7C= 72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637215339711617971&amp;sdata= = =3DUl9UkaXpfC1o5SNP3FwuHGjkldZjh879tM2nsHqKzRU%3D&amp;reserved=3D0=
indicates that this option can be safely removed
from the project.

Therefore, remove the deprecated 'Gm' Visual Studio
Compiler option.

Ref: https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fbugzil= la.tianocore.org%2Fshow_bug.cgi%3Fid%3D2660&amp;data=3D02%7C01%7CBret.B= arkelew%40microsoft.com%7C4a4588c4ee79488a3e5e08d7d7f9afc9%7C72f988bf86f141= af91ab2d7cd011db47%7C1%7C0%7C637215339711617971&amp;sdata=3DRi2yVGQs2Jc= NvZU0bMZ6FhZEWhkN8Jj6oR14%2F3oXYow%3D&amp;reserved=3D0

Signed-off-by: Sami Mujawar <sa= mi.mujawar@arm.com>
---

The changes can be seen at:
https://nam06.safelinks.protection.outlook.com/?url= =3Dhttps%3A%2F%2Fgithub.com%2Fsamimujawar%2Fedk2%2Ftree%2F703_vs2017_depre= cated_option_v1&amp;data=3D02%7C01%7CBret.Barkelew%40microsoft.com%7C4a= 4588c4ee79488a3e5e08d7d7f9afc9%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7= C637215339711617971&amp;sdata=3DV%2B9F3QrpY3tX%2B%2BChPK02wOZC0XizIRJI7= 4LLqr9Lw54%3D&amp;reserved=3D0

Notes:
    V1:
    - Remove deprecated VS2017 and VS2019 option  = ;            &n= bsp;     [SAMI]

 BaseTools/Conf/tools_def.template | 18 ++++++= ;+++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf/tools_def.= template
index 2b17d3b2979a83144444b4d543b383af3198cdd0..67368f5013519a2d7397cbc975= 6acb6ff152727a 100755
--- a/BaseTools/Conf/tools_def.template
+++ b/BaseTools/Conf/tools_def.template
@@ -1,7 +1,7 @@
 #
 #  Copyright (c) 2006 - 2018, Intel Corporation. All rights res= erved.<BR>
 #  Portions copyright (c) 2008 - 2009, Apple Inc. All rights re= served.<BR>
-#  Portions copyright (c) 2011 - 2014, ARM Ltd. All rights reserved.= <BR>
+#  Portions copyright (c) 2011 - 2019, ARM Ltd. All rights reser= ved.<BR>
 #  Copyright (c) 2015, Hewlett-Packard Development Company, L.P= .<BR>
 #  (C) Copyright 2016 Hewlett Packard Enterprise Development LP= <BR>
 #  Copyright (c) Microsoft Corporation
@@ -1682,9 +1682,9 @@ NOOPT_VS2017_X64_DLINK_FLAGS    = =3D /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:428
 *_VS2017_ARM_ASLDLINK_PATH       = =3D DEF(VS2017_BIN_ARM)\link.exe
 
       *_VS2017_ARM_MAKE_FLAGS  &n= bsp;  =3D /nologo
-  DEBUG_VS2017_ARM_CC_FLAGS       =3D = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- = /GR- /GF /Gy /Zi /Gm /Gw /Oi-
+  DEBUG_VS2017_ARM_CC_FLAGS       = = =3D /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EH= s-c- /GR- /GF /Gy /Zi /Gw /Oi-
 RELEASE_VS2017_ARM_CC_FLAGS       =3D = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- = /GR- /GF /Gw /Oi-
-NOOPT_VS2017_ARM_CC_FLAGS        = =3D /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- = /GF /Gy /Zi /Gm /Od /Oi-
+NOOPT_VS2017_ARM_CC_FLAGS       &n= bsp; =3D /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /= GR- /GF /Gy /Zi /Od /Oi-
 
   DEBUG_VS2017_ARM_ASM_FLAGS      =3D = /nologo /g
 RELEASE_VS2017_ARM_ASM_FLAGS      =3D /nolo= go
@@ -1709,9 +1709,9 @@ NOOPT_VS2017_ARM_DLINK_FLAGS   &n= bsp;  =3D /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF
 *_VS2017_AARCH64_ASLDLINK_PATH     =3D DEF(VS201= 7_BIN_AARCH64)\link.exe
 
       *_VS2017_AARCH64_MAKE_FLAGS  =3D= /nologo
-  DEBUG_VS2017_AARCH64_CC_FLAGS    =3D /nologo /c /WX= /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /= Zi /Gm /Gw /Oi-
+  DEBUG_VS2017_AARCH64_CC_FLAGS    =3D /nologo /c= /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /= Gy /Zi /Gw /Oi-
 RELEASE_VS2017_AARCH64_CC_FLAGS    =3D /nologo /c /WX= /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gw /= Oi-
-NOOPT_VS2017_AARCH64_CC_FLAGS      =3D /nologo /= c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /G= m /Od /Oi-
+NOOPT_VS2017_AARCH64_CC_FLAGS      =3D /nolo= go /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Z= i /Od /Oi-
 
   DEBUG_VS2017_AARCH64_ASM_FLAGS   =3D /nologo /g
 RELEASE_VS2017_AARCH64_ASM_FLAGS   =3D /nologo
@@ -1845,9 +1845,9 @@ NOOPT_VS2019_X64_DLINK_FLAGS    = =3D /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:428
 *_VS2019_ARM_ASLDLINK_PATH       = =3D DEF(VS2019_BIN_ARM)\link.exe
 
       *_VS2019_ARM_MAKE_FLAGS  &n= bsp;  =3D /nologo
-  DEBUG_VS2019_ARM_CC_FLAGS       =3D = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- = /GR- /GF /Gy /Zi /Gm /Gw /Oi-
+  DEBUG_VS2019_ARM_CC_FLAGS       = = =3D /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EH= s-c- /GR- /GF /Gy /Zi /Gw /Oi-
 RELEASE_VS2019_ARM_CC_FLAGS       =3D = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- = /GR- /GF /Gw /Oi-
-NOOPT_VS2019_ARM_CC_FLAGS        = =3D /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- = /GF /Gy /Zi /Gm /Od /Oi-
+NOOPT_VS2019_ARM_CC_FLAGS       &n= bsp; =3D /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /= GR- /GF /Gy /Zi /Od /Oi-
 
   DEBUG_VS2019_ARM_ASM_FLAGS      =3D = /nologo /g
 RELEASE_VS2019_ARM_ASM_FLAGS      =3D /nolo= go
@@ -1872,9 +1872,9 @@ NOOPT_VS2019_ARM_DLINK_FLAGS   &n= bsp;  =3D /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF
 *_VS2019_AARCH64_ASLDLINK_PATH     =3D DEF(VS201= 9_BIN_AARCH64)\link.exe
 
       *_VS2019_AARCH64_MAKE_FLAGS  =3D= /nologo
-  DEBUG_VS2019_AARCH64_CC_FLAGS    =3D /nologo /c /WX= /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /= Zi /Gm /Gw /Oi-
+  DEBUG_VS2019_AARCH64_CC_FLAGS    =3D /nologo /c= /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /= Gy /Zi /Gw /Oi-
 RELEASE_VS2019_AARCH64_CC_FLAGS    =3D /nologo /c /WX= /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gw /= Oi-
-NOOPT_VS2019_AARCH64_CC_FLAGS      =3D /nologo /= c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /G= m /Od /Oi-
+NOOPT_VS2019_AARCH64_CC_FLAGS      =3D /nolo= go /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Z= i /Od /Oi-
 
   DEBUG_VS2019_AARCH64_ASM_FLAGS   =3D /nologo /g
 RELEASE_VS2019_AARCH64_ASM_FLAGS   =3D /nologo
--
'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'


--_000_DB7PR08MB30970A749054D0D931CC064C84B80DB7PR08MB3097eurp_--