[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] ovmf fail to compile



"git clean -fdx" doesn't change the error result with gcc 4.4.7. Gcc version is 
"gcc-4.4.?" in Debian Jessie of yours?

Additional,  gcc 4.8.5 in RHEL7.2 works for build ovmf.

> -----Original Message-----
> From: Wei Liu [mailto:wei.liu2@xxxxxxxxxx]
> Sent: Wednesday, November 4, 2015 12:19 AM
> To: Hao, Xudong <xudong.hao@xxxxxxxxx>
> Cc: Wei Liu <wei.liu2@xxxxxxxxxx>; xen-devel@xxxxxxxxxxxxx
> Subject: Re: [Xen-devel] ovmf fail to compile
> 
> On Tue, Nov 03, 2015 at 12:07:27AM +0000, Hao, Xudong wrote:
> > Wei,
> >
> > I checked the latest OVMF changeset on Xen staging tree and master tree,
> both are af9785a9ed61daea52b47f0bf448f1f228beee1e. This commit is what I
> used.
> > OVMF_UPSTREAM_REVISION ?=
> af9785a9ed61daea52b47f0bf448f1f228beee1e
> >
> > Yes, I found the Config.mk updated with Xen commit
> 04c5efb0a141fa53e805e396970419436e74ce67, the old OVMF works fine for
> me.
> > diff --git a/Config.mk b/Config.mk
> > index 114db9a..5db7ca5 100644
> > --- a/Config.mk
> > +++ b/Config.mk
> > @@ -253,7 +253,7 @@ QEMU_TRADITIONAL_URL ?=
> > git://xenbits.xen.org/qemu-xen-traditional.git
> >  SEABIOS_UPSTREAM_URL ?= git://xenbits.xen.org/seabios.git
> > MINIOS_UPSTREAM_URL ?= git://xenbits.xen.org/mini-os.git  endif
> > -OVMF_UPSTREAM_REVISION ?=
> cb9a7ebabcd6b8a49dc0854b2f9592d732b5afbd
> > +OVMF_UPSTREAM_REVISION ?=
> af9785a9ed61daea52b47f0bf448f1f228beee1e
> >  QEMU_UPSTREAM_REVISION ?= master
> >  MINIOS_UPSTREAM_REVISION ?=
> 256035e01a1aa5739e34f245f3b1e9e8ee204210
> >  # Thu Jul 23 11:08:38 2015 +0100
> >
> > > -----Original Message-----
> > > From: Wei Liu [mailto:wei.liu2@xxxxxxxxxx]
> > > Sent: Monday, November 2, 2015 5:59 PM
> > > To: Hao, Xudong <xudong.hao@xxxxxxxxx>
> > > Cc: xen-devel@xxxxxxxxxxxxx; wei.liu2@xxxxxxxxxx
> > > Subject: Re: [Xen-devel] ovmf fail to compile
> > >
> > > On Mon, Nov 02, 2015 at 07:27:32AM +0000, Hao, Xudong wrote:
> > > > Hi,
> > > >
> > > > Does anyone meet build OVMF failure? The ovmf is xen default repo:
> > > http://xenbits.xen.org/git-http/ovmf.git, with latest commit
> > > af9785a9ed61daea52b47f0bf448f1f228beee1e, and OS is X86_64 RHEL6.6.
> > > >
> > > >
> > > > ...
> > > > make[1]: ***
> > > > [/home/nightly/builds_xen_unstable/xen-src-bf0d4923-20151029/tools
> > > > /fir
> > > > mware/ovmf-
> > > dir/Build/OvmfX64/DEBUG_GCC44/X64/OvmfPkg/Sec/SecMain/DEBUG
> > > > /SecMain.dll] Error 1
> > > >
> > > >
> > > > build.py...
> > > > : error 7000: Failed to execute command
> > > >                make tbuild
> > > > [/home/nightly/builds_xen_unstable/xen-src-bf0d4923-20151029/tools
> > > > /fir
> > > > mware/ovmf-
> dir/Build/OvmfX64/DEBUG_GCC44/X64/OvmfPkg/Sec/SecMain]
> > > >
> > > >
> > > > build.py...
> > > > : error 7000: Failed to execute command
> > > >                make tbuild
> > > > [/home/nightly/builds_xen_unstable/xen-src-bf0d4923-20151029/tools
> > > > /fir
> > > > mware/ovmf-
> > > dir/Build/OvmfX64/DEBUG_GCC44/X64/MdeModulePkg/Universal/PC
> > > > D/Pei/Pcd]
> > > >
> > > >
> > > > build.py...
> > > > : error 7000: Failed to execute command
> > > >                make tbuild
> > > > [/home/nightly/builds_xen_unstable/xen-src-bf0d4923-20151029/tools
> > > > /fir
> > > > mware/ovmf-
> 
> I got similar error when using gcc-4.9 when I built an old repository that 
> tracked
> upstream. Then I did "git clean -fdx" to remove all stale files and rebuilt. 
> It
> worked. Note that "git clean -fdx" is very aggressive in cleaning up things.
> 
> After that I also tried building with gcc-4.4 and gcc-4.9 with the changeset 
> that
> distributed with Xen. It worked, too. I use Debian Jessie to build stuff. I 
> don't
> expect the distro plays an important role though.
> 
> Wei.

Attachment: gcc4.4.log
Description: gcc4.4.log

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.