Jordan:
  This is an issue in GenFw tool that doesn't support to use -z and -e option 
together. If you use them both, the generated EFI image will not update 
SUBSYSTEM value to EFI SUBSYSTEM, which will cause GenFv error. So, I think we 
need to fix it in GenFw tool. 

Thanks
Liming
-----Original Message-----
From: Jordan Justen [mailto:[email protected]] 
Sent: Tuesday, December 25, 2012 2:35 PM
To: Andrew Fish
Cc: [email protected]; [email protected]; 
[email protected]; [email protected]
Subject: Re: [edk2-buildtools] [edk2] Debug symbols

On Mon, Dec 24, 2012 at 10:32 PM, Jordan Justen <[email protected]> wrote:
> On Mon, Dec 24, 2012 at 2:55 PM, Andrew Fish <[email protected]> wrote:
>> On Dec 24, 2012, at 1:05 PM, Jordan Justen <[email protected]> wrote:
>>
>>> On Mon, Dec 24, 2012 at 7:35 AM, Ben Schroeder <[email protected]> wrote:
>>>> What is the correct method for building a driver without debug symbols?
>>>>
>>>> I imagined RELEASe builds will not include debug symbols.
>>>>
>>>> But it seems that changing Conf/target.txt to specify TARGET = 
>>>> RELEASE will still include debug symbols in the output file.
>>>
>>> I think you want to enable 'zero debug data' in GenFw, but I tried 
>>> this in my .dsc, and my build failed:
>>
>> What failure did you get?
>
> Return Value = 2
> GenFv: ERROR 3000: Invalid PeImage
>   The input file is
> Build/OvmfX64/DEBUG_GCC47/FV/Ffs/52C05B14-0B98-496c-BC3B-04B50211D680P
> eiCore/52C05B14-0B98-496c-BC3B-04B50211D680.ffs
> and the return status is 3
> GenFv: ERROR 3000: Invalid
>
> This was with with edk2-buildtools r14012.

Sorry, r2563 for edk2-buildtools.

-Jordan

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely 
access PCs and mobile devices and provide instant support Improve your 
efficiency, and focus on delivering more value-add services Discover what IT 
Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
edk2-buildtools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-buildtools-devel

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
edk2-buildtools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-buildtools-devel

Reply via email to