Bug 3322 - Parallel make fails
Parallel make fails
Status: RESOLVED WONTFIX
Product: Samba 3.0
Classification: Unclassified
Component: Build environment
3.0.21
All Linux
: P3 minor
: none
Assigned To: Tim Potter
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-12-13 01:23 UTC by Adam Nielsen
Modified: 2005-12-13 15:09 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Nielsen 2005-12-13 01:23:46 UTC
If you run a parallel make, e.g. to take advantage of multiple CPUs:

  make -j4

Then the compile fails, because it seems that one of the first steps in the Makefile creates a header file - but the dependency rules for this file are missing, so Make starts compiling other files when it should really wait until this file has been written first.
Comment 1 Tim Potter 2005-12-13 15:09:50 UTC
Yeah it's a now bug and annoys me quite a lot too.  Unfortunately it's a lot of work to fix.  )-:

I usually run something like 'make proto && make all -j4' as workaround.