public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
To: Bruce Cran <bruce@cran.org.uk>
Cc: edk2-devel-01 <edk2-devel@lists.01.org>
Subject: Re: Build traceback with new CLANG35 toolset
Date: Tue, 2 Aug 2016 20:53:58 +0200	[thread overview]
Message-ID: <CAKv+Gu9V-0NZ2LWWA1QzNaw9e=LN0ACQWY0TorShq1TmZUUceg@mail.gmail.com> (raw)
In-Reply-To: <2b972ef4-c9b7-a10d-0033-ff19bcb82899@cran.org.uk>

On 2 August 2016 at 20:24, Bruce Cran <bruce@cran.org.uk> wrote:
> 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:
>

CLANG35 is not new, and currently only supports ARM and AARCH64


> 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
>
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel


  reply	other threads:[~2016-08-02 18:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-02 18:24 Build traceback with new CLANG35 toolset Bruce Cran
2016-08-02 18:53 ` Ard Biesheuvel [this message]
2016-08-02 18:55   ` Bruce Cran
2016-08-03  0:13     ` Shi, Steven

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAKv+Gu9V-0NZ2LWWA1QzNaw9e=LN0ACQWY0TorShq1TmZUUceg@mail.gmail.com' \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox