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

Re: [Xen-devel] [PATCH] stubdom: disable parallel build



On Mon, 2012-07-30 at 17:35 +0100, Olaf Hering wrote:
> # HG changeset patch
> # User Olaf Hering <olaf@xxxxxxxxx>
> # Date 1343666089 -7200
> # Node ID ccbebdbe44da0460408172338af9daab31e56788
> # Parent  db8adce4f09307a90f96103f7fd67efa97fc9ac0
> stubdom: disable parallel build
> 
> Recently I changed my rpm xen.spec file from doing
> 'make -C tools -j N && make stubdom' to 'make -j N stubdom' because
> stubdom depends on tools, so both get built.
> The result was the failure below.

I always do -j12 builds of the stubdom sub=tree and I don't see
parallelisation issues. The stubdom build is pretty big and time
consuming so it would be a shame to needlessly linearise it.

I suspect something is not quite right in the top level Makefile WRT the
dependencies between tools and stubdom builds.

Why does stubdom-install depend on tools-install anyhow? Experimentally
it appears to only need "make -C tools/include/" before "make DESTDIR=
$(pwd)/dist/install -C stubdom/ install" succeeds. I can also see things
like -I$(XEN_ROOT)/tools/libxc but that doesn't require us to have built
the tools.

> make[2]: *** INTERNAL: readdir: Bad file descriptor

This is an internal error inside make? That's surely more critical than
any problem with our build system and needs to be solved before adding
workarounds to our tree.

Ian.


_______________________________________________
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®.