public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* alderlake code build fail under win10
@ 2021-09-10  7:56 Linus Liu
  0 siblings, 0 replies; only message in thread
From: Linus Liu @ 2021-09-10  7:56 UTC (permalink / raw)
  To: devel@edk2.groups.io

[-- Attachment #1: Type: text/plain, Size: 2786 bytes --]

Dear Sir
I am trying to build the alder lake code, but got something wrong.
Could you kindly give some help on it?
Thanks a lot.


build.py...
: error C0DE: Tools code failure
        Please send email to devel@edk2.groups.io for help, attaching following call stack trace!

Traceback (most recent call last):
  File "D:\Code\Trunk\Edk2\BaseTools\Source\Python\GenFds\GenFds.py", line 384, in GenFdsApi
    GenFds.GenFd('', FdfParserObj, BuildWorkSpace, ArchList)
  File "D:\Code\Trunk\Edk2\BaseTools\Source\Python\GenFds\GenFds.py", line 528, in GenFd
    FdObj.GenFd()
  File "D:\Code\Trunk\Edk2\BaseTools\Source\Python\GenFds\Fd.py", line 131, in GenFd
    RegionObj.AddToBuffer (FdBuffer, self.BaseAddress, self.BlockSizeList, self.ErasePolarity, GenFdsGlobalVariable.ImageBinDict, self.DefineVarDict, Flag=Flag)
  File "D:\Code\Trunk\Edk2\BaseTools\Source\Python\GenFds\Region.py", line 134, in AddToBuffer
    FvObj.AddToBuffer(FvBuffer, FvBaseAddress, BlockSize, BlockNum, ErasePolarity, Flag=Flag)
  File "D:\Code\Trunk\Edk2\BaseTools\Source\Python\GenFds\Fv.py", line 127, in AddToBuffer
    FileName = FfsFile.GenFfs(MacroDict, FvParentAddr=BaseAddress, IsMakefile=Flag, FvName=self.UiFvName)
  File "D:\Code\Trunk\Edk2\BaseTools\Source\Python\GenFds\FfsFileStatement.py", line 169, in GenFfs
    sectList, align = section.GenSection(OutputDir, self.NameGuid, SecIndex, self.KeyStringList, None, Dict)
  File "D:\Code\Trunk\Edk2\BaseTools\Source\Python\GenFds\GuidSection.py", line 95, in GenSection
    ReturnSectList, align = Sect.GenSection(OutputPath, ModuleName, SecIndex, KeyStringList, FfsInf, Dict, IsMakefile=IsMakefile)
  File "D:\Code\Trunk\Edk2\BaseTools\Source\Python\GenFds\FvImageSection.py", line 108, in GenSection
    FvFileName = Fv.AddToBuffer(Buffer, self.FvAddr, MacroDict = Dict, Flag=IsMakefile)
  File "D:\Code\Trunk\Edk2\BaseTools\Source\Python\GenFds\Fv.py", line 127, in AddToBuffer
    FileName = FfsFile.GenFfs(MacroDict, FvParentAddr=BaseAddress, IsMakefile=Flag, FvName=self.UiFvName)
  File "D:\Code\Trunk\Edk2\BaseTools\Source\Python\GenFds\FfsFileStatement.py", line 169, in GenFfs
    sectList, align = section.GenSection(OutputDir, self.NameGuid, SecIndex, self.KeyStringList, None, Dict)
  File "D:\Code\Trunk\Edk2\BaseTools\Source\Python\GenFds\UiSection.py", line 70, in GenSection
    GenFdsGlobalVariable.GenerateSection(OutputFile, None, 'EFI_SECTION_USER_INTERFACE', Ui=NameString, IsMakefile=IsMakefile)
  File "D:\Code\Trunk\Edk2\BaseTools\Source\Python\GenFds\GenFdsGlobalVariable.py", line 490, in GenerateSection
    SectionData.fromstring(Ui.encode("utf_16_le"))
AttributeError: 'array.array' object has no attribute 'fromstring'



build.py...
: error 7000: Failed to execute command

[-- Attachment #2: Type: text/html, Size: 6496 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-10  7:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-10  7:56 alderlake code build fail under win10 Linus Liu

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