I am encountering some strange behavior with dmake. When building OpenSolaris I have been running dmake from $SRC and letting it go on its merry way. Occasionally I've done a make -k to get it to bypass a known problem with my code.
Today I had made a couple of minor changes to code in my $SRC/uts/s390x & $SRC/uts/zSeries directories. I would expect running dmake from $SRC/uts that it would detect the changes to the source code and rebuild the objects and then the unix executable. However, this did not happen. To force the issue I removed the object file from $SRC/uts/unix/debug64 and re-ran dmake. This time it rebuilt. I made a change to another file had to do the same thing. However, in addition to building the changed file it went and rebuilt the object from the first change. I decide to run dmake clean and dmake from $SRC/uts and it does as expected. However, I run dmake again and it rebuilds everything again. Somehow dmake is confused as to what's changed and what needs rebuilding. I got rid of the .make.state file but no improvement. Is there something I don't understand about the way dmake works or is this a known problem? Given the version date of dmake I would presume that such a problem would have already been detected and fixed which makes me think it's my understanding that's amiss. dmake: Sun Distributed Make 7.7 2005/10/13 Neale -- This message posted from opensolaris.org _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code