Boost logo

Boost-Build :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2005-09-29 16:03:55


Reece Dunn wrote:
> Vladimir Prus wrote:
>>On Tuesday 27 September 2005 12:08, Reece Dunn wrote:
>>
>>>If msvc fails to compile a source file, the RSP file is not deleted.
>>>Therefore, if you change the Jamfile settings that alters the RSP file
>>>contents, those changes aren't picked up.
>>
>>Well, this is a problem indeed. So far, no good solution exists.

common.jam(599): actions quietly response-file-1

is actually where the response file is being overwritten, but this
doesn't get called if $(rsp) exists. I have tried changing this to:

common.jam(599): actions quietly existing response-file-1

Running bjam -d+3, I get --

made* newer <p../../tools/hex-object(c-scanner)@1>main.cpp
make -- <p..\..\..\build\tools\hex\msvc-7.1\release>main.obj.rsp
make -- <p..\..\..\build\tools\hex\msvc-7.1\release>main.obj.rsp
bind -- <p..\..\..\build\tools\hex\msvc-7.1\release>main.obj.rsp:
..\..\..\build\tools\hex\msvc-7.1\release\main.obj.rsp
time -- <p..\..\..\build\tools\hex\msvc-7.1\release>main.obj.rsp: Thu
Sep 29 21:03:52 2005
made+ temp <p..\..\..\build\tools\hex\msvc-7.1\release>main.obj.rsp
made+ update <p..\..\..\build\tools\hex\msvc-7.1\release>main.obj

when main.obj.rsp exists. And -d+5 gives --

F:/devel/bbv2/tools\common.jam:544:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
local rsp = <p..\..\..\build\tools\hex\msvc-7.1\release>main.obj.rsp
F:/devel/bbv2/tools\common.jam:545:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
set RSP on <p..\..\..\build\tools\hex\msvc-7.1\release>main.obj =
<p..\..\..\build\tools\hex\msvc-7.1\release>main.obj.rsp
F:/devel/bbv2/tools\common.jam:546:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
on <p..\..\..\build\tools\hex\msvc-7.1\release>main.obj
F:/devel/bbv2/tools\common.jam:546:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
set LOCATE on <p..\..\..\build\tools\hex\msvc-7.1\release>main.obj.rsp =
..\..\..\build\tools\hex\msvc-7.1\release
F:/devel/bbv2/tools\common.jam:547:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
DEPENDS <p..\..\..\build\tools\hex\msvc-7.1\release>main.obj :
<p..\..\..\build\tools\hex\msvc-7.1\release>main.obj.rsp
F:/devel/bbv2/tools\common.jam:551:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
DEPENDS <p..\..\..\build\tools\hex\msvc-7.1\release>main.obj.rsp :
<p../../tools/hex-object(c-scanner)@1>main.cpp
F:/devel/bbv2/tools\common.jam:554:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
on <p..\..\..\build\tools\hex\msvc-7.1\release>main.obj
F:/devel/bbv2/tools\common.jam:554:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
DEPENDS <p..\..\..\build\tools\hex\msvc-7.1\release>main.obj.rsp :
..\..\..\build\tools\hex\msvc-7.1\release
F:/devel/bbv2/tools\common.jam:556:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
TEMPORARY <p..\..\..\build\tools\hex\msvc-7.1\release>main.obj.rsp
...
F:/devel/bbv2/tools\common.jam:575:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
set sources +=
F:/devel/bbv2/tools\common.jam:577:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
response-file-1 <p..\..\..\build\tools\hex\msvc-7.1\release>main.obj.rsp
: <p../../tools/hex-object(c-scanner)@1>main.cpp
F:/devel/bbv2/tools\common.jam:583:>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>
print.output <p..\..\..\build\tools\hex\msvc-7.1\release>main.obj.rsp

Q: Is TEMPORARY having an effect on the build action evaluations?

Are there any more +d... outputs you would need to track down the problem?

- Reece

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk