Re: [Xen-devel] Stubdom GMP build failure for gcc 6

2016-10-29 Thread Wei Liu
On Fri, Oct 28, 2016 at 10:16:12PM -0700, Pry Mar wrote: > Wei, > > [PATCH] glibc 223 fix gmp-crosslib config error > http://paste.fedoraproject.org/462654/14777176/ > > I've used this patch since last spring. This is a configure bug which stops > the Stubdom build. The bug first appeared in Ubun

Re: [Xen-devel] Stubdom GMP build failure for gcc 6

2016-10-29 Thread Wei Liu
On Fri, Oct 28, 2016 at 01:50:36PM +0100, Wei Liu wrote: > On Fri, Oct 28, 2016 at 06:29:49AM -0600, Jan Beulich wrote: > > >>> On 28.10.16 at 14:10, wrote: > > > There have been a few reports on stubdom build failure with gcc 6 > > > toolchain. I spent some time yesterday to figure what went wron

Re: [Xen-devel] Stubdom GMP build failure for gcc 6

2016-10-28 Thread Pry Mar
Wei, [PATCH] glibc 223 fix gmp-crosslib config error http://paste.fedoraproject.org/462654/14777176/ I've used this patch since last spring. This is a configure bug which stops the Stubdom build. The bug first appeared in Ubuntu 16.04 when they went to libc6 2.23+. Next, Stretch followed with the

Re: [Xen-devel] Stubdom GMP build failure for gcc 6

2016-10-28 Thread Ian Jackson
Wei Liu writes ("Re: Stubdom GMP build failure for gcc 6"): > On Fri, Oct 28, 2016 at 02:30:02PM +0100, Ian Jackson wrote: > > Can we not just reproduce its link line somehow ? > > I don't think that would result in a program that can run on Linux. Well, yes, sorry, I took it as read that we woul

Re: [Xen-devel] Stubdom GMP build failure for gcc 6

2016-10-28 Thread Wei Liu
On Fri, Oct 28, 2016 at 04:44:10PM +0200, Juergen Gross wrote: > On 28/10/16 14:10, Wei Liu wrote: > > Hi all > > > > There have been a few reports on stubdom build failure with gcc 6 > > toolchain. I spent some time yesterday to figure what went wrong. Here > > is what I found. > > > > When buil

Re: [Xen-devel] Stubdom GMP build failure for gcc 6

2016-10-28 Thread Juergen Gross
On 28/10/16 14:10, Wei Liu wrote: > Hi all > > There have been a few reports on stubdom build failure with gcc 6 > toolchain. I spent some time yesterday to figure what went wrong. Here > is what I found. > > When building GMP library, its configure script generates small C > programs to determin

Re: [Xen-devel] Stubdom GMP build failure for gcc 6

2016-10-28 Thread Wei Liu
On Fri, Oct 28, 2016 at 02:30:02PM +0100, Ian Jackson wrote: > Wei Liu writes ("Stubdom GMP build failure for gcc 6"): > > Unfortunately my attempt to fix it by providing LDFLAGS="-nostdlib > > -LXXX" doesn't work. It turns out that there is no crt generated in > > newlib. I'm not sure if that's be

Re: [Xen-devel] Stubdom GMP build failure for gcc 6

2016-10-28 Thread Ian Jackson
Wei Liu writes ("Stubdom GMP build failure for gcc 6"): > Unfortunately my attempt to fix it by providing LDFLAGS="-nostdlib > -LXXX" doesn't work. It turns out that there is no crt generated in > newlib. I'm not sure if that's because the newlib port is incomplete or > I haven't discovered a way t

Re: [Xen-devel] Stubdom GMP build failure for gcc 6

2016-10-28 Thread Wei Liu
On Fri, Oct 28, 2016 at 06:56:39AM -0600, Jan Beulich wrote: > >>> On 28.10.16 at 14:50, wrote: > > On Fri, Oct 28, 2016 at 06:29:49AM -0600, Jan Beulich wrote: > >> >>> On 28.10.16 at 14:10, wrote: > >> > There have been a few reports on stubdom build failure with gcc 6 > >> > toolchain. I spent

Re: [Xen-devel] Stubdom GMP build failure for gcc 6

2016-10-28 Thread Jan Beulich
>>> On 28.10.16 at 14:50, wrote: > On Fri, Oct 28, 2016 at 06:29:49AM -0600, Jan Beulich wrote: >> >>> On 28.10.16 at 14:10, wrote: >> > There have been a few reports on stubdom build failure with gcc 6 >> > toolchain. I spent some time yesterday to figure what went wrong. Here >> > is what I fou

Re: [Xen-devel] Stubdom GMP build failure for gcc 6

2016-10-28 Thread Wei Liu
On Fri, Oct 28, 2016 at 06:29:49AM -0600, Jan Beulich wrote: > >>> On 28.10.16 at 14:10, wrote: > > There have been a few reports on stubdom build failure with gcc 6 > > toolchain. I spent some time yesterday to figure what went wrong. Here > > is what I found. > > > > When building GMP library,

Re: [Xen-devel] Stubdom GMP build failure for gcc 6

2016-10-28 Thread Jan Beulich
>>> On 28.10.16 at 14:10, wrote: > There have been a few reports on stubdom build failure with gcc 6 > toolchain. I spent some time yesterday to figure what went wrong. Here > is what I found. > > When building GMP library, its configure script generates small C > programs to determine various as

[Xen-devel] Stubdom GMP build failure for gcc 6

2016-10-28 Thread Wei Liu
Hi all There have been a few reports on stubdom build failure with gcc 6 toolchain. I spent some time yesterday to figure what went wrong. Here is what I found. When building GMP library, its configure script generates small C programs to determine various aspects of the system. Unfortunately the