[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Xen on ARM: upstream kernel compile fails with defconfig



On 04/02/14 23:35, Julien Grall wrote:
(Add Ian Campbell for sunxi bits)

Hello Zoltan,

On 04/02/14 21:28, Zoltan Kiss wrote:
However both cases the build fails quite early with the same error:

    CC      arch/arm/kernel/asm-offsets.s
In file included from /local/repo/linux-net-next/include/linux/cache.h:5:0,
                   from /local/repo/linux-net-next/include/linux/printk.h:8,
                   from
/local/repo/linux-net-next/include/linux/kernel.h:13,
                   from /local/repo/linux-net-next/include/linux/sched.h:15,
                   from
/local/repo/linux-net-next/arch/arm/kernel/asm-offsets.c:13:
/local/repo/linux-net-next/include/linux/prefetch.h: In function
‘prefetch_range’:
/local/repo/linux-net-next/arch/arm/include/asm/cache.h:7:25: error:
‘CONFIG_ARM_L1_CACHE_SHIFT’ undeclared (first use in this function)
   #define L1_CACHE_SHIFT  CONFIG_ARM_L1_CACHE_SHIFT

I can't get the same error with net-next + your V7. I have this following error:

drivers/xen/grant-table.c: In function ‘__gnttab_unmap_refs’:
drivers/xen/grant-table.c:1047:3: error: implicit declaration of function 
‘get_phys_to_machine’ [-Werror=implicit-function-declaration]
    mfn = get_phys_to_machine(page_to_pfn(pages[i]));
    ^

I'm using this config for Linux: 
http://xenbits.xen.org/people/julieng/config-midway

OK, I've fixed that, will run some tests before sending v8. I managed to fix the compile by checking out the mainline repo. Either net-next has some issue, or my checked out repo has some nasty failur (more likely :)

Thanks,

Zoli


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.