From: Ian Campbell <Ian.Campbell@citrix.com>
To: Brendan Cully <brendan@cs.ubc.ca>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>,
"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
Ian Jackson <Ian.Jackson@eu.citrix.com>
Subject: Re: [xen-4.0-testing test] 2061: regressions - FAIL
Date: Fri, 3 Sep 2010 19:11:50 +0100 [thread overview]
Message-ID: <1283537510.3469.243.camel@localhost.localdomain> (raw)
In-Reply-To: <20100903180428.GC17663@kremvax.cs.ubc.ca>
On Fri, 2010-09-03 at 19:04 +0100, Brendan Cully wrote:
> On Friday, 03 September 2010 at 18:55, Ian Jackson wrote:
> > Brendan Cully writes ("Re: [Xen-devel] [xen-4.0-testing test] 2061: regressions - FAIL"):
> > > Until the kernel modules are in their proper place, I think a less
> > > drastic fix for your test suites would be to edit
> > > tools/remus/kmod/Makefile and change
> > >
> > > test -d $(KERNELDIR)
> > >
> > > to
> > >
> > > test -f $(KERNELDIR)/Module.symvers
> > >
> > > which will still silently fail to build the modules if tools/remus
> > > builds too early, but should suppress failure warnings. Completely
> > > untested.
> >
> > I don't think this is reliable, is it ? As that .symvers file can be
> > created before the kernel build is complete. So we can still reenter
> > the whole kernel build.
>
> What do you mean 'reenter the whole kernel build'? Are you under the
> impression that the kmod tree is somehow actually building in the
> kernel build directory?
>
> As I said in an earlier email, it doesn't do that. It is just using
> the kernel header files, like any other third party module. Normally
> you could find them under /lib/modules/foo/build, but obviously that
> doesn't apply here.
Out of tree module builds require a configured kernel tree, which it is
not when the race is lost. You can't use the kernel headers to build
modules without a .config for example since they contain various #ifdef
CONFIG_FOO stuff which affects the kernel ABI.
Maybe we should drop the remus stuff from tools/Makefile and add an
explicit call to "make -C tools/remus" (or whatever the path is) at the
appropriate place at the end of the rule which builds the kernel?
Ian.
next prev parent reply other threads:[~2010-09-03 18:11 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-03 4:05 [xen-4.0-testing test] 2061: regressions - FAIL xen.org
2010-09-03 17:13 ` Ian Jackson
2010-09-03 17:17 ` Brendan Cully
2010-09-03 17:20 ` Ian Jackson
2010-09-03 17:38 ` Brendan Cully
2010-09-03 17:41 ` Ian Jackson
2010-09-03 17:54 ` Brendan Cully
2010-09-03 17:55 ` Ian Jackson
2010-09-03 18:04 ` Brendan Cully
2010-09-03 18:11 ` Ian Campbell [this message]
2010-09-03 18:16 ` Brendan Cully
2010-09-03 18:30 ` Jeremy Fitzhardinge
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=1283537510.3469.243.camel@localhost.localdomain \
--to=ian.campbell@citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=brendan@cs.ubc.ca \
--cc=jeremy@goop.org \
--cc=xen-devel@lists.xensource.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.