Re: [Xen-devel] xen/x86: unable to build with gcc5

2015-03-20 Thread Ian Campbell
On Fri, 2015-03-13 at 12:58 +, Jan Beulich wrote: > >>> On 13.03.15 at 13:25, wrote: > > From: Ian Campbell > > Date: Fri, 13 Mar 2015 12:22:25 + > > Subject: [PATCH] xen: common: Use unbounded array for symbols_offset. > > > > Using a singleton array causes gcc5 to report: > > symbols.c

Re: [Xen-devel] xen/x86: unable to build with gcc5

2015-03-13 Thread Ian Campbell
On Fri, 2015-03-13 at 13:32 +, M A Young wrote: > On Fri, 13 Mar 2015, Ian Campbell wrote: > > > On Fri, 2015-03-13 at 12:10 +, Jan Beulich wrote: > > [...] > > > For all of the above, at a first glance I'd say compiler bug. But to > > > be sure, could you send the three .o-s? > > See htt

Re: [Xen-devel] xen/x86: unable to build with gcc5

2015-03-13 Thread Ian Campbell
On Fri, 2015-03-13 at 13:25 +, Jan Beulich wrote: > >>> On 13.03.15 at 13:00, wrote: > > Error: size of boot.o:.text is 0x026c > > /build/gcc5/xen.git/xen/Rules.mk:180: recipe for target 'boot.init.o' failed > > > > $ objdump -t ./xen/arch/x86/efi/boot.o | grep -P '[^t]\.text[^\.]' > > 00

Re: [Xen-devel] xen/x86: unable to build with gcc5

2015-03-13 Thread M A Young
On Fri, 13 Mar 2015, Ian Campbell wrote: > On Fri, 2015-03-13 at 12:10 +, Jan Beulich wrote: > [...] > > For all of the above, at a first glance I'd say compiler bug. But to > > be sure, could you send the three .o-s? See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64963 Michael You

Re: [Xen-devel] xen/x86: unable to build with gcc5

2015-03-13 Thread Jan Beulich
>>> On 13.03.15 at 13:00, wrote: > Error: size of boot.o:.text is 0x026c > /build/gcc5/xen.git/xen/Rules.mk:180: recipe for target 'boot.init.o' failed > > $ objdump -t ./xen/arch/x86/efi/boot.o | grep -P '[^t]\.text[^\.]' > ld .text .text > 0

Re: [Xen-devel] xen/x86: unable to build with gcc5

2015-03-13 Thread Jan Beulich
>>> On 13.03.15 at 13:25, wrote: > From: Ian Campbell > Date: Fri, 13 Mar 2015 12:22:25 + > Subject: [PATCH] xen: common: Use unbounded array for symbols_offset. > > Using a singleton array causes gcc5 to report: > symbols.c: In function 'symbols_lookup': > symbols.c:128:359: error: array su

Re: [Xen-devel] xen/x86: unable to build with gcc5

2015-03-13 Thread Jan Beulich
>>> On 13.03.15 at 13:00, wrote: > This was originally reported against Xen 4.4 in > http://bugs.debian.org/778181 but I have reproduced with current staging > using debug=n. Compiler I used is: > $ gcc --version > gcc (Debian 5-20150205-1) 5.0.0 20150205 (experimental) [trunk > r