Boost logo

Boost-Build :

Subject: Re: [Boost-build] [boost] [1.47.0] Beta 1 Release candidate files available
From: Jürgen Hunold (juergen.hunold_at_[hidden])
Date: 2011-06-21 15:47:18


Hi,

On Tuesday, 21. June 2011 13:47:18 KTC wrote:
> On 20/06/2011 14:19, Beman Dawes wrote:
> Setup:
> <http://www.boost.org/development/tests/release/KTC-Win7x64_VC10x64.html>
>
> Command:
> bjam --stagedir=x64 --build-type=complete -j2 architecture=x86
> address-model=64 stage
> 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.

Yours,

Jürgen

-- 
* Dipl.-Math. Jürgen Hunold       ! Ingenieurgesellschaft für 
* voice: ++49 511 262926 57       ! Verkehrs- und Eisenbahnwesen mbH  
* fax  : ++49 511 262926 99       ! Lister Straße 15
* juergen.hunold_at_[hidden]        ! www.ivembh.de
* 
* Geschäftsführer:                ! Sitz des Unternehmens: Hannover
* Prof. Dr.-Ing. Thomas Siefer    ! Amtsgericht Hannover, HRB 56965
* PD Dr.-Ing. Alfons Radtke       !

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