Bug 161 – gdc and make -j2+ don't get along

Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2006-05-30T02:16:29Z
Last change time
2019-06-20T07:30:55Z
Assigned to
David Friedman
Creator
Brad Roberts

Comments

Comment #0 by braddr — 2006-05-30T02:16:29Z
d-objfile.cc ends up being compiled before a number of generated files are generated (some trimming done since it's easy to reproduce): : error: insn-constants.h: No such file or directory : error: insn-flags.h: No such file or directory : error: insn-modes.h: No such file or directory : error: tree-check.h: No such file or directory : error: options.h: No such file or directory : error: genrtl.h: No such file or directory To reproduce, just do a build with make -j2 or higher.
Comment #1 by braddr — 2006-05-31T01:01:14Z
Probably related, but split into another ticket if it's not: The generated Makefile in <builddir>/gcc/Makefile doesn't contain any dependency info for any of the d/* or d/dmd/* files. Changing a header doesn't force rebuilding of every file that includes that header.
Comment #2 by braddr — 2006-11-25T15:08:13Z
Mass reassignment of gdc bugs from me to David.
Comment #3 by dvdfrdmn — 2006-12-16T21:06:55Z
Fixed in GDC 0.20
Comment #4 by dlang-bot — 2019-06-20T07:30:55Z
vibe-d/vibe-core pull request #162 "Fix Task.join() for multiple callers. Fixes #161." was merged into master: - 41c18aef743cdca2e0538c4ce804f21bd632a81c by Sönke Ludwig: Add test for issue #161. https://github.com/vibe-d/vibe-core/pull/162