bug-make
[Top][All Lists]
Advanced

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

Re: Make 3.81 and 3.82 break on parallel build


From: Paul Smith
Subject: Re: Make 3.81 and 3.82 break on parallel build
Date: Wed, 16 Nov 2011 17:02:59 -0500

On Wed, 2011-11-16 at 15:40 -0600, address@hidden wrote:
> > Try running the parallel version with -d (redirect the output because
> > it's voluminous) and see what make says about trying to build
> > somedir/libfoo.so: what does it say about the somedir/libbar.so
> > prerequisite?
> That it does not exist, so it fails. But if run not-parallel, it
> correctly identifies it must be built first.

?? You mean _make_ says the file doesn't exist and so make fails?  Or
the linker says it doesn't exist and the linker fails?  Originally you
said it "will try to link somedir/libfoo.so before even STARTING on
linking somedir/libbar.so".  I took this to mean make actually invoked
the linker to build somedir/libfoo.so and the linker failed, not that
make failed to find the prerequisite.

It doesn't matter what the linker says, the question is what make says
in the -d output about the somedir/libfoo.so and somedir/libbar.so
libraries before it tries to invoke the linker.

I can't reproduce this failure (with an attempt to reproduce the
environment you described) and parallel builds definitely work.  So
there must be something more going on here that is related to your
specific situation and we probably won't be able to help much without a
runnable example with real makefiles, etc.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]