Bug 3322 - Parallel make fails
Summary: Parallel make fails
Status: RESOLVED WONTFIX
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.0.21
Hardware: All Linux
: P3 minor
Target Milestone: none
Assignee: Tim Potter
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
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.