Opened 6 years ago

Closed 6 years ago

#3170 closed defect (fixed)

Parallel builds fail due to incorrect make rules

Reported by: kean Owned by: kean
Priority: medium Milestone: Sprint-20131001
Component: build system Version:
Keywords: parallel make Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: High
Sub-Project: Core Feature Depending on Ticket:
Estimated Difficulty: 0 Add Hours to Ticket: 2
Total Hours: 2 Internal?: no

Description

There are a number of places, most commonly dealing with message file generation but a few other places as well, where the rules in Makefile.am break when doing parallel builds. "Break" in this context means that multiple make jobs can try to execute the rules which is really bad. In the case of generating rrttype.h it is catastrophic with large numbers of parallel builds.

Fix the make files to make multiple targets all gate behind a single stamp file, which ensures that only one job server will ever generate the file(s).

Subtickets

Change History (1)

comment:1 Changed 6 years ago by kean

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.