public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* BaseTools: build failure when specifying multiple BUILDTARGET
@ 2019-02-04  9:58 Leif Lindholm
  2019-02-04 11:54 ` Philippe Mathieu-Daudé
  0 siblings, 1 reply; 4+ messages in thread
From: Leif Lindholm @ 2019-02-04  9:58 UTC (permalink / raw)
  To: edk2-devel; +Cc: Bob Feng, Liming Gao

Hi Bob, Liming,

With the latest BaseTools (current HEAD, 6c61ec4c62), building
multiple targets from a single command line crashes.

To reproduce:
build -a IA32 -t GCC5 -b RELEASE -b NOOPT -p OvmfPkg/OvmfPkgIa32.dsc
(I first built with -n32, but dropped that to see if it would make a
difference - it does not.)

The first target specified builds successfully. When starting on the
second, the output is as below, and build exits.

/
    Leif

Architecture(s)  = IA32
Build target     = NOOPT
Toolchain        = GCC5

Active Platform          = /work/git/edk2/OvmfPkg/OvmfPkgIa32.dsc
Flash Image Definition   = /work/git/edk2/OvmfPkg/OvmfPkgIa32.fdf

Processing meta-data ...


build.py...
 : error C0DE: Unknown fatal error when processing [/work/git/edk2/OvmfPkg/OvmfPkgIa32.dsc]

(Please send email to edk2-devel@lists.01.org for help, attaching following call stack trace!)

(Python 3.5.3 on linux) Traceback (most recent call last):
  File "/work/git/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2387, in Main
    MyBuild.Launch()
  File "/work/git/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2141, in Launch
    self._MultiThreadBuildPlatform()
  File "/work/git/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 1921, in _MultiThreadBuildPlatform
    self.Progress
  File "/work/git/edk2/BaseTools/Source/Python/AutoGen/AutoGen.py", line 304, in __init__
    self._InitWorker(Workspace, MetaFile, Target, Toolchain, Arch, *args, **kwargs)
  File "/work/git/edk2/BaseTools/Source/Python/AutoGen/AutoGen.py", line 477, in _InitWorker
    for BuildData in PGen.BuildDatabase._CACHE_.values():
RuntimeError: dictionary changed size during iteration


- Failed -


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-02-04 16:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-04  9:58 BaseTools: build failure when specifying multiple BUILDTARGET Leif Lindholm
2019-02-04 11:54 ` Philippe Mathieu-Daudé
2019-02-04 12:22   ` Philippe Mathieu-Daudé
2019-02-04 16:48     ` Leif Lindholm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox