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.100, mailfrom: brian.richardson@intel.com) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by groups.io with SMTP; Mon, 29 Apr 2019 14:13:38 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Apr 2019 14:13:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,411,1549958400"; d="scan'208";a="146895713" Received: from orsmsx108.amr.corp.intel.com ([10.22.240.6]) by fmsmga007.fm.intel.com with ESMTP; 29 Apr 2019 14:13:37 -0700 Received: from orsmsx158.amr.corp.intel.com (10.22.240.20) by ORSMSX108.amr.corp.intel.com (10.22.240.6) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 29 Apr 2019 14:13:35 -0700 Received: from orsmsx114.amr.corp.intel.com ([169.254.8.50]) by ORSMSX158.amr.corp.intel.com ([169.254.10.159]) with mapi id 14.03.0415.000; Mon, 29 Apr 2019 14:13:34 -0700 From: "Brian Richardson" To: "devel@edk2.groups.io" CC: "phlamorim@riseup.net" Subject: Re: [edk2-devel] Error building Python Thread-Topic: [edk2-devel] Error building Python Thread-Index: AQHU/qWp1gcxH/M9i0Sj7pT31RagGKZTgpFQ Date: Mon, 29 Apr 2019 21:13:34 +0000 Message-ID: <80AC2BAA3152784F98F581129E5CF5AFBD85E6E7@ORSMSX114.amr.corp.intel.com> References: <8295592b609ab980b7fd3c1672718852@riseup.net> In-Reply-To: <8295592b609ab980b7fd3c1672718852@riseup.net> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [10.22.254.140] MIME-Version: 1.0 Return-Path: brian.richardson@intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Paulo: A port of the MicroPython Interpreter for UEFI is available in edk2-stagin= g: (MicroPythonPkg). This is a Python 3 compatible alternative for the Pyth= on 2.7 implementation in AppPkg. Can you try this and provide feedback? https://github.com/tianocore/tianocore.github.io/wiki/MicroPython=20 Thanks ... br --- Brian Richardson -- Director of Firmware Ecosystem Engagements brian.richardson@intel.com -- @intel_brian Firmware Ecosystem & Business Development, Firmware Integration & Developm= ent (FID) https://software.intel.com/en-us/meet-the-developers/evangelists/team/bria= n-richardson=20 -----Original Message----- From: devel@edk2.groups.io On Behalf Of phlamorim@r= iseup.net Sent: Sunday, April 28, 2019 10:08 AM To: devel@edk2.groups.io Subject: [edk2-devel] Error building Python I want to use python to prototype some UEFI applications, but the build is= not working on my environment, im trying to build in a linux(debian) which= have "gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516" installed, the EDK2 is properly installed, i build other packages like OVMF and Mde*, at = the first time i tried to build Python just uncommenting "AppPkg/Applicatio= ns/Python/PythonCore.inf" the build stopped because some compiler warnings = which are stopping the building bcause the flag -Werror, so i changed the f= ile tools_def.txt to remove the -Werror flag, the warnings dont stopped the= build, i probably should fix the warnings one by one, but when i tried to = build again the build system stopped at target '/root/projeto_final/src/edk= 2/Build/AppPkg/DEBUG_GCC5/X64/AppPkg/Applications/Python/PythonCore/DEBUG/P= ython.dll', i will leave the entire error message following this message, let me know = if i need to provide another/more information. -- pymath.obj (symbol from plugin): In function `_Py_get_387controlword': (.text+0x0): multiple definition of `copysign' s_copysign.obj (symbol from plugin):(.text+0x0): first defined here collect2: error: ld returned 1 exit status GNUmakefile:583: recipe for target '/root/projeto_final/src/edk2/Build/AppPkg/DEBUG_GCC5/X64/AppPkg/Applicati= ons/Python/PythonCore/DEBUG/Python.dll' failed make: *** [/root/projeto_final/src/edk2/Build/AppPkg/DEBUG_GCC5/X64/AppPkg/Applicati= ons/Python/PythonCore/DEBUG/Python.dll] Error 1 build.py... : error 7000: Failed to execute command make tbuild [/root/projeto_final/src/edk2/Build/AppPkg/DEBUG_GCC5/X64/AppPkg/Applicati= ons/Python/PythonCore] build.py... : error F002: Failed to build module =20 /root/projeto_final/src/edk2/AppPkg/Applications/Python/PythonCore.inf [X64, GCC5, DEBUG] - Failed - Build end time: 06:56:21, Apr.28 2019 Build total time: 00:05:32 -- Thanks, Paulo Amorim