Boost logo

Boost-Build :

Subject: Re: [Boost-build] [boost] [1.47.0] Beta 1 Release candidate files available
From: KTC (ktc_at_[hidden])
Date: 2011-06-21 18:28:45


On 21/06/2011 20:47, Jürgen Hunold wrote:

>> bjam --without-python --stagedir=x86 --build-type=complete -j2 stage
>>
>> Both result in: "...failed updating 2 targets..."
>> See<http://pastebin.com/s7Cvw2Tm> for failure.
>
> Boost.Exceptions is a library on Win32. It builds
> "libs/exception/src/clone_current_exception_msvc.cpp"
>
> which states at the top:
>
> #if defined(_MSC_VER)&& defined(_M_IX86)&& !defined(_M_X64)
>
> so this is for x86 only. On x64, no code gets compiled.
>
> The msvc linker then "helpfully" silently omits the creation of an empty dll
> and the corresponding copy step(s) fail(s).
>
> The correct fix would be to build this file only on for the<address-model>32
> case but I don't know if this can be specified with the current Boost.Build.

There's the problem that this is also occurring when building for x86
while on a x64 system.

KTC


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