Issue256

Title problem with incremental compiles?
Priority bug Status resolved
Superseder Nosy List erez, malte
Assigned To malte Keywords
Optional summary

Created on 2011-08-07.20:56:08 by malte, last changed by malte.

Messages
msg1496 (view) Author: malte Date: 2011-08-07.21:54:11
Fixed and merged. The issue was that Makefile.depend only contained the
dependencies for the value of STATE_VAR_BYTES that was current when it was
generated, and hence dependencies could be missed when switching to a different
value of STATE_VAR_BYTES.
msg1495 (view) Author: malte Date: 2011-08-07.21:25:01
Steps to reproduce:

In src/search directory with clean working directory:
$ make distclean
$ rm -f downward.{1,2,4}
$ X=90ed8ac11e01
$ Y=3cb644513efe
$ cd ..
$ hg update $X
$ ./build_all
$ hg update $Y
$ ./build_all
msg1494 (view) Author: malte Date: 2011-08-07.20:56:08
The buildbot reported some problems with compilation; Erez later saw the same
problem. The problem only occurred with the "downward.2" variant and disappeared
after a make clean; make cycle, which indicates that something might be wrong
with the dependencies.

Indeed, our dependency generation strategy is essentially blind to the
STATE_VAR_BYTES variable, so it's very much conceivable that things can go wrong
there.
History
Date User Action Args
2011-08-07 21:54:11maltesetstatus: in-progress -> resolved
messages: + msg1496
2011-08-07 21:25:01maltesetmessages: + msg1495
2011-08-07 20:56:08maltecreate