www.digitalmars.com         C & C++   DMDScript  

D.gnu - [Bug 161] New: gdc and make -j2+ don't get along

reply d-bugmail puremagic.com writes:
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 30 2006
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/bugzilla/show_bug.cgi?id=161






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.


-- 
May 30 2006