From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yb0-x22c.google.com (mail-yb0-x22c.google.com [IPv6:2607:f8b0:4002:c09::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 6FBA01A1E52 for ; Tue, 13 Sep 2016 12:51:23 -0700 (PDT) Received: by mail-yb0-x22c.google.com with SMTP id u125so66196607ybg.3 for ; Tue, 13 Sep 2016 12:51:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:mime-version:thread-index:date:message-id:subject:to; bh=UhtI1mV6Cyg63SLR0+ve32QtYEZCh4CRngAaf9+fzpY=; b=MtMKbK5rcw5RNMEIh+L9fIf0Lgkwztqz+UFk2zC4wqa4jnTtkzvgS43aZWQ7sfAfRs ffIzz2ppOcNIZQD2CWwb1KN4yXya4M8egQ+twjxURVYWOsRvelJgCv1GT1mmPhOZF1Fc E4fM8cbRnd+1PAUBKHxeRJYzPSSANjDQZXSSQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:mime-version:thread-index:date:message-id :subject:to; bh=UhtI1mV6Cyg63SLR0+ve32QtYEZCh4CRngAaf9+fzpY=; b=VMewyoH/EI2JY8a8Gm3y+1A6piTjlpQqsqT5PV8lR21UVKuneHrqoAGa3z/bYXItoN ZSAsj+26cpY0pEcd+bDTB58NDxzFa7R6TfzSXDiJyGuPBsx8kN8Uoel3pGQB2HUlm7YR Z16VqGzV15A9sC2JlyPCZk6MDd91dAr7SgU1rTxwdXrhuCiT7xQ+noXqeGjn77hdLKlB Y7VAbUzyQggJOTfdw8cLHEmHY4ekT6rCER5ba2KdiVvJ++WNOZXIEftFX5053EnnMqJH ZPog8EklRxVs16gaVzB8E2vimEeCZWWOnow6/WSN2gFxL/dvaw7rj4GbB1wB7AjUqBDQ 75Ig== X-Gm-Message-State: AE9vXwP+SOhHewnlRJUg8C1gUJbl0tsU1Cykg+QQ1zGWwAAb1x3h2CrY0OSkvUO9DOWDKORYGt5lJVGUgEyCl2IV X-Received: by 10.37.231.2 with SMTP id e2mr2714591ybh.79.1473796282142; Tue, 13 Sep 2016 12:51:22 -0700 (PDT) From: Vladimir Olovyannikov MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AdIN96f1sewGhDUdRCW5KjQEeKmdew== Date: Tue, 13 Sep 2016 12:51:21 -0700 Message-ID: <10f6991b5b8925ea4823ad424dc70f56@mail.gmail.com> To: edk2-devel@ml01.01.org Subject: GenFds.py error CODE: Tools code failure X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2016 19:51:23 -0000 Content-Type: text/plain; charset=UTF-8 Hello, I have just got this error building UEFI for AARCH64. Here is an excerpt from the output: Fd File Name:BL33_AP_UEFI Generate Region at Offset 0x0 Region Size = 0xF0000 Region Name = FV Generating FVMAIN_COMPACT FV #### Generating FVMAIN FV #################################### ######################################## ######################################## GenFds.py... : error C0DE: Tools code failure Please send email to edk2-devel@lists.01.org for help, attaching following call stack trace! Traceback (most recent call last): File "/uefi/BaseTools/BinWrappers/PosixLike/../../Source/Python/GenFds/GenFds.p y", line 307, in main GenFds.GenFd('', FdfParserObj, BuildWorkSpace, ArchList) File "/uefi/BaseTools/BinWrappers/PosixLike/../../Source/Python/GenFds/GenFds.p y", line 553, in GenFd FdObj.GenFd() File "/uefi/BaseTools/Source/Python/GenFds/Fd.py", line 93, in GenFd RegionObj.AddToBuffer (TempFdBuffer, self.BaseAddress, self.BlockSizeList, self.ErasePolarity, GenFds.ImageBinDict, self.vtfRawDict, self.DefineVarDict) File "/uefi/BaseTools/Source/Python/GenFds/Region.py", line 127, in AddToBuffer FvObj.AddToBuffer(FvBuffer, FvBaseAddress, BlockSize, BlockNum, ErasePolarity, vtfDict) File "/uefi/BaseTools/Source/Python/GenFds/Fv.py", line 115, in AddToBuffer FileName = FfsFile.GenFfs(MacroDict, FvParentAddr=BaseAddress) File "/uefi/BaseTools/Source/Python/GenFds/FfsFileStatement.py", line 156, in GenFfs sectList, align = section.GenSection(OutputDir, self.NameGuid, SecIndex, self.KeyStringList, None, Dict) File "/uefi/BaseTools/Source/Python/GenFds/GuidSection.py", line 97, in GenSection ReturnSectList, align = Sect.GenSection(OutputPath, ModuleName, SecIndex, KeyStringList, FfsInf, Dict) File "/uefi/BaseTools/Source/Python/GenFds/FvImageSection.py", line 101, in GenSection FvFileName = Fv.AddToBuffer(Buffer, self.FvAddr, MacroDict = Dict) File "/uefi/BaseTools/Source/Python/GenFds/Fv.py", line 115, in AddToBuffer FileName = FfsFile.GenFfs(MacroDict, FvParentAddr=BaseAddress) File "/uefi/BaseTools/Source/Python/GenFds/FfsInfStatement.py", line 480, in GenFfs InputSectList, InputSectAlignments = self.__GenComplexFileSection__(Rule, FvChildAddr, FvParentAddr) File "/uefi/BaseTools/Source/Python/GenFds/FfsInfStatement.py", line 948, in __GenComplexFileSection__ self.__GenUniVfrOffsetFile (VfrUniOffsetList, UniVfrOffsetFileName) File "/uefi/BaseTools/Source/Python/GenFds/FfsInfStatement.py", line 1052, in __GenUniVfrOffsetFile for Item in VfrUniOffsetList: TypeError: 'NoneType' object is not iterable ################# build.py... : error 7000: Failed to execute command GenFds -f /uefi/BroadcomPlatformPkg/NS2Pkg/NS2Pkg.fdf --conf=/uefi/Conf -o /uefi/Build/NS2Pkg/DEBUG_GCC5 -t GCC5 -b DEBUG -p /uefi/BroadcomPlatformPkg/NS2Pkg/NS2Pkg.dsc -a AARCH64 -D "EFI_SOURCE=/uefi/EdkCompatibilityPkg" -D "EDK_SOURCE=/uefi/EdkCompatibilityPkg" -D "TOOL_CHAIN_TAG=GCC5" -D "TOOLCHAIN=GCC5" -D "TARGET=DEBUG" -D "FAMILY=GCC" -D "WORKSPACE=/uefi" -D "EDK_TOOLS_PATH=/uefi/BaseTools" -D "ARCH=AARCH64" -D "ECP_SOURCE=/uefi/EdkCompatibilityPkg" [/uefi] - Failed - Please let me know if any other information is needed to identify the reason of the error. Thank you, Vladimir