Simon Horman
2008-Mar-26 07:54 UTC
[Xen-devel] Build failure: In function ptep_get_and_clear: error: conversion to non-scalar type requested
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@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2008-Mar-26 08:13 UTC
Re: [Xen-devel] Build failure: In function ptep_get_and_clear: error: conversion to non-scalar type requested
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" <horms@verge.net.au> 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. > > # 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._______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Simon Horman
2008-Mar-26 08:55 UTC
Re: [Xen-devel] Build failure: In function ptep_get_and_clear: error: conversion to non-scalar type requested
In that case, I''m a little confused. What default config file do you recommend? On Wed, Mar 26, 2008 at 08:13:14AM +0000, Keir Fraser wrote:> 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" <horms@verge.net.au> 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. > > > > # 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@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2008-Mar-26 09:03 UTC
Re: [Xen-devel] Build failure: In function ptep_get_and_clear: error: conversion to non-scalar type requested
We build-test default PAE and x86/64 configurations. I''ll have a fix for this non-PAE build failure in a few minutes. -- Keir On 26/3/08 08:55, "Simon Horman" <horms@verge.net.au> wrote:> In that case, I''m a little confused. What default config file do you > recommend? > > On Wed, Mar 26, 2008 at 08:13:14AM +0000, Keir Fraser wrote: >> 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" <horms@verge.net.au> 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. >>> >>> # 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. >>_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Simon Horman
2008-Mar-27 04:27 UTC
Re: [Xen-devel] Build failure: In function ptep_get_and_clear: error: conversion to non-scalar type requested
On Wed, Mar 26, 2008 at 09:03:42AM +0000, Keir Fraser wrote:> We build-test default PAE and x86/64 configurations. > > I''ll have a fix for this non-PAE build failure in a few minutes.Thanks -- Horms _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel