WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Build failure: In function ptep_get_and_clear: error: conver

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Build failure: In function ptep_get_and_clear: error: conversion to non-scalar type requested
From: Simon Horman <horms@xxxxxxxxxxxx>
Date: Wed, 26 Mar 2008 16:54:03 +0900
Delivery-date: Wed, 26 Mar 2008 00:54:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.17+20080114 (2008-01-14)
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.

# 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 ‘ptep_get_and_clear’:
include/asm/mach-xen/asm/pgtable-2level.h:48: error: conversion to non-scalar 
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 ‘pte_modify’:
include/asm/mach-xen/asm/pgtable.h:349: error: conversion to non-scalar type 
requested
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2

# 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 NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

-- 
Horms


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel