Roland Mainz wrote: > Neale Ferguson wrote: > > > > 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 > > Erm... the current version of "dmake" in Sun Studio 12 is: > -- snip -- > $ dmake > -v > dmake: Sun Distributed Make 7.8 SunOS_sparc Patch 126503-01 2007/07/19 > -- snip -- > > BTW: Do you use NFS ? If "yes" make sure client and server run xntpd, > otherwise dmake will suffer from various "diseases" (all at the same > time) because it can't handle the confusion caused by out-of-sync > timestamps.
Another issue: Do the problems go away if you switch to "serial" mode (see dmake(1)) ? ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) [EMAIL PROTECTED] \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 3992797 (;O/ \/ \O;) _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
