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

Re: [Xen-devel] Parallel make supported?

Please don't top post.

On Fri, Dec 19, 2014 at 10:09:31PM +0000, Peter Kay wrote:
> Thanks, see attached :
> This is on Salix 14.1 running the 3.17.4 kernel. That's not particularly
> relevant though, as I had exactly the same error on Debian using other
> kernel versions.

Looking at your build log

gcc     -pthread -Wl,-soname -Wl,libxenstore.so.3.0 -shared -o 
libxenstore.so.3.0.3 xs.opic xs_lib.opic
ar rcs libxenstore.a xs.o xs_lib.o
gcc xs_tdb_dump.o utils.o tdb.o talloc.o     -o xs_tdb_dump
gcc xenstored_core.o xenstored_watch.o xenstored_domain.o 
xenstored_transaction.o xs_lib.o talloc.o utils.o tdb.o hashtable.o 
  -o xenstored
gcc init-xenstore-domain.o libxenstore.so     
 -o init-xenstore-domain
gcc: error: libxenstore.so: No such file or directory
gcc: error: 
 No such file or directory
make[4]: *** [init-xenstore-domain] Error 1
make[4]: Leaving directory `/home/peter/Downloads/xen-4.5.0-rc4/tools/xenstore'
make[3]: *** [subdir-install-xenstore] Error 2
make[3]: Leaving directory `/home/peter/Downloads/xen-4.5.0-rc4/tools'
make[2]: *** [subdirs-install] Error 2
make[2]: Leaving directory `/home/peter/Downloads/xen-4.5.0-rc4/tools'
make[1]: *** [install-tools] Error 2
make[1]: *** Waiting for unfinished jobs....

libxenstore.so is missing. However Makefile dependency ensures the
compilation of init-xenstore-domain does not proceed unless
libxenstore.so exists.

Two "ln -sf" are missing in your log.

ln -sf libxenstore.so.3.0.3 libxenstore.so.3.0
ln -sf libxenstore.so.3.0 libxenstore.so



> On 19 December 2014 at 10:05, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
> > On Thu, 2014-12-18 at 22:36 +0000, Peter Kay wrote:
> > > Is parallel make supported for xen? If I compile 4.5 rc4 (although the
> > > error exists with many other prior releases too) with make -j4 world
> > > it fails part way through with an error 2. This does not occur with a
> > > straight 'make world'
> >
> > It is expected to work in general, I build with -j12 all the time. There
> > are some subdirs which enforce serialised build for various reasons,
> > perhaps there is one more we've not spotted or perhaps there is just a
> > bug in the Makefiles somewhere.
> >
> > Please post your build logs showing the error.
> >
> > Ian.
> >
> >
> >

> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx
> http://lists.xen.org/xen-devel

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.