Good point. I think we can separate tools_def.template to two template files. 
One is for old tool chain, another is for current popular tool chain. Default 
is current tool chain template. If user really wants to verify old tool chain, 
he can use old template. If so, next is to scope which tool chain is regarded 
as old tool chain, such as DDK3790, VS2003, VS2005 and others?

-----Original Message-----
From: Olivier Martin [mailto:olivier.mar...@arm.com] 
Sent: Wednesday, June 17, 2015 6:15 PM
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] today's build failures

What about removing toolchains that are not supported anymore? Like DDK3790?
Or are we waiting for tools_def.txt to reach 10,000 lines (it is only 7212 
lines at the moment).

-----Original Message-----
From: Gao, Liming [mailto:liming....@intel.com]
Sent: 17 June 2015 11:04
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] today's build failures

Scott:
  Thanks for this full report. For the first, this failure should exist since 
_DEBUG_PRINT is added in DebugLib.h. It exists for several months. No people 
reports it. Seemly, there is no users to use the old DDK3790 chain. So, I think 
you can remove this test from your validation scope.

Thanks
Liming
-----Original Message-----
From: Scott Duplichan [mailto:sc...@notabs.org]
Sent: Wednesday, June 17, 2015 1:26 PM
To: edk2-devel@lists.sourceforge.net
Subject: [edk2] today's build failures

Here is a Windows batch file for automating edk2 builds using different tool 
chains and other options. It doesn't test every valid combination and project, 
but its test of 416 build combinations is more thorough than what developers 
are doing today.

https://sourceforge.net/projects/edk2developertoolsforwindows/files/Additional%20Tools/buildall/

A compressed log file for a recent edk2 revision is included.
Here is a summary of build fails found in that log file:

1) build.exe -p D:\edk2build\edk2\OvmfPkg\OvmfPkgX64.dsc -b DEBUG -t DDK3790 -n 
16 -a X64 -DSECURE_BOOT_ENABLE -DFD_SIZE_2MB
d:\edk2build\edk2\MdePkg\Include\Library\DebugLib.h(264) : error C2010: '.' : 
unexpected in macro formal parameter list
cause: OpensslLib.inf undefines _MSC_VER, which is needed by DebugLib.h

2) build.exe -p D:\edk2build\edk2\OvmfPkg\OvmfPkgX64.dsc -b DEBUG -t VS2005x86 
-n 16 -a X64 -DSECURE_BOOT_ENABLE -DFD_SIZE_2MB
d:\edk2build\edk2\OvmfPkg\Library\XenHypercallLib\X86XenHypercall.c(38) : 
warning C4244: 'return' : conversion from 'int' to 'BOOLEAN', possible loss of 
data
cause: known limitation of VS2005

3) build.exe -p D:\edk2build\edk2\AppPkg\AppPkg.dsc -b DEBUG -t DDK3790 -n 16 
-a X64
d:\edk2build\edk2\StdLib\LibC\Uefi\Devices\Console\daConsole.c(305) : warning 
C4244: '=' : conversion from 'int' to 'wchar_t', possible loss of data
cause: known limitation of DDK3790 compiler

4) build.exe -p D:\edk2build\edk2\AppPkg\AppPkg.dsc -b NOOPT -t VS2010x86 -n 16 
-a IA32
d:\edk2build\edk2\stdlib\bsdsocketlib\ns_addr.c(84) : warning C4706: assignment 
within conditional expression
cause: Microsoft warning not available for gcc

5) build.exe -p D:\edk2build\edk2\AppPkg\AppPkg.dsc -b DEBUG -t VS2013x86 -n 16 
-a IA32
LibGdtoa.lib(strtod.obj) : error LNK2001: unresolved external symbol __dtoui3
cause: (see 2014 discussion)

6) build.exe -p D:\edk2build\edk2\IntelFspPkg\IntelFspPkg.dsc -b DEBUG -t 
DDK3790 -n 16 -a IA32 LINK : fatal error LNK1000: Internal error during 
LIB::Search
cause: bug in old tool chain?

7) build.exe -p D:\edk2build\edk2\DuetPkg\DuetPkgIA32.dsc -b DEBUG -t VS2005x86 
-n 16 -a IA32
d:\edk2build\edk2\MdeModulePkg\Universal\SetupBrowserDxe\Presentation.c(1923) : 
warning C4244: 'return' : conversion from 'int' to 'BOOLEAN', possible loss of 
data
cause: limitation of older Microsoft tool chains

8) build.exe -p D:\edk2build\edk2\EmulatorPkg\EmulatorPkg.dsc -b RELEASE -t 
VS2005x86 -n 16 -a IA32
d:\edk2build\edk2\EmulatorPkg\CpuRuntimeDxe\MpService.c(67) : warning C4244: 
'return' : conversion from 'int' to 'BOOLEAN', possible loss of data
cause: limitation of older Microsoft tool chains

9) build.exe -p D:\edk2build\edk2\Nt32Pkg\Nt32Pkg.dsc -b RELEASE -t VS2005x86 
-n 16 -a X64 -DSECURE_BOOT_ENABLE C:\Program Files (x86)\Windows 
Kits\8.1\include\um\winnt.h(2935) : warning C4163: '__cpuidex' : not available 
as an intrinsic function
cause: limitation of older Microsoft tool chains

Thanks,
Scott



------------------------------------------------------------------------------
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

------------------------------------------------------------------------------
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel


-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium.  Thank you.

ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered 
in England & Wales, Company No:  2557590 ARM Holdings plc, Registered office 
110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company 
No:  2548782


------------------------------------------------------------------------------
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

------------------------------------------------------------------------------
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to