From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from foss.arm.com (foss.arm.com [217.140.101.70]) by ml01.01.org (Postfix) with ESMTP id 0EFBE1A1E4F for ; Wed, 19 Oct 2016 03:06:21 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A014114CD; Wed, 19 Oct 2016 03:06:20 -0700 (PDT) Received: from [10.1.210.28] (unknown [10.1.210.28]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 790FB3F21A; Wed, 19 Oct 2016 03:06:19 -0700 (PDT) Cc: Sudeep Holla , Leif Lindholm , Ard Biesheuvel , Yonghong Zhu , Liming Gao To: "edk2-devel (edk2-devel@lists.01.org)" From: Sudeep Holla Organization: ARM Message-ID: <4e31477b-400e-4397-ad9e-09775c228240@arm.com> Date: Wed, 19 Oct 2016 11:06:19 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 Subject: Build failure with latest edk2/tianocore tip 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: Wed, 19 Oct 2016 10:06:21 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi guys, When I was compile for OpenPlatformPkg/Platforms/ARM/Juno/ArmJuno.dsc [1] platform this morning with the latest edk2/tianocore tip on the commit 0613ccbd1357 ("CorebootPayloadPkg/PciHostBridgeLib: Fix the wrong PCI resource limit"), I hit the following build error. On bisecting the same, I narrowed down to the commit 67e11e4d5902 ("BaseTools: support PCD value to use expression in the DEC file"). Reverting that, resumes back the build. Can you please have a look ? -- Regards, Sudeep [1] https://git.linaro.org/uefi/OpenPlatformPkg.git --->8 Processing meta-data .. build.py... : error C0DE: Unknown fatal error when processing [uefi/ArmPlatformPkg/ArmVExpressPkg/ArmVExpressPkg.dec] (Please send email to edk2-devel@lists.01.org for help, attaching following call stack trace!) (Python 2.7.12 on linux2) Traceback (most recent call last): File "uefi/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2274, in Main MyBuild.Launch() File "uefi/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2026, in Launch self._MultiThreadBuildPlatform() File "uefi/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 1821, in _MultiThreadBuildPlatform self.Progress File "uefi/BaseTools/Source/Python/AutoGen/AutoGen.py", line 176, in __new__ if not AutoGenObject._Init(Workspace, MetaFile, Target, Toolchain, Arch, *args, **kwargs): File "uefi/BaseTools/Source/Python/AutoGen/AutoGen.py", line 466, in _Init if key in Platform.Pcds: File "uefi/BaseTools/Source/Python/Workspace/WorkspaceDatabase.py", line 767, in _GetPcds self._Pcds.update(self._GetPcd(MODEL_PCD_FIXED_AT_BUILD)) File "uefi/BaseTools/Source/Python/Workspace/WorkspaceDatabase.py", line 846, in _GetPcd PcdValue, DatumType, MaxDatumSize = self._ValidatePcd(PcdCName, TokenSpaceGuid, Setting, Type, Dummy4) File "uefi/BaseTools/Source/Python/Workspace/WorkspaceDatabase.py", line 708, in _ValidatePcd self._DecPcds = GetDeclaredPcd(self, self._Bdb, self._Arch, self._Target, self._Toolchain) File "uefi/BaseTools/Source/Python/Workspace/WorkspaceCommon.py", line 50, in GetDeclaredPcd for Pcd in Pkg.Pcds: File "uefi/BaseTools/Source/Python/Workspace/WorkspaceDatabase.py", line 1556, in _GetPcds self._Pcds.update(self._GetPcd(MODEL_PCD_FIXED_AT_BUILD)) File "uefi/BaseTools/Source/Python/Workspace/WorkspaceDatabase.py", line 1574, in _GetPcd RecordList = self._RawData[Type, self._Arch] File "uefi/BaseTools/Source/Python/Workspace/MetaFileParser.py", line 239, in __getitem__ self.Start() File "uefi/BaseTools/Source/Python/Workspace/MetaFileParser.py", line 1671, in Start self._SectionParser[self._SectionType[0]](self) File "uefi/BaseTools/Source/Python/Workspace/MetaFileParser.py", line 43, in MacroParser Parser(self) File "uefi/BaseTools/Source/Python/Workspace/MetaFileParser.py", line 1886, in _PcdParser ValueList[0] = ValueExpression(PcdValue, self._AllPcdDict)(True) File "uefi/BaseTools/Source/Python/Common/Expression.py", line 275, in __call__ Val = self._OrExpr() File "uefi/BaseTools/Source/Python/Common/Expression.py", line 320, in _OrExpr return self._ExprFuncTemplate(self._AndExpr, ["OR", "or", "||"]) File "uefi/BaseTools/Source/Python/Common/Expression.py", line 308, in _ExprFuncTemplate Val = EvalFunc() File "uefi/BaseTools/Source/Python/Common/Expression.py", line 324, in _AndExpr return self._ExprFuncTemplate(self._BitOr, ["AND", "and", "&&"]) File "uefi/BaseTools/Source/Python/Common/Expression.py", line 308, in _ExprFuncTemplate Val = EvalFunc() File "uefi/BaseTools/Source/Python/Common/Expression.py", line 328, in _BitOr return self._ExprFuncTemplate(self._BitXor, ["|"]) File "uefi/BaseTools/Source/Python/Common/Expression.py", line 308, in _ExprFuncTemplate Val = EvalFunc() File "uefi/BaseTools/Source/Python/Common/Expression.py", line 332, in _BitXor return self._ExprFuncTemplate(self._BitAnd, ["XOR", "xor", "^"]) File "uefi/BaseTools/Source/Python/Common/Expression.py", line 308, in _ExprFuncTemplate Val = EvalFunc() File "uefi/BaseTools/Source/Python/Common/Expression.py", line 336, in _BitAnd return self._ExprFuncTemplate(self._EqExpr, ["&"]) File "uefi/BaseTools/Source/Python/Common/Expression.py", line 308, in _ExprFuncTemplate Val = EvalFunc() File "uefi/BaseTools/Source/Python/Common/Expression.py", line 340, in _EqExpr Val = self._RelExpr() File "uefi/BaseTools/Source/Python/Common/Expression.py", line 356, in _RelExpr return self._ExprFuncTemplate(self._AddExpr, ["<=", ">=", "<", ">", "LE", "GE", "LT", "GT"]) File "uefi/BaseTools/Source/Python/Common/Expression.py", line 308, in _ExprFuncTemplate Val = EvalFunc() File "uefi/BaseTools/Source/Python/Common/Expression.py", line 360, in _AddExpr return self._ExprFuncTemplate(self._UnaryExpr, ["+", "-"]) File "uefi/BaseTools/Source/Python/Common/Expression.py", line 308, in _ExprFuncTemplate Val = EvalFunc() File "uefi/BaseTools/Source/Python/Common/Expression.py", line 371, in _UnaryExpr return self._IdenExpr() File "uefi/BaseTools/Source/Python/Common/Expression.py", line 375, in _IdenExpr Tk = self._GetToken() File "uefi/BaseTools/Source/Python/Common/Expression.py", line 536, in _GetToken return self.__GetNList() File "uefi/BaseTools/Source/Python/Common/Expression.py", line 495, in __GetNList self._GetSingleToken() File "uefi/BaseTools/Source/Python/Common/Expression.py", line 567, in _GetSingleToken return self.__GetArray() File "uefi/BaseTools/Source/Python/Common/Expression.py", line 411, in __GetArray self.__GetNList(True) File "uefi/BaseTools/Source/Python/Common/Expression.py", line 513, in __GetNList raise BadExpression(ERR_ARRAY_ELE % self._Token) BadExpression: This must be HEX value for NList or Array: [e6].