not rebuilding out-of-date derived^2 objects

"Alan Grow" <[email protected]> Sun, 18 Apr 2004 00:43:29 +0000
Newsgroups gmane.comp.gnu.cons.general
Message-ID <[email protected]>
This is a multi-part message in MIME format.

------=_NextPart_000_6c1f_273d_37ca
Content-Type: text/plain; format=flowed

Hi,

  Cons 2.3.0 isn't rebuilding "derived derived objects" correctly for me. 
I've attached a tarball you can use to reproduce the behavior, but here's 
what's going on...

  I am building libfoo.a from foo.o, which is built from foo.h and foo.cpp 
in turn. The first time I cons, everything is rebuilt. Then if I add a new 
function (say) to foo.h and cons again. This time foo.o is rebuilt but 
libfoo.a is not, even though foo.o's contents have changed.

  I have left SourceSignature and SIGNATURE alone so they should be 
defaulting to 'build', but it doesn't seem to matter. Also I am using two 
Conscript files, one for the object file and one for the lib, because this 
mimics the situation I first encountered the problem in. Anyway untar and 
have a look for yourself.

  Am I using cons in a way that wasn't intended? Any ideas?

  -Alan

_________________________________________________________________
Get rid of annoying pop-up ads with the new MSN Toolbar – FREE! 
http://toolbar.msn.com/go/onm00200414ave/direct/01/

------=_NextPart_000_6c1f_273d_37ca
Content-Type: application/x-gzip-compressed; name="derivedtest.tar.gz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="derivedtest.tar.gz"

H4sIADbagUAAA+1XbW/aQAzma+9X3Eql0JWXBBKQglqVstIhoVZqt09VVYXL
UTKFJOSlbEL89/lCQkJK122CMK33fCCX2D47sf2Y06lrPFPdp55fK+wIoiiL
LUWBqyi1FIldGeJruJaYUkNuKmK9IEr1RrNVwMquAkoj8HzNxbigPbn27Bd6
szGlZh4B5Qs9lf+ubXm+GxB/yz5ESG5Tll/NvyzVo/wriig3QV+utxoFLG45
jo145/kvfqgFnlsbGlbNoa6JKzOEjqj1jE+xRWeYQEmU7vpX150vX28v8ekZ
vsfCR6GMBZD41PIF/HDcXppUzubd7gIMhdWWTycnQnsl7A06V3ehQqXvuSSR
dG7XzTQ3kd12rgf9i3W5q1mmMQQd9ImOtMD0sVBld5ffHdv18XRWAlsW1kVg
mDq7B3dheRPXcHx0AMCwQ/IIlPedif0g3f/si+zCx5/wf0ti/d+QgC44/+eA
bP5XHbFFH2/xf1OSM/wP/wIUzv95YBP/Bx7FPcOkqnrnUKKqvcAivgGFwZhU
7QwGjFr7kwzXTn7gI6igERgysmbFxG5tu6oBNzOpPfwWSxkfM5EtRJaQg1Oc
jIOlwZLnE0E0C5Ym54bFdvNAXEr2Pg4tz+3ATwnjsMIwNQfP8dEji6Io4Cos
23ix2q39qkK8ZRQwmeigMZ3OWehkmjiJQ1msxmLXnkw0Sy/dp+J6KK9clsPN
9jSB0v3PkrILH3/D/02F838eyOZ/L/zfkF7wv8z5Pxds4v+N1A7FkSVv4jgR
s4+zovFvUD4hCbPDwWFpQEam9uSlBMtDw0vKjwMqR943EH/snb1CynRJ8DG3
r3F/2vyl2qsTAN4kDrxiJy9dIavP9s8Og2z/R3ndqo+3+h+GQ/b8L8st3v95
oGhYxAx0ig/Dtj1ECMFCVeGnZFg+ftbMgB6jAxXrj+G6FD2Zo8U7PTL/V9jU
/+Mt+3ir/yWlke1/SZJ4/+eBojGydDrCvZubx8+oCEvDotEdQsTUPA9DTUC7
YycYmgZRETpYJwcYbdiBKtJ8yoRMEHFFG7G5h4rU0o0RZwsODg4ODg4ODg4O
Dg4Ojn3hJxzECdAAKAAA


------=_NextPart_000_6c1f_273d_37ca
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
[email protected]
http://mail.gnu.org/mailman/listinfo/cons-discuss
Cons URL: http://www.dsmit.com/cons/
------=_NextPart_000_6c1f_273d_37ca--