From: Zoltan Kiss <zoltan.kiss@citrix.com>
To: Julien Grall <julien.grall@linaro.org>,
xen-devel@lists.xen.org,
Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: Ian Campbell <Ian.Campbell@citrix.com>
Subject: Re: Xen on ARM: upstream kernel compile fails with defconfig
Date: Wed, 5 Feb 2014 18:41:09 +0000 [thread overview]
Message-ID: <52F285C5.907@citrix.com> (raw)
In-Reply-To: <52F17947.3040606@linaro.org>
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
next prev parent reply other threads:[~2014-02-05 18:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-04 21:28 Xen on ARM: upstream kernel compile fails with defconfig Zoltan Kiss
2014-02-04 23:35 ` Julien Grall
2014-02-05 18:41 ` Zoltan Kiss [this message]
2014-02-05 9:38 ` Ian Campbell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52F285C5.907@citrix.com \
--to=zoltan.kiss@citrix.com \
--cc=Ian.Campbell@citrix.com \
--cc=julien.grall@linaro.org \
--cc=stefano.stabellini@eu.citrix.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).