From: Keir Fraser Subject: Re: Build failure: In function ptep_get_and_clear: error: conversion to non-scalar type requested Date: Wed, 26 Mar 2008 08:13:14 +0000 Message-ID: References: <20080326075400.GA32187@verge.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20080326075400.GA32187@verge.net.au> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Simon Horman , xen-devel List-Id: xen-devel@lists.xenproject.org Ah, we don't build-test non-PAE any more. That's probably the problem here, unless it's a gcc 4.2.x new error (unlikely). -- Keir On 26/3/08 07:54, "Simon Horman" wrote: > xen-unstable.hg 488:de57c3f218fb > "xen, x86: Track foreign and I/O mappings with a new pte flag, and do" > seems to cause a build failure on at least x86_64. >=20 > # make mrproper > # hg checkout de57c3f218fb > # cp buildconfigs/linux-defconfig_xen0_x86_32 .config > # make > ... > CHK include/linux/version.h > CHK include/linux/utsrelease.h > CC init/main.o > In file included from include/asm/mach-xen/asm/pgtable.h:261, > from include/linux/bootmem.h:8, > from init/main.c:29: > include/asm/mach-xen/asm/pgtable-2level.h: In function =8Cptep_get_and_clea= r=B9: > include/asm/mach-xen/asm/pgtable-2level.h:48: error: conversion to non-sc= alar > type requested > In file included from include/linux/bootmem.h:8, > from init/main.c:29: > include/asm/mach-xen/asm/pgtable.h: In function =8Cpte_modify=B9: > include/asm/mach-xen/asm/pgtable.h:349: error: conversion to non-scalar t= ype > requested > make[1]: *** [init/main.o] Error 1 > make: *** [init] Error 2 >=20 > # gcc --version > gcc (GCC) 4.2.3 (Debian 4.2.3-2) > Copyright (C) 2007 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is N= O > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOS= E.