Opened 11 years ago

Closed 11 years ago

#5851 closed Bugs (invalid)

Failed to build boost when both options 'address-model' and '--build-dir' are used.

Reported by: Frank W. <boost@…> Owned by:
Milestone: To Be Determined Component: Building Boost
Version: Boost 1.47.0 Severity: Problem
Keywords: Cc:

Description

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
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!

Change History (1)

comment:1 by Frank W. <boost@…>, 11 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.