From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=195.135.221.5; helo=smtp.nue.novell.com; envelope-from=glin@suse.com; receiver=edk2-devel@lists.01.org Received: from smtp.nue.novell.com (smtp.nue.novell.com [195.135.221.5]) (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 F1136211A1E53 for ; Wed, 2 Jan 2019 01:26:42 -0800 (PST) Received: from emea4-mta.ukb.novell.com ([10.120.13.87]) by smtp.nue.novell.com with ESMTP (TLS encrypted); Wed, 02 Jan 2019 10:26:40 +0100 Received: from GaryWorkstation (nwb-a10-snat.microfocus.com [10.120.13.201]) by emea4-mta.ukb.novell.com with ESMTP (TLS encrypted); Wed, 02 Jan 2019 09:26:21 +0000 Date: Wed, 2 Jan 2019 17:26:15 +0800 From: Gary Lin To: "Gao, Liming" Cc: "Kinney, Michael D" , "edk2-devel@lists.01.org" , "Laszlo Ersek (lersek@redhat.com)" Message-ID: <20190102092615.GA4147@GaryWorkstation> References: <4A89E2EF3DFEDB4C8BFDE51014F606A14E39130F@SHSMSX104.ccr.corp.intel.com> <20181228103951.GN4206@GaryWorkstation> <4A89E2EF3DFEDB4C8BFDE51014F606A14E39F4E3@SHSMSX104.ccr.corp.intel.com> MIME-Version: 1.0 In-Reply-To: <4A89E2EF3DFEDB4C8BFDE51014F606A14E39F4E3@SHSMSX104.ccr.corp.intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) 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: Wed, 02 Jan 2019 09:26:43 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sat, Dec 29, 2018 at 06:07:10AM +0000, Gao, Liming wrote: > Lin: > Thanks for your verification. This issue has been fixed in the latest version of https://github.com/lgao4/edk2/tree/Python3. Could you try again? > Hi Liming, I can confirm that the crash I had was fixed in the latest git branch. Thanks! Gary Lin > 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=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 both. > >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 still > >fix them. > >> > >> Thanks > >> Liming > >> > >> _______________________________________________ > >> edk2-devel mailing list > >> edk2-devel@lists.01.org > >> https://lists.01.org/mailman/listinfo/edk2-devel > >> > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel >