From: Olaf Hering <olaf@aepfle.de>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: libxenstore.so Makefile dependency issue
Date: Tue, 21 Feb 2012 15:34:07 +0100 [thread overview]
Message-ID: <20120221143407.GA12163@aepfle.de> (raw)
In-Reply-To: <1329823291.25232.94.camel@dagon.hellion.org.uk>
On Tue, Feb 21, Ian Campbell wrote:
> On Mon, 2012-02-20 at 19:26 +0000, Olaf Hering wrote:
> > Any idea whats going on here?
>
> It's pretty odd isn't it.
>
> I tried:
> $ make -C tools/xenstore/ clean
> $ make -C tools/xenstore/ -j12
> and couldn't reproduce. I see the ln before the link lines, even with
> bigger and smaller -jN.
I use this script 'time bash ../build.sh -d xen tools &> output.txt':
#!/bin/bash
set -x
unset LANG
unset ${!LC_*}
tgt="xen tools"
if test -n "$1"
then
tgt=$@
fi
if pushd tools/xenstore
then
make clean
popd
fi
time XEN_DOMAIN=localhost DISTDIR=/dev/shm/install-${PWD//\//_} make -j 3 ${tgt} ; echo $?
It seems to trigger with either 'make -d' or 'make -d xen tools', but
seldom with 'make -d tools'.
It does not trigger with -j 1, but with -j 2 or 3.
> "make -d" will tell you make's thought processes, might give a hint?
Thanks for that hint, I will try to make sense of the (huge) output.
> Could it be your filesystem? Something odd to do with timestamps on
> symlinks which upsets your version of make perhaps? (I'm on ext3)
I'm on ext3. libxenstore.so is not there, thats the issue.
I wonder why libxenstore.so and libxenstore.a is listed at all in
ALL_TARGETS? Perhaps that confuses make? But removing both does not help
either. To me it looks like $(LIBXENSTORE) does not serve as a proper
dependency.
Olaf
next prev parent reply other threads:[~2012-02-21 14:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-20 19:26 libxenstore.so Makefile dependency issue Olaf Hering
2012-02-20 19:54 ` Olaf Hering
2012-02-21 11:21 ` Ian Campbell
2012-02-21 14:34 ` Olaf Hering [this message]
2012-02-21 14:49 ` Olaf Hering
2012-02-21 18:24 ` Ian Jackson
2012-02-21 18:30 ` Olaf Hering
2012-02-21 18:33 ` Ian Jackson
2012-02-21 22:01 ` Olaf Hering
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=20120221143407.GA12163@aepfle.de \
--to=olaf@aepfle.de \
--cc=Ian.Campbell@citrix.com \
--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.