Autor: Phil Pennock Data: Para: Brian Candler CC: exim-dev Asunto: Re: [exim-dev] make fails with -j4
On 2011-11-09 at 08:35 +0000, Brian Candler wrote: > When building exim-4.77, it fails if MAKEFLAGS=-j4 which is default on
> some platforms (e.g. OSX + Homebrew). This implies to me that it is
> missing some missing a dependency information, and relies on the default
> ordering of target builds.
>
> Full make output below - it looks like config.h isn't being built in time.
> With a simple "make" it works fine.
So it seems that we assume that the shared objects will be built from
the sub-directory's Makefile, but some dependencies only encountered in
parallel make end up trying to build the sub-dir's target from the
parent-dir Makefile, as a lookups/lf_*.c target.
I'm trying to pick this apart, but I suspect that the issue might just
be incompatibility between parallel Make and multiple makefiles.