Boost logo

Boost :

From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2021-01-03 19:32:59


On 1/3/21 9:12 PM, Peter Dimov via Boost wrote:
> Antony Polukhin wrote:
>> I see a bunch of CI failures
>> https://apolukhin.github.io/en/developer.html for different versions
>> of MSVC. There are some complains on 'cl':
>>
>> compile-c-c++
>> ..\..\..\bin.v2\libs\type_index\test\track_13621.test\msvc-9.0\release\threading-multi\track_13621.obj
>>
>> 'cl' is not recognized as an internal or external command, operable
>> program or batch file.
>
> You need to pass address-model=32. The default is now 64 bit (inferred
> from PROCESSOR_ARCHITECTURE=AMD64 AFAICS), and not all Appveyor MSVC
> versions support 64 bit.

Default address-model and architecture get misdetected as "none" in some
cases and 64-bit x86 in others on the same machine. This is a regression
in Boost.Build that appeared quite some time ago.

https://github.com/boostorg/build/issues/659

As you said, the workaround is to explicitly specify these features in
the command line.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk