[C++-sig] bjam keeps linking bpl.dll on win2k when there is no need to

David Abrahams dave at boost-consulting.com
Wed Sep 18 19:18:33 CEST 2002


From: "gideon may" <gideon at computer.org>

> Dear Dave,
>
> I've noticed the following fenomenon with bjam.
>
> Each time when I run bjam, the target dll's are being
> linked even when they are uptodate.  I'm using the
> latest bjam
> Boost.Jam  Version 3.1.2. OS=NT.
>    Copyright 1993-2002 Christopher Seiwald and Perforce Software, Inc.
>    Copyright 2001 David Turner.
>    Copyright 2001-2002 David Abrahams.
> and the most recent boost cvs version.

Hmm, yes, I see that. I'll see if I can figure it out.
It could be really hard to fix; I'll see.

> I've attached the output of bjam -d+3 when running bjam in the
libs\python
> directory (after a clean build!).
>
> Secondly, when I try to run the tests I get the following errors:
>
> <--------------------
> C:\cvs_rep\boost\libs\python\test>bjam test
> ...found 2966 targets...
> ...updating 548 targets...
> vc-Link
> ..\..\..\libs\python\bin\bpl.dll\vc7\debug\runtime-link-dynamic\bpl.dll
> ..\..\..\libs\python\bin\bpl.dll\vc7\debug\runti
> me-link-dynamic\bpl.lib
> LINK : fatal error LNK1181: cannot open input file
> '..\..\libs\python\bin\bpl.dll\vc7\debug\runtime-link-dynamic\list.obj'

Works for me...is the file there? Is it being used by something?

>     "link"  /nologo /INCREMENTAL:NO  /DEBUG /DLL /subsystem:console
> /out:"..\..\..\libs\python\bin\bpl.dll\vc7\debug\runtime-l
> ink-dynamic\bpl.dll"
>
/IMPLIB:"..\..\..\libs\python\bin\bpl.dll\vc7\debug\runtime-link-dynamic\bp
> l.lib"  /LIBPATH:"C:\Python22\l
> ibs"  /LIBPATH:"C:\Program Files\Microsoft Visual Studio .NET\VC7\lib"
> @"..\..\..\libs\python\bin\bpl.dll\vc7\debug\runtime-li
> nk-dynamic\bpl.CMD"
>
> ...failed vc-Link
> ..\..\..\libs\python\bin\bpl.dll\vc7\debug\runtime-link-dynamic\bpl.dll
> ..\..\..\libs\python\bin\bpl.dll\vc7\d
> ebug\runtime-link-dynamic\bpl.lib...
> ------------------------->
>
> After running bjam in the test directory the bpl.dll is gone.
>
> ciao,
>
> Gideon
>
> BTW,
>
> I didn't forget about your request to file a bugreport on the mingw 2.0
> compiler. Will do
> when I've some spare time.

*Please* just take a coupla minutes to do it ASAP. If these things don't
get reported quickly they never get fixed.

-----------------------------------------------------------
           David Abrahams * Boost Consulting
dave at boost-consulting.com * http://www.boost-consulting.com





More information about the Cplusplus-sig mailing list