public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* fail to build OVMF with GCC62 in Ubuntu
@ 2017-08-22  8:26 wang xiaofeng
       [not found] ` <4A89E2EF3DFEDB4C8BFDE51014F606A14D774239@shsmsx102.ccr.corp.intel.com>
  0 siblings, 1 reply; 2+ messages in thread
From: wang xiaofeng @ 2017-08-22  8:26 UTC (permalink / raw)
  To: edk2-devel@lists.01.org

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?






^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: fail to build OVMF with GCC62 in Ubuntu
       [not found] ` <4A89E2EF3DFEDB4C8BFDE51014F606A14D774239@shsmsx102.ccr.corp.intel.com>
@ 2017-08-22  8:55   ` wang xiaofeng
  0 siblings, 0 replies; 2+ messages in thread
From: wang xiaofeng @ 2017-08-22  8:55 UTC (permalink / raw)
  To: Gao, Liming; +Cc: edk2-devel@lists.01.org

thanks for sharing information  , Liming








At 2017-08-22 16:45:33, "Gao, Liming" <liming.gao@intel.com> 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:edk2-devel-bounces@lists.01.org] On Behalf Of
>>wang xiaofeng
>>Sent: Tuesday, August 22, 2017 4:26 PM
>>To: edk2-devel@lists.01.org
>>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
>>edk2-devel@lists.01.org
>>https://lists.01.org/mailman/listinfo/edk2-devel
>_______________________________________________
>edk2-devel mailing list
>edk2-devel@lists.01.org
>https://lists.01.org/mailman/listinfo/edk2-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-08-22  8:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-22  8:26 fail to build OVMF with GCC62 in Ubuntu wang xiaofeng
     [not found] ` <4A89E2EF3DFEDB4C8BFDE51014F606A14D774239@shsmsx102.ccr.corp.intel.com>
2017-08-22  8:55   ` wang xiaofeng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox