Boost logo

Boost Users :

From: Jurko Gospodnetiæ (jurko_for_boost_at_[hidden])
Date: 2007-05-16 10:18:13


   Hi all.

   When attempting to build Boost 1.34.0 on Windows XP SP2 (full updates
applied) using MSVC 7.1 (both with and without SP1 applied) several of
the libraries fail to build.

   They cause Visual Studio's compiler cl.exe to crash with a 'Microsoft
Visual C++ Runtime Library' error message box stating: 'A buffer overrun
has been detected which has corrupted the program's internal state. The
program cannot safely continue execution and must now be terminated.'.

   The exact list of libraries that fail to build is:

bin.v2\libs\graph\build\msvc-7.1\debug\threading-multi\read_graphviz_spirit.obj
bin.v2\libs\graph\build\msvc-7.1\release\threading-multi\read_graphviz_spirit.obj
bin.v2\libs\graph\build\msvc-7.1\debug\read_graphviz_spirit.obj
bin.v2\libs\graph\build\msvc-7.1\release\read_graphviz_spirit.obj
bin.v2\libs\graph\build\msvc-7.1\debug\link-static\threading-multi\read_graphviz_spirit.obj
bin.v2\libs\graph\build\msvc-7.1\release\link-static\threading-multi\read_graphviz_spirit.obj
bin.v2\libs\graph\build\msvc-7.1\debug\link-static\read_graphviz_spirit.obj
bin.v2\libs\graph\build\msvc-7.1\release\link-static\read_graphviz_spirit.obj
bin.v2\libs\graph\build\msvc-7.1\debug\link-static\runtime-link-static\threading-multi\read_graphviz_spirit.obj
bin.v2\libs\graph\build\msvc-7.1\release\link-static\runtime-link-static\threading-multi\read_graphviz_spirit.obj
bin.v2\libs\graph\build\msvc-7.1\debug\link-static\runtime-link-static\read_graphviz_spirit.obj
bin.v2\libs\graph\build\msvc-7.1\release\link-static\runtime-link-static\read_graphviz_spirit.obj

   The same behavior has been reproduced on 4 out of 5 machines we tried
it on and all might have a bit different setups so there is no obvious
reason why the it works on one machine (perhaps the overrun simply is
not detected correctly there :-(). The one machine that it worked on is
one of the developer's home box and so definitely can not be considered
a controlled environment :-).

   Is this a known problem? Anyone else encountered it?

   If needed we can easily reproduce it and help someone debug it.

   Attached is the exact boost build output when attempting to build
libraries that failed and a screen shot of the error message box.

   Best regards,
     Jurko Gospodnetiæ

