Bruce Cran
2015-07-11 04:57:22 UTC
I'm having some problems building OVMF (latest trunk code) on Windows: the build
system keeps throwing MemoryError exceptions. The machine has 16GB RAM and is
running Windows Server 2012 R2.
I'm running the following (I've also seen the error with VS2010x86 and VS2012x86 toolsets):
build -a X64 -t VS2013x86 -p OvmfPkg\OvmfPkgX64.dsc -b RELEASE
and
build -a IA32 -t VS2013x86 -p OvmfPkg\OvmfPkgIa32.dsc -b RELEASE
The log contains:
build...
: error C0DE: Unknown fatal error when processing []
(Please send email to edk2-***@lists.sourceforge.net for help, attaching following call stack trace!)
{Python 2.7.3 on win32) Traceback (most recent call last):
File "build.py", line 2031, in Main
File "build.py", line 771, in __init__
File "build.py", line 871, in InitBuild
File "build.py", line 801, in LoadConfiguration
File "c:\Users\Public\Documents\BuildPool\BaseTools\build\Source\Python\Common\ToolDefClassObject.py", line 159, in LoadToolDefFile
MemoryError
I've also seen the following error:
build...
: error C0DE: Unknown fatal error when processing [z:\jenkins\workspace\edk2-build-windows-vs2013-32bit\MdeModulePkg\Core\Dxe\DxeMain.inf]
(Please send email to edk2-***@lists.sourceforge.net for help, attaching following call stack trace!)
(Python 2.7.3 on win32) Traceback (most recent call last):
File "build.py", line 2033, in Main
File "build.py", line 1788, in Launch
File "build.py", line 1583, in _MultiThreadBuildPlatform
File "c:\Users\Public\Documents\BuildPool\BaseTools\build\Source\Python\AutoGen\AutoGen.py", line 175, in __new__
File "c:\Users\Public\Documents\BuildPool\BaseTools\build\Source\Python\AutoGen\AutoGen.py", line 391, in _Init
File "c:\Users\Public\Documents\BuildPool\BaseTools\build\Source\Python\AutoGen\AutoGen.py", line 964, in CollectPlatformDynamicPcds
File "c:\Users\Public\Documents\BuildPool\BaseTools\build\Source\Python\AutoGen\AutoGen.py", line 2948, in _GetModulePcdList
File "c:\Users\Public\Documents\BuildPool\BaseTools\build\Source\Python\Workspace\WorkspaceDatabase.py", line 2383, in _GetPcds
File "c:\Users\Public\Documents\BuildPool\BaseTools\build\Source\Python\Workspace\WorkspaceDatabase.py", line 2528, in _GetPcd
File "c:\Users\Public\Documents\BuildPool\BaseTools\build\Source\Python\Workspace\BuildClassObject.py", line 53, in __init__
MemoryError
system keeps throwing MemoryError exceptions. The machine has 16GB RAM and is
running Windows Server 2012 R2.
I'm running the following (I've also seen the error with VS2010x86 and VS2012x86 toolsets):
build -a X64 -t VS2013x86 -p OvmfPkg\OvmfPkgX64.dsc -b RELEASE
and
build -a IA32 -t VS2013x86 -p OvmfPkg\OvmfPkgIa32.dsc -b RELEASE
The log contains:
build...
: error C0DE: Unknown fatal error when processing []
(Please send email to edk2-***@lists.sourceforge.net for help, attaching following call stack trace!)
{Python 2.7.3 on win32) Traceback (most recent call last):
File "build.py", line 2031, in Main
File "build.py", line 771, in __init__
File "build.py", line 871, in InitBuild
File "build.py", line 801, in LoadConfiguration
File "c:\Users\Public\Documents\BuildPool\BaseTools\build\Source\Python\Common\ToolDefClassObject.py", line 159, in LoadToolDefFile
MemoryError
I've also seen the following error:
build...
: error C0DE: Unknown fatal error when processing [z:\jenkins\workspace\edk2-build-windows-vs2013-32bit\MdeModulePkg\Core\Dxe\DxeMain.inf]
(Please send email to edk2-***@lists.sourceforge.net for help, attaching following call stack trace!)
(Python 2.7.3 on win32) Traceback (most recent call last):
File "build.py", line 2033, in Main
File "build.py", line 1788, in Launch
File "build.py", line 1583, in _MultiThreadBuildPlatform
File "c:\Users\Public\Documents\BuildPool\BaseTools\build\Source\Python\AutoGen\AutoGen.py", line 175, in __new__
File "c:\Users\Public\Documents\BuildPool\BaseTools\build\Source\Python\AutoGen\AutoGen.py", line 391, in _Init
File "c:\Users\Public\Documents\BuildPool\BaseTools\build\Source\Python\AutoGen\AutoGen.py", line 964, in CollectPlatformDynamicPcds
File "c:\Users\Public\Documents\BuildPool\BaseTools\build\Source\Python\AutoGen\AutoGen.py", line 2948, in _GetModulePcdList
File "c:\Users\Public\Documents\BuildPool\BaseTools\build\Source\Python\Workspace\WorkspaceDatabase.py", line 2383, in _GetPcds
File "c:\Users\Public\Documents\BuildPool\BaseTools\build\Source\Python\Workspace\WorkspaceDatabase.py", line 2528, in _GetPcd
File "c:\Users\Public\Documents\BuildPool\BaseTools\build\Source\Python\Workspace\BuildClassObject.py", line 53, in __init__
MemoryError
--
Bruce
Bruce