May 30, 2006
http://d.puremagic.com/bugzilla/show_bug.cgi?id=161

           Summary: gdc and make -j2+ don't get along
           Product: GDC
           Version: unspecified
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: minor
          Priority: P3
         Component: glue layer
        AssignedTo: braddr@puremagic.com
        ReportedBy: braddr@puremagic.com


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.


-- 

May 31, 2006
http://d.puremagic.com/bugzilla/show_bug.cgi?id=161





------- Comment #1 from braddr@puremagic.com  2006-05-31 01:01 -------
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.


--