From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.24, mailfrom: liming.gao@intel.com) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by groups.io with SMTP; Wed, 08 May 2019 17:29:16 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 May 2019 17:29:14 -0700 X-ExtLoop1: 1 Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by FMSMGA003.fm.intel.com with ESMTP; 08 May 2019 17:29:14 -0700 Received: from fmsmsx117.amr.corp.intel.com (10.18.116.17) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 8 May 2019 17:29:14 -0700 Received: from shsmsx105.ccr.corp.intel.com (10.239.4.158) by fmsmsx117.amr.corp.intel.com (10.18.116.17) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 8 May 2019 17:29:13 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.33]) by SHSMSX105.ccr.corp.intel.com ([169.254.11.10]) with mapi id 14.03.0415.000; Thu, 9 May 2019 08:29:12 +0800 From: "Liming Gao" To: "devel@edk2.groups.io" , "francisco_flynn@foxmail.com" , Leif Lindholm , pete Subject: Re: [edk2-devel] tool chain tag setting for vs2017 Thread-Topic: [edk2-devel] tool chain tag setting for vs2017 Thread-Index: AQHVBYSi4Z4GViDgxkW2uFDOXj7xkKZgf6gAgAAe1ACAACmGgIAAApUAgAAPQICAARbqMA== Date: Thu, 9 May 2019 00:29:11 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E445241@SHSMSX104.ccr.corp.intel.com> References: <46fb43d9-dfdc-a481-f60b-d5f362ed2c0b@akeo.ie> <0AD74FB9-87C7-4380-9E80-EB79830879EF@foxmail.com> <20190508145400.7gvhxqhzawije75s@bivouac.eciton.net> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYmNjNGU0OTEtYjBlNC00ZTQ3LTlhZDYtOThmNzU4OGMyYzk5IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiUkxEUzc0YktHS003bEdMNDdFTHZyeFBTUVNuSTRYVHEzRWdvWEFHZ2UrMWJYdUk4b1lsSWFWRWJGekFVM1pNRyJ9 dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: liming.gao@intel.com Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_4A89E2EF3DFEDB4C8BFDE51014F606A14E445241SHSMSX104ccrcor_" --_000_4A89E2EF3DFEDB4C8BFDE51014F606A14E445241SHSMSX104ccrcor_ Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 RnJvbTogZGV2ZWxAZWRrMi5ncm91cHMuaW8gW21haWx0bzpkZXZlbEBlZGsyLmdyb3Vwcy5pb10g T24gQmVoYWxmIE9mICLQ7MHWDQpTZW50OiBXZWRuZXNkYXksIE1heSA4LCAyMDE5IDExOjQ5IFBN DQpUbzogTGVpZiBMaW5kaG9sbSA8bGVpZi5saW5kaG9sbUBsaW5hcm8ub3JnPjsgZGV2ZWwgPGRl dmVsQGVkazIuZ3JvdXBzLmlvPjsgcGV0ZSA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OikNCg0KDQoNClJlZ2FyZHMsDQoNCkZseW5uDQoNCg0KDQo+DQoNCj5DZXJ0YWlu bHksIGFueSBpc3N1ZXMgcGVvcGxlIGNvbWUgYWNyb3NzLCBwbGVhc2UgcmVwb3J0Lg0KDQo+DQoN Cj5SZWdhcmRzLA0KDQo+DQoNCj5MZWlmDQoNCg0K --_000_4A89E2EF3DFEDB4C8BFDE51014F606A14E445241SHSMSX104ccrcor_ Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: quoted-printable

From: devel@edk2.groups.io [mailto:devel@= edk2.groups.io] On Behalf Of "=D0=EC= =C1=D6
Sent: Wednesday, May 8, 2019 11:49 PM
To: Leif Lindholm <leif.lindholm@linaro.org>; devel <devel= @edk2.groups.io>; pete <pete@akeo.ie>
Subject: Re: [edk2-devel] tool chain tag setting for vs2017

 

>=  

>On Wed, May 08= , 2019 at 03:44:45PM +0100, Pete Batard wrote:

>> On 2019.0= 5.08 13:16, xulin wrote:

>> > Got = it. BTW, do you have plan to support for higher version GCC? Such as=

>> > GCC8= ?

>> 

>> Well, I a= m not speaking for the project as a whole, but past experience

>> seems to = indicate that support for newer toolchain is added by contributors

>> (which, r= eally, can be anyone) on an ad hoc basis, when the need is

>> identifie= d and/or a new toolchain becomes popular, as well as *if* the=

>> definitio= ns from the current toolchain (such as GCC5) do not work well=

>> enough to= support the later versions.<= /span>

>> 

 

Certainly.<= /span>

 

GCC5 is working go= od on Ubuntu 16.04, but i have another PC with Ubuntu 18.10

installed, and i c= an't just install gcc-5 with apt-get install, i guess gcc-5

package is removed= from apt source, i believe i can find a way to install

gcc-5 on Ubuntu 18= .10 with some effort... but i would not try to, because 

VS2017 works good = now :)

 

You don=A1=AFt need to install GCC5. You can = try build the code with GCC5 tool chain.

If you find any issue, please submit BZ https://bugzilla.tianocore.org= /. Current design is

to make GCC5 support GCC version 5 or above.

 

>> So I don'= t think there are official plans with regards to adding such an

>> such tool= chain (such as GCC8 or VS2019) apart from waiting for contributors,<= /span>

>> who might= have a vested interest in those, to provide patches where needed.

>> For most = Open Source projects, this usually happen organically, without any

>> specific = timeline, as each toolchain becomes more widespread.

>=  

>Correct.

>=  

>Basically, GCC= 4.x was an absolute mess in changing command line

>options and be= haviours (cetainly on the ARM* side, but I think also

>for x86). Sinc= e GCC 5.0, this has stabilised a lot, so we

>haven't needed= to produce any version-specific profiles since that one.

>=  

>GCC9 looks &qu= ot;interesting" in throwing up new buildtime warnings (from

>looking at oth= er projects), so it might be that it will need a new

>profile, but i= t may also be that all those are genuine bugs and need

>to be fixed.

 

Oh..I didn't notic= e that GCC9 is available now, maybe i should check the

release News.

 

Thank you :)

 

Regards,

Flynn

 

>=  

>Certainly, any= issues people come across, please report.

>=  

>Regards,

>=  

>Leif

 

--_000_4A89E2EF3DFEDB4C8BFDE51014F606A14E445241SHSMSX104ccrcor_--