From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.115, mailfrom: liming.gao@intel.com) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by groups.io with SMTP; Mon, 08 Jul 2019 18:29:38 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Jul 2019 18:29:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,468,1557212400"; d="scan'208";a="165619025" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga008.fm.intel.com with ESMTP; 08 Jul 2019 18:29:38 -0700 Received: from fmsmsx606.amr.corp.intel.com (10.18.126.86) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 8 Jul 2019 18:29:38 -0700 Received: from fmsmsx606.amr.corp.intel.com (10.18.126.86) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 8 Jul 2019 18:29:37 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Mon, 8 Jul 2019 18:29:37 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.110]) by shsmsx102.ccr.corp.intel.com ([169.254.2.3]) with mapi id 14.03.0439.000; Tue, 9 Jul 2019 09:29:35 +0800 From: "Liming Gao" To: =?utf-8?B?UGhpbGlwcGUgTWF0aGlldS1EYXVkw6k=?= , "devel@edk2.groups.io" CC: "Gao, Zhichao" , "Feng, Bob C" Subject: Re: [edk2-devel] [Patch] BaseTools: Fix GCC compiler failure in new added tools. Thread-Topic: [edk2-devel] [Patch] BaseTools: Fix GCC compiler failure in new added tools. Thread-Index: AQHVNaS2jOYYug5KFEq+9o4SOqe+bKbBf3fg Date: Tue, 9 Jul 2019 01:29:35 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E4A3F64@SHSMSX104.ccr.corp.intel.com> References: <1562313092-8576-1-git-send-email-liming.gao@intel.com> <37396fda-80e1-b094-97ce-076f06ec9cb5@redhat.com> In-Reply-To: <37396fda-80e1-b094-97ce-076f06ec9cb5@redhat.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: liming.gao@intel.com Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 UGhpbGlwcGU6DQoNCj4tLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPkZyb206IFBoaWxpcHBl IE1hdGhpZXUtRGF1ZMOpIFttYWlsdG86cGhpbG1kQHJlZGhhdC5jb21dDQo+U2VudDogTW9uZGF5 LCBKdWx5IDA4LCAyMDE5IDExOjQ5IFBNDQo+VG86IGRldmVsQGVkazIuZ3JvdXBzLmlvOyBHYW8s IExpbWluZyA8bGltaW5nLmdhb0BpbnRlbC5jb20+DQo+Q2M6IEdhbywgWmhpY2hhbyA8emhpY2hh by5nYW9AaW50ZWwuY29tPjsgRmVuZywgQm9iIEMNCj48Ym9iLmMuZmVuZ0BpbnRlbC5jb20+DQo+ U3ViamVjdDogUmU6IFtlZGsyLWRldmVsXSBbUGF0Y2hdIEJhc2VUb29sczogRml4IEdDQyBjb21w aWxlciBmYWlsdXJlIGluIG5ldw0KPmFkZGVkIHRvb2xzLg0KPg0KPkhpLA0KPg0KPk9uIDcvNS8x OSA5OjUxIEFNLCBMaW1pbmcgR2FvIHdyb3RlOg0KPj4gRnJvb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