From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from muon.cran.org.uk (muon.bluestop.org [IPv6:2605:7700:0:8:1:0:4a32:3323]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 3069A1A1E12 for ; Tue, 2 Aug 2016 11:24:47 -0700 (PDT) Received: from muon.bluestop.org (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 1028D86D0D for ; Tue, 2 Aug 2016 18:24:46 +0000 (UTC) Received: from muon.cran.org.uk ([127.0.0.1]) by muon.bluestop.org (muon.bluestop.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id UYPeyV9YjwQp for ; Tue, 2 Aug 2016 18:24:45 +0000 (UTC) Received: from [10.0.10.17] (c-67-171-116-44.hsd1.ut.comcast.net [67.171.116.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA for ; Tue, 2 Aug 2016 18:24:45 +0000 (UTC) To: edk2-devel-01 From: Bruce Cran Message-ID: <2b972ef4-c9b7-a10d-0033-ff19bcb82899@cran.org.uk> Date: Tue, 2 Aug 2016 12:24:44 -0600 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 Subject: Build traceback with new CLANG35 toolset 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, 02 Aug 2016 18:24:47 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit I was just testing the new GCC5 and CLANG35 toolsets that have landed in git master: GCC5 works perfectly, but with CLANG35 I get the following log and traceback: Build environment: Linux-4.6.4-2-default-x86_64-with-SuSE-20160728-x86_64 Build start time: 12:12:40, Aug.02 2016 WORKSPACE = /mnt/user/workspace/edk2 ECP_SOURCE = /mnt/user/workspace/edk2/EdkCompatibilityPkg EDK_SOURCE = /mnt/user/workspace/edk2/EdkCompatibilityPkg EFI_SOURCE = /mnt/user/workspace/edk2/EdkCompatibilityPkg EDK_TOOLS_PATH = /mnt/user/workspace/edk2/BaseTools Architecture(s) = X64 Build target = RELEASE Toolchain = CLANG35 Active Platform = /mnt/user/workspace/edk2/MyPkg/MyPkg.dsc Processing meta-data . build.py... : error C0DE: Unknown fatal error when processing [/mnt/user/workspace/edk2/MyPkg/MyPkg.inf] (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 "/mnt/user/workspace/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2270, in Main MyBuild.Launch() File "/mnt/user/workspace/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2022, in Launch self._MultiThreadBuildPlatform() File "/mnt/user/workspace/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 1857, in _MultiThreadBuildPlatform Ma.CreateMakeFile(True) File "/mnt/user/workspace/edk2/BaseTools/Source/Python/AutoGen/AutoGen.py", line 3923, in CreateMakeFile if Makefile.Generate(): File "/mnt/user/workspace/edk2/BaseTools/Source/Python/AutoGen/GenMake.py", line 184, in Generate FileContent = self._TEMPLATE_.Replace(self._TemplateDict) File "/mnt/user/workspace/edk2/BaseTools/Source/Python/AutoGen/GenMake.py", line 525, in _CreateTemplateDict RespDict = self.CommandExceedLimit() File "/mnt/user/workspace/edk2/BaseTools/Source/Python/AutoGen/GenMake.py", line 716, in CommandExceedLimit Str = self._AutoGenObject._BuildOption[Tool]['FLAGS'] KeyError: 'FLAGS' -- Bruce