public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Build traceback with new CLANG35 toolset
@ 2016-08-02 18:24 Bruce Cran
  2016-08-02 18:53 ` Ard Biesheuvel
  0 siblings, 1 reply; 4+ messages in thread
From: Bruce Cran @ 2016-08-02 18:24 UTC (permalink / raw)
  To: edk2-devel-01

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Build traceback with new CLANG35 toolset
  2016-08-02 18:24 Build traceback with new CLANG35 toolset Bruce Cran
@ 2016-08-02 18:53 ` Ard Biesheuvel
  2016-08-02 18:55   ` Bruce Cran
  0 siblings, 1 reply; 4+ messages in thread
From: Ard Biesheuvel @ 2016-08-02 18:53 UTC (permalink / raw)
  To: Bruce Cran; +Cc: edk2-devel-01

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Build traceback with new CLANG35 toolset
  2016-08-02 18:53 ` Ard Biesheuvel
@ 2016-08-02 18:55   ` Bruce Cran
  2016-08-03  0:13     ` Shi, Steven
  0 siblings, 1 reply; 4+ messages in thread
From: Bruce Cran @ 2016-08-02 18:55 UTC (permalink / raw)
  To: Ard Biesheuvel; +Cc: edk2-devel-01

On 8/2/2016 12:53 PM, Ard Biesheuvel wrote:

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

Oops - thanks. I was thinking of CLANG38 that hasn't been committed yet.

-- 
Bruce


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Build traceback with new CLANG35 toolset
  2016-08-02 18:55   ` Bruce Cran
@ 2016-08-03  0:13     ` Shi, Steven
  0 siblings, 0 replies; 4+ messages in thread
From: Shi, Steven @ 2016-08-03  0:13 UTC (permalink / raw)
  To: Bruce Cran, Ard Biesheuvel; +Cc: edk2-devel-01

Cran,
We will send CLANG38 patch to support X86, and the new CLANG38 patch will base on current GCC5 implementation. FYI.


Steven Shi
Intel\SSG\STO\UEFI Firmware

Tel: +86 021-61166522
iNet: 821-6522


> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
> Bruce Cran
> Sent: Wednesday, August 03, 2016 2:56 AM
> To: Ard Biesheuvel <ard.biesheuvel@linaro.org>
> Cc: edk2-devel-01 <edk2-devel@lists.01.org>
> Subject: Re: [edk2] Build traceback with new CLANG35 toolset
> 
> On 8/2/2016 12:53 PM, Ard Biesheuvel wrote:
> 
> > CLANG35 is not new, and currently only supports ARM and AARCH64
> 
> Oops - thanks. I was thinking of CLANG38 that hasn't been committed yet.
> 
> --
> Bruce
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-08-03  0:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-02 18:24 Build traceback with new CLANG35 toolset Bruce Cran
2016-08-02 18:53 ` Ard Biesheuvel
2016-08-02 18:55   ` Bruce Cran
2016-08-03  0:13     ` Shi, Steven

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