Hi Andrew,

Yes, it's a bug, and it was fixed at revision 2609 in base tool trunk.

Dennis

From: Andrew Fish [mailto:[email protected]]
Sent: Wednesday, January 08, 2014 3:08 PM
To: [email protected]
Cc: [email protected]
Subject: [edk2-buildtools] Bug introduced with latest build tools sync. Empty 
FV causes infinite Processing meta-data

I just synced my BaseTools package with the TOT and my build got stuck in an 
infinite loop.

Build environment: Darwin-13.0.2-x86_64-i386-64bit
Build start time: 22:58:42, Jan.07 2014

WORKSPACE        = /Users/andrewfish/work/edk2
ECP_SOURCE       = /Users/andrewfish/work/edk2/EdkCompatibilityPkg
EDK_SOURCE       = /Users/andrewfish/work/edk2/EdkCompatibilityPkg
EFI_SOURCE       = /Users/andrewfish/work/edk2/EdkCompatibilityPkg
EDK_TOOLS_PATH   = /Users/andrewfish/work/edk2/BaseTools


Architecture(s)  = X64
Build target     = DEBUG
Toolchain        = XCODE5

Active Platform          = 
/Users/andrewfish/work/edk2/EmbeddedPkg/EmbeddedPkg.dsc
Flash Image Definition   = 
/Users/andrewfish/work/edk2/EmbeddedPkg/EmbeddedPkg.fdf

Processing meta-data 
.............................................................................................


I tracked it down to an empty FV. This worked fine in prior versions. Adding an 
empty FV to any *.FDF should reproduce the failure.  I noticed the logic around 
parsing FV settings changed, so I assume this change introduced the bug?

~/work/edk2>svn diff EmbeddedPkg/EmbeddedPkg.fdf
Index: EmbeddedPkg/EmbeddedPkg.fdf
===================================================================
--- EmbeddedPkg/EmbeddedPkg.fdf        (revision 15058)
+++ EmbeddedPkg/EmbeddedPkg.fdf      (working copy)
@@ -51,6 +51,24 @@
 #
 
################################################################################
 INF  EmbeddedPkg/Ebl/Ebl.inf
+
+[FV.Crash]
+FvAlignment        = 16         #FV alignment and FV attributes setting.
+ERASE_POLARITY     = 1
+MEMORY_MAPPED      = TRUE
+STICKY_WRITE       = TRUE
+LOCK_CAP           = TRUE
+LOCK_STATUS        = TRUE
+WRITE_DISABLED_CAP = TRUE
+WRITE_ENABLED_CAP  = TRUE
+WRITE_STATUS       = TRUE
+WRITE_LOCK_CAP     = TRUE
+WRITE_LOCK_STATUS  = TRUE
+READ_DISABLED_CAP  = TRUE
+READ_ENABLED_CAP   = TRUE
+READ_STATUS        = TRUE
+READ_LOCK_CAP      = TRUE
+READ_LOCK_STATUS   = TRUE


 
################################################################################
 #


Thanks,

Andrew Fish

PS I was working on a project and one of the FVs was a place holder as it 
currently had its INF files commented out. I did not see this crash until I 
synced my BaseTools with TOT edk2.
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
edk2-buildtools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-buildtools-devel

Reply via email to