Re: [Xen-devel] Xen build error on ARM with 3.14 merge window kernels

From: Matthew Daley
Date: Sun Feb 02 2014 - 17:46:09 EST


On Mon, Feb 3, 2014 at 11:29 AM, Josh Boyer <jwboyer@xxxxxxxxxxxxxxxxx> wrote:
> Hi All,
>
> With v3.13-11147-gb399c46 I'm seeing the following build errors for
> Xen on ARM. I haven't been able to test Linus' recent tree yet, but I
> was wondering if anyone had seen this yet.

It's just recently been brought up. Check out message
<52EE1E26.2040308@xxxxxxxxxx>:
http://thread.gmane.org/gmane.linux.kernel/1634907/focus=1638931

- Matthew

>
> josh
>
> drivers/xen/grant-table.c: In function '__gnttab_map_refs':
> drivers/xen/grant-table.c:989:3: error: implicit declaration of
> function 'FOREIGN_FRAME' [-Werror=implicit-function-declaration]
> if (unlikely(!set_phys_to_machine(pfn, FOREIGN_FRAME(mfn)))) {
> ^
> drivers/xen/grant-table.c: In function '__gnttab_unmap_refs':
> drivers/xen/grant-table.c:1054:3: error: implicit declaration of
> function 'get_phys_to_machine' [-Werror=implicit-function-declaration]
> mfn = get_phys_to_machine(pfn);
> ^
> drivers/xen/grant-table.c:1055:43: error: 'FOREIGN_FRAME_BIT'
> undeclared (first use in this function)
> if (mfn == INVALID_P2M_ENTRY || !(mfn & FOREIGN_FRAME_BIT)) {
> ^
> drivers/xen/grant-table.c:1055:43: note: each undeclared identifier is
> reported only once for each function it appears in
> drivers/xen/grant-table.c:1068:9: error: too many arguments to
> function 'm2p_remove_override'
> mfn);
> ^
> In file included from include/xen/page.h:4:0,
> from drivers/xen/grant-table.c:48:
> /home/jwboyer/rpmbuild/BUILD/kernel-3.13.fc20/linux-3.14.0-0.rc0.git20.1.fc20.armv7hl/arch/arm/include/asm/xen/page.h:106:19:
> note: declared here
> static inline int m2p_remove_override(struct page *page, bool clear_pte)
> ^
> cc1: some warnings being treated as errors
> make[2]: *** [drivers/xen/grant-table.o] Error 1
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx
> http://lists.xen.org/xen-devel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/