Dear Sean,

Thanks for your reply. I have turned off the optimization but I did not succeed.
I want to test the HTTP boot method. According to the documentation, EmulatorPkg is required for testing the HTTP(s) boot method.
Is there any other way for testing HTTP(S) boot?

Regards,
Ali

On Tue, Oct 27, 2020 at 8:00 PM Sean Brogan <spbrogan@outlook.com> wrote:
Thanks for reporting the issue.

This issue has been reported but is not yet fixed (from your log it
looks like a match).
https://bugzilla.tianocore.org/show_bug.cgi?id=2639

We attempted to call out this issue in the main readme.rst by putting a
link to the bugs but i am sure it is super easy to miss.
https://github.com/tianocore/edk2/blob/master/ReadMe.rst

Anyway if you want to follow that bug and/or supply a fix that would be
great.  Some have mentioned turning off optimizations might avoid the
issue.

Thanks
Sean





On 10/26/2020 10:33 PM, Ali Shirvani wrote:
> Hello,
>
> I just compiled EmulatorPkg successfully, but when I tried to run it with
> ./Host command, I got following error:
>
>>
>> PeiInstallPeiMemory MemoryBegin 0x41000000, MemoryLength 0x4000000
>> PROGRESS CODE: V03020003 I0
>> Temp Stack : BaseAddress=0x40000000 Length=0x10000
>> Temp Heap  : BaseAddress=0x40010000 Length=0x10000
>> Total temporary memory:    131072 bytes.
>>    temporary memory stack ever used:       65532 bytes.
>>    temporary memory heap used for HobList: 3736 bytes.
>>    temporary memory heap occupied by memory pages: 0 bytes.
>> Old Stack size 65536, New stack size 131072
>> Stack Hob: BaseAddress=0x41000000 Length=0x20000
>> Heap Offset = 0x1010000 Stack Offset = 0x1010000
>> Segmentation fault
>>
>
> The attached is the complete log of `./Host` command.
>
>
>
>
>
>