Boost logo

Boost-Build :

From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2008-08-13 06:10:33


On Tue, Aug 12, 2008 at 7:39 AM, Jurko Gospodnetiæ
<jurko.gospodnetic_at_[hidden]> wrote:
> Hi all.
>

[snip]

> Just as information to everyone we already tracked down that wield 'dll on
> import library' dependency. It is added by Boost Jam in evaluate_rule() in
> compile.c in case when a single action generates multiple targets.
>
> Here all of the non-initial generated targets are made to depend on the
> initial one. This seems to have been introduced by Rene in revision 39341 as
> a fix for some multi-processor build bug (issue #431) inherited from the
> original Jam.
>
> We tried removing this and it does not seem to affect the original problem.

I removed it, and it still give me errors.

A install rule tries to copy a DLL (or other of the multiple targets from
a DLL linking process) before linking that DLL.

This is the output of -d+12 w.r.t the DLL that fails (actually, it is
random, this is
an example of one that failed recently).

    1 Name: <pinstall>mail.dll
       Loc: install\mail.dll
          : Stable
          : Depends on install (stable)
          : Depends on
<pbin\subprojects\mail\build\msvc-9.0\debug\address-model-32\debug-store-database\threading-multi>mail.dll
(stable) (max time)
     2 Name: <pbin\subprojects\mail\build\msvc-9.0\debug\address-model-32\debug-store-database\threading-multi>mail.dll
        Loc: bin\subprojects\mail\build\msvc-9.0\debug\address-model-32\debug-store-database\threading-multi\mail.dll
           : Stable
           : Depends on
bin\subprojects\mail\build\msvc-9.0\debug\address-model-32\debug-store-database\threading-multi
(stable)
           : Depends on
<p..\new_boost\boost_1_36_trunk\bin.v2\libs\thread\build\msvc-9.0\debug\address-model-32\debug-store-database\threading-multi>boost_thread-vc90-mt-gd-1_35.lib
(stable)
           : Depends on
<pbin\subprojects\mail\build\msvc-9.0\debug\address-model-32\debug-store-database\threading-multi>version_res.obj
(stable)
           : Depends on
<p.>D:\development\icu4c-3_8_1-src\icu\lib\win32\debug\icuucd.lib
(stable)
           : Depends on
<pbin\subprojects\mail\build\msvc-9.0\debug\address-model-32\debug-store-database\threading-multi>mail.obj
(stable)
           : Depends on
<pbin\subprojects\mail\build\msvc-9.0\debug\address-model-32\debug-store-database\threading-multi>headers.obj
(stable)
           : Depends on
<pbin\subprojects\mail\build\msvc-9.0\debug\address-model-32\debug-store-database\threading-multi>header.obj
(stable)
           : Depends on
<pbin\subprojects\mail\build\msvc-9.0\debug\address-model-32\debug-store-database\threading-multi>flat_mime.obj
(stable)
           : Depends on
<pbin\subprojects\mail\build\msvc-9.0\debug\address-model-32\debug-store-database\threading-multi>multipart_mixed.obj
(stable)
           : Depends on
<pbin\subprojects\mail\build\msvc-9.0\debug\address-model-32\debug-store-database\threading-multi>content_views.obj
(stable)
           : Depends on
<pbin\subprojects\mail\build\msvc-9.0\debug\address-model-32\debug-store-database\threading-multi>read_headers.obj
(stable)
           : Depends on
<pbin\subprojects\mail\build\msvc-9.0\debug\address-model-32\debug-store-database\threading-multi>parts_view.obj
(stable)
           : Depends on
<pbin\subprojects\mail\build\msvc-9.0\debug\address-model-32\debug-store-database\threading-multi>parse_multipart.obj
(stable)
           : Depends on
<pbin\subprojects\mail\build\msvc-9.0\debug\address-model-32\debug-store-database\threading-multi>create_mime.obj
(stable)
           : Depends on
<pbin\subprojects\mail\build\msvc-9.0\debug\address-model-32\debug-store-database\threading-multi>bodies_view.obj
(stable)
           : Depends on
<pbin\subprojects\mail\build\msvc-9.0\debug\address-model-32\debug-store-database\threading-multi>attachments_view.obj
(stable)
           : Depends on
<pbin\subprojects\mail\build\msvc-9.0\debug\address-model-32\debug-store-database\threading-multi>encode.obj
(stable)

> Here I am not really sure about some internal details of how this works
> (why 'includes' relationship is being used here instead of 'depends'
> internally), but I'll take that up with Rene...
>
> Best regards,
> Jurko Gospodentiæ

-- 
Felipe Magno de Almeida

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