Boost logo

Boost-Build :

Subject: [Boost-build] [1.47.0] [exception] Build failure..
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2011-06-21 18:41:23


On 6/21/2011 5:28 PM, KTC wrote:
> 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.

It can be done, but might take a conditional rule to do the correct
exclusion.

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

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org (msn) - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim,yahoo,skype,efnet,gmail

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