[Boost-bugs] [Boost C++ Libraries] #5851: Failed to build boost when both options 'address-model' and '--build-dir' are used.

Subject: [Boost-bugs] [Boost C++ Libraries] #5851: Failed to build boost when both options 'address-model' and '--build-dir' are used.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-09-01 10:20:28


#5851: Failed to build boost when both options 'address-model' and '--build-dir'
are used.
---------------------------------------------+------------------------------
 Reporter: Frank W. <boost@…> | Owner:
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: Building Boost
  Version: Boost 1.47.0 | Severity: Problem
 Keywords: |
---------------------------------------------+------------------------------
 I'm cannot build boost 1.47.0 (host: Win7 64bit, VS2010/MSVC10.0)
 when specifying a non-default build-dir and address-model at the same
 time:

 RMDIR /S /Q %TEMP%\boost[[br]]
 b2 --build-dir=%TEMP% address-model=64 runtime-link=static stage

 Leads to many errors in the form:

 don't know how to make
 C:\Windows\Temp\boost\bin.v2\libs\math\config\msvc-10.0\debug\address-
 model-64\threading-multi

 or

 don't know how to make
 C:\Windows\Temp\boost\bin.v2\libs\regex\build\msvc-10.0\debug\address-
 model-64
 ...patience...
 ...patience...
 don't know how to make C:\Windows\Temp\boost\bin.v2\libs\math
 ...patience...
 ...found 6029 targets...
 ...updating 740 targets...
 ...can't find 2 targets...
 common.mkdir stage
 common.mkdir stage\lib
 ...skipped C:\Windows\TEMP\boost\bin.v2\libs\regex\build\msvc-10.0\debug
 \address-model-64\link-static for lack of
 C:\Windows\Temp\boost\bin.v2\libs\regex\build\
 msvc-10.0\debug\address-model-64...
 ...skipped C:\Windows\TEMP\boost\bin.v2\libs\regex\build\msvc-10.0\debug
 \address-model-64\link-static\runtime-link-static for lack of
 C:\Windows\TEMP\boost\bin.
 v2\libs\regex\build\msvc-10.0\debug\address-model-64\link-static...
 ...skipped C:\Windows\TEMP\boost\bin.v2\libs\regex\build\msvc-10.0\debug
 \address-model-64\link-static\runtime-link-static\threading-multi for lack
 of C:\Windows
 \TEMP\boost\bin.v2\libs\regex\build\msvc-10.0\debug\address-model-64\link-
 static\runtime-link-static...
 ...skipped <pC:\Windows\TEMP\boost\bin.v2\libs\regex\build\msvc-10.0\debug
 \address-model-64\link-static\runtime-link-static\threading-
 multi>c_regex_traits.obj f
 or lack of C:\Windows\TEMP\boost\bin.v2\libs\regex\build\msvc-10.0\debug
 \address-model-64\link-static\runtime-link-static\threading-multi...
 ...skipped <pC:\Windows\TEMP\boost\bin.v2\libs\regex\build\msvc-10.0\debug
 \address-model-64\link-static\runtime-link-static\threading-
 multi>cpp_regex_traits.obj
  for lack of C:\Windows\TEMP\boost\bin.v2\libs\regex\build\msvc-10.0\debug
 \address-model-64\link-static\runtime-link-static\threading-multi...

 Ommitting one of the above mentioned options successfully builds boost!

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5851>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:07 UTC