From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.151; helo=mga17.intel.com; envelope-from=liming.gao@intel.com; receiver=edk2-devel@lists.01.org Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 3E4E12194D3B9 for ; Fri, 28 Dec 2018 22:07:13 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Dec 2018 22:07:13 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,412,1539673200"; d="scan'208";a="131430052" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga004.fm.intel.com with ESMTP; 28 Dec 2018 22:07:13 -0800 Received: from fmsmsx101.amr.corp.intel.com (10.18.124.199) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 28 Dec 2018 22:07:13 -0800 Received: from shsmsx108.ccr.corp.intel.com (10.239.4.97) by fmsmsx101.amr.corp.intel.com (10.18.124.199) with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 28 Dec 2018 22:07:13 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.45]) by SHSMSX108.ccr.corp.intel.com ([169.254.8.42]) with mapi id 14.03.0415.000; Sat, 29 Dec 2018 14:07:11 +0800 From: "Gao, Liming" To: Gary Lin CC: "edk2-devel@lists.01.org" , "Kinney, Michael D" , "Laszlo Ersek (lersek@redhat.com)" Thread-Topic: [edk2] [RFC] Edk2 BaseTools Python3 Migration Update Thread-Index: AdScIfEAP1TAIYqwRbmPvz2xdWmYXwCNKpGAADmBB1A= Date: Sat, 29 Dec 2018 06:07:10 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E39F4E3@SHSMSX104.ccr.corp.intel.com> References: <4A89E2EF3DFEDB4C8BFDE51014F606A14E39130F@SHSMSX104.ccr.corp.intel.com> <20181228103951.GN4206@GaryWorkstation> In-Reply-To: <20181228103951.GN4206@GaryWorkstation> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [RFC] Edk2 BaseTools Python3 Migration Update X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Dec 2018 06:07:14 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Lin: Thanks for your verification. This issue has been fixed in the latest v= ersion of https://github.com/lgao4/edk2/tree/Python3. Could you try again? Thanks Liming >-----Original Message----- >From: Gary Lin [mailto:glin@suse.com] >Sent: Friday, December 28, 2018 6:40 PM >To: Gao, Liming >Cc: edk2-devel@lists.01.org; Kinney, Michael D >; Laszlo Ersek (lersek@redhat.com) > >Subject: Re: [edk2] [RFC] Edk2 BaseTools Python3 Migration Update > >On Tue, Dec 25, 2018 at 07:50:43AM +0000, Gao, Liming wrote: >> Hi, all >> On Python3 migration https://bugzilla.tianocore.org/show_bug.cgi?id=3D= 55, >we update Edk2 BaseTools python source code with the compatible syntax to >support Python2 and Python3 both. Here is code >https://github.com/lgao4/edk2/tree/Python3 for dry run. To enable Python3, >you just need to set PYTHON3_ENABLE environment as TRUE, then type >edksetup.bat/edksetup.sh. Without this setting, BaseTools still run with >Python2. So, there is no change for current usage model with Python27. >> >I've built OVMF with both python2 and python3 based on the branch and >the VM crashed immediately. The only message in the debug log is: > >SecCoreStartupWithStack(0xFFFCC000, 0x820000) > >The result of bisect showed the first bad commit is > > 500aad1a02c5a8c0f208c9422cce19de7d304faa > BaseTools: Update windows and linux run scripts file to use Python3 > >Cheers, > >Gary Lin > >> But, we have no enough resource to fully verify Python2 and Python3 bo= th. >We will focus on Python3 validation. If anyone can help verify Python2, it= will >be great. And, if you meet with the issue on Python2, please file BZ. We s= till >fix them. >> >> Thanks >> Liming >> >> _______________________________________________ >> edk2-devel mailing list >> edk2-devel@lists.01.org >> https://lists.01.org/mailman/listinfo/edk2-devel >>