Building Boost.Regex with the optional Unicode/ICU support disabled.
Please refer to the Boost.Regex documentation for more information
(don't panic: this is a strictly optional feature).
warning: No toolsets are configured.
warning: Configuring default toolset "msvc".
warning: If the default is wrong, you may not be able to build C++ programs.
warning: Use the "--toolset=xxxxx" option to override our guess.
warning: For more configuration options, please consult
warning: http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html
...patience...
...patience...
...found 5786 targets...
...updating 56 targets...
compile-c-c++ bin.v2\libs\graph\build\msvc-7.1\debug\threading-multi\read_graphviz_spirit.obj
read_graphviz_spirit.cpp

    call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" >nul
cl /Zm800 -nologo @"bin.v2\libs\graph\build\msvc-7.1\debug\threading-multi\read_graphviz_spirit.obj.rsp"

...failed compile-c-c++ bin.v2\libs\graph\build\msvc-7.1\debug\threading-multi\read_graphviz_spirit.obj...
...skipped <pbin.v2\libs\graph\build\msvc-7.1\debug\threading-multi>boost_graph-vc71-mt-gd-1_34.dll for lack of <pbin.v2\libs\graph\build\msvc-7.1\debug\threading-multi>read_graphviz_spirit.obj...
...skipped <plib>boost_graph-vc71-mt-gd-1_34.dll for lack of <pbin.v2\libs\graph\build\msvc-7.1\debug\threading-multi>boost_graph-vc71-mt-gd-1_34.dll...
...skipped <pbin.v2\libs\graph\build\msvc-7.1\debug\threading-multi>boost_graph-vc71-mt-gd-1_34.lib for lack of <pbin.v2\libs\graph\build\msvc-7.1\debug\threading-multi>read_graphviz_spirit.obj...
...skipped <plib>boost_graph-vc71-mt-gd-1_34.lib for lack of <pbin.v2\libs\graph\build\msvc-7.1\debug\threading-multi>boost_graph-vc71-mt-gd-1_34.lib...
...skipped <plib>boost_graph-vc71-mt-gd.lib for lack of <plib>boost_graph-vc71-mt-gd-1_34.lib...
compile-c-c++ bin.v2\libs\graph\build\msvc-7.1\release\threading-multi\read_graphviz_spirit.obj
read_graphviz_spirit.cpp

    call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" >nul
cl /Zm800 -nologo @"bin.v2\libs\graph\build\msvc-7.1\release\threading-multi\read_graphviz_spirit.obj.rsp"

...failed compile-c-c++ bin.v2\libs\graph\build\msvc-7.1\release\threading-multi\read_graphviz_spirit.obj...
...skipped <pbin.v2\libs\graph\build\msvc-7.1\release\threading-multi>boost_graph-vc71-mt-1_34.dll for lack of <pbin.v2\libs\graph\build\msvc-7.1\release\threading-multi>read_graphviz_spirit.obj...
...skipped <plib>boost_graph-vc71-mt-1_34.dll for lack of <pbin.v2\libs\graph\build\msvc-7.1\release\threading-multi>boost_graph-vc71-mt-1_34.dll...
...skipped <pbin.v2\libs\graph\build\msvc-7.1\release\threading-multi>boost_graph-vc71-mt-1_34.lib for lack of <pbin.v2\libs\graph\build\msvc-7.1\release\threading-multi>read_graphviz_spirit.obj...
..skipped <plib>boost_graph-vc71-mt-1_34.lib for lack of <pbin.v2\libs\graph\build\msvc-7.1\release\threading-multi>boost_graph-vc71-mt-1_34.lib...
...skipped <plib>boost_graph-vc71-mt.lib for lack of <plib>boost_graph-vc71-mt-1_34.lib...
compile-c-c++ bin.v2\libs\graph\build\msvc-7.1\debug\read_graphviz_spirit.obj
read_graphviz_spirit.cpp

    call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" >nul
cl /Zm800 -nologo @"bin.v2\libs\graph\build\msvc-7.1\debug\read_graphviz_spirit.obj.rsp"

...failed compile-c-c++ bin.v2\libs\graph\build\msvc-7.1\debug\read_graphviz_spirit.obj...
...skipped <pbin.v2\libs\graph\build\msvc-7.1\debug>boost_graph-vc71-gd-1_34.dll for lack of <pbin.v2\libs\graph\build\msvc-7.1\debug>read_graphviz_spirit.obj...
...skipped <plib>boost_graph-vc71-gd-1_34.dll for lack of <pbin.v2\libs\graph\build\msvc-7.1\debug>boost_graph-vc71-gd-1_34.dll...
...skipped <pbin.v2\libs\graph\build\msvc-7.1\debug>boost_graph-vc71-gd-1_34.lib for lack of <pbin.v2\libs\graph\build\msvc-7.1\debug>read_graphviz_spirit.obj...
...skipped <plib>boost_graph-vc71-gd-1_34.lib for lack of <pbin.v2\libs\graph\build\msvc-7.1\debug>boost_graph-vc71-gd-1_34.lib...
...skipped <plib>boost_graph-vc71-gd.lib for lack of <plib>boost_graph-vc71-gd-1_34.lib...
compile-c-c++ bin.v2\libs\graph\build\msvc-7.1\release\read_graphviz_spirit.obj
read_graphviz_spirit.cpp

    call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" >nul
cl /Zm800 -nologo @"bin.v2\libs\graph\build\msvc-7.1\release\read_graphviz_spirit.obj.rsp"

...failed compile-c-c++ bin.v2\libs\graph\build\msvc-7.1\release\read_graphviz_spirit.obj...
...skipped <pbin.v2\libs\graph\build\msvc-7.1\release>boost_graph-vc71-1_34.dll for lack of <pbin.v2\libs\graph\build\msvc-7.1\release>read_graphviz_spirit.obj...
...skipped <plib>boost_graph-vc71-1_34.dll for lack of <pbin.v2\libs\graph\build\msvc-7.1\release>boost_graph-vc71-1_34.dll...
...skipped <pbin.v2\libs\graph\build\msvc-7.1\release>boost_graph-vc71-1_34.lib for lack of <pbin.v2\libs\graph\build\msvc-7.1\release>read_graphviz_spirit.obj...
...skipped <plib>boost_graph-vc71-1_34.lib for lack of <pbin.v2\libs\graph\build\msvc-7.1\release>boost_graph-vc71-1_34.lib...
...skipped <plib>boost_graph-vc71.lib for lack of <plib>boost_graph-vc71-1_34.lib...
compile-c-c++ bin.v2\libs\graph\build\msvc-7.1\debug\link-static\threading-multi\read_graphviz_spirit.obj
read_graphviz_spirit.cpp

    call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" >nul
cl /Zm800 -nologo @"bin.v2\libs\graph\build\msvc-7.1\debug\link-static\threading-multi\read_graphviz_spirit.obj.rsp"

...failed compile-c-c++ bin.v2\libs\graph\build\msvc-7.1\debug\link-static\threading-multi\read_graphviz_spirit.obj...
...skipped <pbin.v2\libs\graph\build\msvc-7.1\debug\link-static\threading-multi>libboost_graph-vc71-mt-gd-1_34.lib for lack of <pbin.v2\libs\graph\build\msvc-7.1\debug\link-static\threading-multi>read_graphviz_spirit.obj...
...skipped <plib>libboost_graph-vc71-mt-gd-1_34.lib for lack of <pbin.v2\libs\graph\build\msvc-7.1\debug\link-static\threading-multi>libboost_graph-vc71-mt-gd-1_34.lib...
...skipped <plib>libboost_graph-vc71-mt-gd.lib for lack of <plib>libboost_graph-vc71-mt-gd-1_34.lib...
compile-c-c++ bin.v2\libs\graph\build\msvc-7.1\release\link-static\threading-multi\read_graphviz_spirit.obj
read_graphviz_spirit.cpp

    call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" >nul
cl /Zm800 -nologo @"bin.v2\libs\graph\build\msvc-7.1\release\link-static\threading-multi\read_graphviz_spirit.obj.rsp"

...failed compile-c-c++ bin.v2\libs\graph\build\msvc-7.1\release\link-static\threading-multi\read_graphviz_spirit.obj...
...skipped <pbin.v2\libs\graph\build\msvc-7.1\release\link-static\threading-multi>libboost_graph-vc71-mt-1_34.lib for lack of <pbin.v2\libs\graph\build\msvc-7.1\release\link-static\threading-multi>read_graphviz_spirit.obj...
..skipped <plib>libboost_graph-vc71-mt-1_34.lib for lack of <pbin.v2\libs\graph\build\msvc-7.1\release\link-static\threading-multi>libboost_graph-vc71-mt-1_34.lib...
...skipped <plib>libboost_graph-vc71-mt.lib for lack of <plib>libboost_graph-vc71-mt-1_34.lib...
compile-c-c++ bin.v2\libs\graph\build\msvc-7.1\debug\link-static\read_graphviz_spirit.obj
read_graphviz_spirit.cpp

    call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" >nul
cl /Zm800 -nologo @"bin.v2\libs\graph\build\msvc-7.1\debug\link-static\read_graphviz_spirit.obj.rsp"

...failed compile-c-c++ bin.v2\libs\graph\build\msvc-7.1\debug\link-static\read_graphviz_spirit.obj...
...skipped <pbin.v2\libs\graph\build\msvc-7.1\debug\link-static>libboost_graph-vc71-gd-1_34.lib for lack of <pbin.v2\libs\graph\build\msvc-7.1\debug\link-static>read_graphviz_spirit.obj...
...skipped <plib>libboost_graph-vc71-gd-1_34.lib for lack of <pbin.v2\libs\graph\build\msvc-7.1\debug\link-static>libboost_graph-vc71-gd-1_34.lib...
...skipped <plib>libboost_graph-vc71-gd.lib for lack of <plib>libboost_graph-vc71-gd-1_34.lib...
compile-c-c++ bin.v2\libs\graph\build\msvc-7.1\release\link-static\read_graphviz_spirit.obj
read_graphviz_spirit.cpp

    call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" >nul
cl /Zm800 -nologo @"bin.v2\libs\graph\build\msvc-7.1\release\link-static\read_graphviz_spirit.obj.rsp"

...failed compile-c-c++ bin.v2\libs\graph\build\msvc-7.1\release\link-static\read_graphviz_spirit.obj...
...skipped <pbin.v2\libs\graph\build\msvc-7.1\release\link-static>libboost_graph-vc71-1_34.lib for lack of <pbin.v2\libs\graph\build\msvc-7.1\release\link-static>read_graphviz_spirit.obj...
...skipped <plib>libboost_graph-vc71-1_34.lib for lack of <pbin.v2\libs\graph\build\msvc-7.1\release\link-static>libboost_graph-vc71-1_34.lib...
...skipped <plib>libboost_graph-vc71.lib for lack of <plib>libboost_graph-vc71-1_34.lib...
compile-c-c++ bin.v2\libs\graph\build\msvc-7.1\debug\link-static\runtime-link-static\threading-multi\read_graphviz_spirit.obj
read_graphviz_spirit.cpp

    call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" >nul
cl /Zm800 -nologo @"bin.v2\libs\graph\build\msvc-7.1\debug\link-static\runtime-link-static\threading-multi\read_graphviz_spirit.obj.rsp"

...failed compile-c-c++ bin.v2\libs\graph\build\msvc-7.1\debug\link-static\runtime-link-static\threading-multi\read_graphviz_spirit.obj...
...skipped <pbin.v2\libs\graph\build\msvc-7.1\debug\link-static\runtime-link-static\threading-multi>libboost_graph-vc71-mt-sgd-1_34.lib for lack of <pbin.v2\libs\graph\build\msvc-7.1\debug\link-static\runtime-link-static\threading-multi>read_graphviz_spirit.obj...
...skipped <plib>libboost_graph-vc71-mt-sgd-1_34.lib for lack of <pbin.v2\libs\graph\build\msvc-7.1\debug\link-static\runtime-link-static\threading-multi>libboost_graph-vc71-mt-sgd-1_34.lib...
...skipped <plib>libboost_graph-vc71-mt-sgd.lib for lack of <plib>libboost_graph-vc71-mt-sgd-1_34.lib...
compile-c-c++ bin.v2\libs\graph\build\msvc-7.1\release\link-static\runtime-link-static\threading-multi\read_graphviz_spirit.obj
read_graphviz_spirit.cpp

    call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" >nul
cl /Zm800 -nologo @"bin.v2\libs\graph\build\msvc-7.1\release\link-static\runtime-link-static\threading-multi\read_graphviz_spirit.obj.rsp"

...failed compile-c-c++ bin.v2\libs\graph\build\msvc-7.1\release\link-static\runtime-link-static\threading-multi\read_graphviz_spirit.obj...
...skipped <pbin.v2\libs\graph\build\msvc-7.1\release\link-static\runtime-link-static\threading-multi>libboost_graph-vc71-mt-s-1_34.lib for lack of <pbin.v2\libs\graph\build\msvc-7.1\release\link-static\runtime-link-static\threading-multi>read_graphviz_spirit.obj...
...skipped <plib>libboost_graph-vc71-mt-s-1_34.lib for lack of <pbin.v2\libs\graph\build\msvc-7.1\release\link-static\runtime-link-static\threading-multi>libboost_graph-vc71-mt-s-1_34.lib...
...skipped <plib>libboost_graph-vc71-mt-s.lib for lack of <plib>libboost_graph-vc71-mt-s-1_34.lib...
compile-c-c++ bin.v2\libs\graph\build\msvc-7.1\debug\link-static\runtime-link-static\read_graphviz_spirit.obj
read_graphviz_spirit.cpp

    call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" >nul
cl /Zm800 -nologo @"bin.v2\libs\graph\build\msvc-7.1\debug\link-static\runtime-link-static\read_graphviz_spirit.obj.rsp"

...failed compile-c-c++ bin.v2\libs\graph\build\msvc-7.1\debug\link-static\runtime-link-static\read_graphviz_spirit.obj...
...skipped <pbin.v2\libs\graph\build\msvc-7.1\debug\link-static\runtime-link-static>libboost_graph-vc71-sgd-1_34.lib for lack of <pbin.v2\libs\graph\build\msvc-7.1\debug\link-static\runtime-link-static>read_graphviz_spirit.obj...
...skipped <plib>libboost_graph-vc71-sgd-1_34.lib for lack of <pbin.v2\libs\graph\build\msvc-7.1\debug\link-static\runtime-link-static>libboost_graph-vc71-sgd-1_34.lib...
...skipped <plib>libboost_graph-vc71-sgd.lib for lack of <plib>libboost_graph-vc71-sgd-1_34.lib...
compile-c-c++ bin.v2\libs\graph\build\msvc-7.1\release\link-static\runtime-link-static\read_graphviz_spirit.obj
read_graphviz_spirit.cpp

    call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" >nul
cl /Zm800 -nologo @"bin.v2\libs\graph\build\msvc-7.1\release\link-static\runtime-link-static\read_graphviz_spirit.obj.rsp"

...failed compile-c-c++ bin.v2\libs\graph\build\msvc-7.1\release\link-static\runtime-link-static\read_graphviz_spirit.obj...
...skipped <pbin.v2\libs\graph\build\msvc-7.1\release\link-static\runtime-link-static>libboost_graph-vc71-s-1_34.lib for lack of <pbin.v2\libs\graph\build\msvc-7.1\release\link-static\runtime-link-static>read_graphviz_spirit.obj...
...skipped <plib>libboost_graph-vc71-s-1_34.lib for lack of <pbin.v2\libs\graph\build\msvc-7.1\release\link-static\runtime-link-static>libboost_graph-vc71-s-1_34.lib...
...skipped <plib>libboost_graph-vc71-s.lib for lack of <plib>libboost_graph-vc71-s-1_34.lib...
...failed updating 12 targets...
...skipped 44 targets...



Boost_Build_error.JPG

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net