Boost logo

Boost :

Subject: Re: [boost] Builds from boost/status fail early?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2018-10-27 20:53:16


AMDG

On 10/27/2018 11:07 AM, James E. King III via Boost wrote:
> Using develop from this morning (tried various combinations of these three
> options...):
>
> boost_at_d48d3305d4b4:/boost/status$ ../b2 toolset=clang variant=release
> cxxstd=03
> ...
> /boost/tools/build/src/build/feature.jam:491: in validate-value-string from
> module feature
> error: "shared:" is not a known value of feature <link>
> error: legal values: "shared" "static"

This looks like a conditional gone wrong, but
I can't reproduce the problem.

Steps to track this down:
- run the b2 debugger: b2 -dconsole
- set a breakpoint at errors.error: break errors.error
- Start the program: run toolset=clang variant=release cxxstd=03
- Find out which target is the source of the error:
  backtrace
  print [ object(typed-target)@47912.location ]
  (substitute the actual object name that appears on the stack)

> <snip>
> /boost/tools/build/src/build/targets.jam:1313: in
> class_at_basic-target.generate from module object(typed-target)@47912
> /boost/tools/build/src/build/targets.jam:812: in generate-really from
> module object(main-target)@70272
> <snip>
>

In Christ,
Steven Watanabe


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