From: Ian Campbell <ian.campbell@citrix.com>
To: "Hao, Xudong" <xudong.hao@intel.com>, Wei Liu <wei.liu2@citrix.com>
Cc: "xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: ovmf fail to compile
Date: Wed, 4 Nov 2015 09:38:05 +0000 [thread overview]
Message-ID: <1446629885.16178.68.camel@citrix.com> (raw)
In-Reply-To: <B8376D2DEA074F45BA033984477C453E020140BF@shsmsx102.ccr.corp.intel.com>
On Wed, 2015-11-04 at 08:27 +0000, Hao, Xudong wrote:
Please don't top post.
> "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?
"git clean -fdx" won't clean recursively into any sub git trees (some extra
number of -f and/or -d is needed for that). I don't know how many, the man
page suggests "git clean -ffdx" does it, I usually just go -ffffdddddxxxxx
;-)
Ian.
>
> Additional, gcc 4.8.5 in RHEL7.2 works for build ovmf.
>
> > -----Original Message-----
> > From: Wei Liu [mailto:wei.liu2@citrix.com]
> > Sent: Wednesday, November 4, 2015 12:19 AM
> > To: Hao, Xudong <xudong.hao@intel.com>
> > Cc: Wei Liu <wei.liu2@citrix.com>; xen-devel@lists.xen.org
> > 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@citrix.com]
> > > > Sent: Monday, November 2, 2015 5:59 PM
> > > > To: Hao, Xudong <xudong.hao@intel.com>
> > > > Cc: xen-devel@lists.xen.org; wei.liu2@citrix.com
> > > > 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.
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2015-11-04 9:38 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-02 7:27 ovmf fail to compile Hao, Xudong
2015-11-02 9:58 ` Wei Liu
2015-11-03 0:07 ` Hao, Xudong
2015-11-03 16:19 ` Wei Liu
2015-11-04 8:27 ` Hao, Xudong
2015-11-04 9:38 ` Ian Campbell [this message]
2015-11-04 10:04 ` George Dunlap
2015-11-04 10:12 ` Ian Campbell
2015-11-04 10:19 ` Wei Liu
2015-11-05 14:07 ` Hao, Xudong
2015-11-05 14:44 ` Wei Liu
2015-11-06 8:53 ` Hao, Xudong
2015-11-06 10:24 ` Wei Liu
2015-11-11 5:43 ` Hao, Xudong
2015-11-11 10:39 ` Wei Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1446629885.16178.68.camel@citrix.com \
--to=ian.campbell@citrix.com \
--cc=wei.liu2@citrix.com \
--cc=xen-devel@lists.xen.org \
--cc=xudong.hao@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.