thanks for sharing information  , Liming







At 2017-08-22 16:45:33, "Gao, Liming" <[email protected]> wrote:
>You can check OvmfPkg\build.sh. The default tool chain is GCC5, not GCC46. 
>
>Your build uses GCC46 tool chain with GCC62, which is wrong. 
>
>>-----Original Message-----
>>From: edk2-devel [mailto:[email protected]] On Behalf Of
>>wang xiaofeng
>>Sent: Tuesday, August 22, 2017 4:26 PM
>>To: [email protected]
>>Subject: [edk2] fail to build OVMF with GCC62 in Ubuntu
>>
>>Hello,
>>    I just try to build OVMF with GCC62 in Ubuntu. The following errors shows:
>>
>>GenFw: ERROR 3000: Invalid
>>
>>
>>/home/jerry/EDKII/edk2/Build/OvmfIa32/DEBUG_GCC46/IA32/OvmfPkg/Sec
>>/SecMain/DEBUG/SecMain.dll unsupported ELF EM_386 relocation 0x4.
>>
>>  From tools_def.txt it seems the latest support GCC by basetools is GCC 5?
>>And the default is GCC4.6?
>>
>>  So I need to install a lower revision of GCC?
>>
>>
>>
>>
>>
>>_______________________________________________
>>edk2-devel mailing list
>>[email protected]
>>https://lists.01.org/mailman/listinfo/edk2-devel
>_______________________________________________
>edk2-devel mailing list
>[email protected]
>https://lists.01.org/mailman/listinfo/edk2-devel
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to