From: Keir Fraser Subject: Re: [PATCH] the address of 'symbols_addresses' will always evaluate as 'true' Date: Wed, 10 Jan 2007 10:31:30 +0000 Message-ID: References: <200701100318.16115.caglar@pardus.org.tr> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <200701100318.16115.caglar@pardus.org.tr> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: caglar@pardus.org.tr, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 10/1/07 01:18, "S.=C3=87a=C4=9Flar Onur" wrote: > Attached patch adds "-Wno-always-true" CFLAGS into xen/arch/powerpc/Rules= .mk > and xen/arch/x86/Rules.mk, else compiling xen with latest gcc-4.2.0 snaps= hot > fails, patch is against current xen-3.0.4-testing repo; If that is the *only* build error, then we can just get rid of that BUG_ON(). It doesn't work any more anyway (that symbol is never zero, even during initial kernel link when no symbol info is available). BUG_ON(symbols_num_syms =3D=3D 0) is probably the right replacement. -- Keir