On 9 November 2015 at 02:34, Hao, Xudong <xudong....@intel.com> wrote: > Hi, all > > I'm using edk2 as Xen HVM guest firmware, but the edk2 build fail with GCC > 4.4.7 (RHEL6.5). I clone the edk2 source from > git://git.code.sf.net/p/tianocore/edk2, and the commit is > a100d0073b365bc4f0ac95d30934e639e31175ac. > > Command: OvmfPkg/build.sh -a X64 -b RELEASE -n 4 > The whole compile log attached, the simple error log is: > ... > /home/hao/src/tianocore-edk2/BaseTools/Scripts/GccBase.lds:1: undefined > symbol `PECOFF_HEADER_SIZE' referenced in expression > make: *** > [/home/hao/src/tianocore-edk2/Build/OvmfX64/RELEASE_GCC44/X64/OvmfPkg/Sec/SecMain/DEBUG/SecMain.dll] > Error 1 > ... >
I don't see the attachment. Could you paste the ld command line (the one that references PECOFF_HEADER_SIZE') from the build log? I think this was reported at the time, and a fix was proposed and incorporated into the patch (as far as I remember) but perhaps we missed something there. -- Ard. _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel