From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=pass header.i=@riseup.net header.s=squak header.b=eDoQ8xTe; spf=pass (domain: riseup.net, ip: 198.252.153.129, mailfrom: phlamorim@riseup.net) Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) by groups.io with SMTP; Sun, 28 Apr 2019 07:08:21 -0700 Received: from bell.riseup.net (bell-pn.riseup.net [10.0.1.178]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 840AA1A230C for ; Sun, 28 Apr 2019 07:08:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1556460500; bh=BMCgYqdCWNVBmw4yUG+4jGYMybKCMrZseWljIx3n0EU=; h=Date:From:To:Subject:From; b=eDoQ8xTeBJHGcghh4Jn5yDNlmF+izsJPoTqgWPGuD1ub7t3z+XdO9V4APH1rD0ljV 9e+ttdjhJgeP3VbxEDNZifFWcT9GypDnrejgI+7WATHg1zNiY0BEMsOl0d0RNW29NL N10Li5Cweg7GFDMheaLRzip6JYxH1F5vBpeLmXKQ= X-Riseup-User-ID: 263F2ADC51F5C10AA988E9A1BCDC310DC57342DCE09E708CEC06D381FB6C9E08 Received: from [127.0.0.1] (localhost [127.0.0.1]) by bell.riseup.net (Postfix) with ESMTPSA id 679D422000F for ; Sun, 28 Apr 2019 07:08:20 -0700 (PDT) MIME-Version: 1.0 Date: Sun, 28 Apr 2019 07:08:19 -0700 From: phlamorim@riseup.net To: devel@edk2.groups.io Subject: Error building Python Message-ID: <8295592b609ab980b7fd3c1672718852@riseup.net> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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/Applications/Python/PythonCore.inf" the build stopped because some compiler warnings which are stopping the building bcause the flag -Werror, so i changed the file 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/edk2/Build/AppPkg/DEBUG_GCC5/X64/AppPkg/Applications/Python/PythonCore/DEBUG/Python.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/Applications/Python/PythonCore/DEBUG/Python.dll' failed make: *** [/root/projeto_final/src/edk2/Build/AppPkg/DEBUG_GCC5/X64/AppPkg/Applications/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/Applications/Python/PythonCore] build.py... : error F002: Failed to build module /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