> Although this could be a bug, it's more likely, IMO, that your
> target/prerequisite requirements are not correctly stated.
>
> For example, it could be that you use slightly different paths so that
> make doesn't realize these two libraries are really the same thing, and
> the dependencies aren't being propagated properly.
No. The paths to the libraries are the same (like I said, the files are
machine generated.).
>
> Try running make with the -p option so it prints its internal database.
> Are the prerequisites you expect to see for somedir/libfoo.so really
> there?
Yes.
>
> 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.



_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to