Re: [Xen-devel] ovmf fails to build in stagin-4.6

2015-10-27 Thread Olaf Hering
On Mon, Oct 26, Wei Liu wrote: > I think you have a stale repository. Try deleting ovmf-dir-remote ? Its always built in a new clean chroot from the same set of sources. I will see if forcing GCC49 will change anything. Olaf ___ Xen-devel mailing

Re: [Xen-devel] ovmf fails to build in stagin-4.6

2015-10-27 Thread Olaf Hering
On Tue, Oct 27, Olaf Hering wrote: > I will see if forcing GCC49 will change anything. This change works for me. --- xen.spec(revision 6) +++ xen.spec(working copy) @@ -290,6 +290,7 @@ ln -sfvbn ../qemu-xen-dir-remote tools/qemu-xen-dir-remote ln -sfvbn

Re: [Xen-devel] ovmf fails to build in stagin-4.6

2015-10-27 Thread Wei Liu
On Tue, Oct 27, 2015 at 08:12:09AM +0100, Olaf Hering wrote: > On Mon, Oct 26, Wei Liu wrote: > > > I think you have a stale repository. Try deleting ovmf-dir-remote ? > > Its always built in a new clean chroot from the same set of sources. > I will see if forcing GCC49 will change anything. >

Re: [Xen-devel] ovmf fails to build in stagin-4.6

2015-10-27 Thread Olaf Hering
Am 27.10.2015 um 11:39 schrieb Wei Liu: > The commit id in Config.mk is af9785a9ed61daea52b47f0bf448f1f228beee1e I think the staging-4.6 rev differs, but I will check my checkout script if it picks the id from the wrong branch/file. Olaf ___ Xen-devel

Re: [Xen-devel] ovmf fails to build in stagin-4.6

2015-10-27 Thread Wei Liu
On Tue, Oct 27, 2015 at 02:58:36PM +0100, Olaf Hering wrote: > Am 27.10.2015 um 11:39 schrieb Wei Liu: > > The commit id in Config.mk is af9785a9ed61daea52b47f0bf448f1f228beee1e > > I think the staging-4.6 rev differs, but I will check my checkout script > if it picks the id from the wrong

Re: [Xen-devel] ovmf fails to build in stagin-4.6

2015-10-26 Thread Wei Liu
On Mon, Oct 26, 2015 at 11:11:16AM +0100, Olaf Hering wrote: > On Mon, Oct 26, Wei Liu wrote: > > > On Mon, Oct 26, 2015 at 10:43:15AM +0100, Olaf Hering wrote: > > > > Does it compile for anyone? > > It compiles for me -- but I'm using gcc 4.9. > > I noticed that just now, fails only in

[Xen-devel] ovmf fails to build in stagin-4.6

2015-10-26 Thread Olaf Hering
For me ovmf fails to build in staging-4.6: ... [ 541s] + ./configure --host=x86_64-suse-linux-gnu --build=x86_64-suse-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share

Re: [Xen-devel] ovmf fails to build in stagin-4.6

2015-10-26 Thread Wei Liu
On Mon, Oct 26, 2015 at 10:43:15AM +0100, Olaf Hering wrote: > For me ovmf fails to build in staging-4.6: > > ... > [ 541s] + ./configure --host=x86_64-suse-linux-gnu > --build=x86_64-suse-linux-gnu --program-prefix= --disable-dependency-tracking > --prefix=/usr --exec-prefix=/usr

Re: [Xen-devel] ovmf fails to build in stagin-4.6

2015-10-26 Thread Olaf Hering
On Mon, Oct 26, Wei Liu wrote: > On Mon, Oct 26, 2015 at 10:43:15AM +0100, Olaf Hering wrote: > > Does it compile for anyone? > It compiles for me -- but I'm using gcc 4.9. I noticed that just now, fails only in Tumbleweed which used gcc-5.1.1. Sorry for the noise. Olaf

Re: [Xen-devel] ovmf fails to build in stagin-4.6

2015-10-26 Thread Olaf Hering
On Mon, Oct 26, Wei Liu wrote: > Wait, so you're using gcc-5.1.1 but OVMF is reporting gcc-4.4 (see in > the path of output string), there might be another problem with > toolchain detection then. As Linus said: detect old and known to be problematic, everything else has to be handled as

Re: [Xen-devel] ovmf fails to build in stagin-4.6

2015-10-26 Thread Wei Liu
On Mon, Oct 26, 2015 at 12:13:40PM +0100, Olaf Hering wrote: > On Mon, Oct 26, Wei Liu wrote: > > > Wait, so you're using gcc-5.1.1 but OVMF is reporting gcc-4.4 (see in > > the path of output string), there might be another problem with > > toolchain detection then. > > As Linus said: detect