From: Ian Campbell Subject: Re: xen/x86: unable to build with gcc5 Date: Fri, 20 Mar 2015 12:28:22 +0000 Message-ID: <1426854502.21742.171.camel@citrix.com> References: <1426248035.32572.125.camel@citrix.com> <5502E1AC0200007800069C31@mail.emea.novell.com> <1426249526.32572.130.camel@citrix.com> <5502ED150200007800069C8E@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5502ED150200007800069C8E@mail.emea.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: Keir Fraser , xen-devel List-Id: xen-devel@lists.xenproject.org On Fri, 2015-03-13 at 12:58 +0000, Jan Beulich wrote: > >>> On 13.03.15 at 13:25, wrote: > > From: Ian Campbell > > Date: Fri, 13 Mar 2015 12:22:25 +0000 > > 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 subscript is above array bounds > > [-Werror=array-bounds] > > symbols.c:136:176: error: array subscript is above array bounds > > [-Werror=array-bounds] > > > > Signed-off-by: Ian Campbell > > Acked-by: Jan Beulich Applied, thanks.