Re: [Boost-bugs] [Boost C++ Libraries] #10258: b2 fails to find gcc if bootstrapped with clang

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10258: b2 fails to find gcc if bootstrapped with clang
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-01-23 01:01:12


#10258: b2 fails to find gcc if bootstrapped with clang
--------------------------------------+---------------------------
  Reporter: Niall Douglas | Owner: Vladimir Prus
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: build
   Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
--------------------------------------+---------------------------

Comment (by Steven Watanabe):

 The reason this happens is:
 - clang imports gcc
 - gcc.jam calls feature.extend toolset : gcc ; at the top level.
 - build-system.jam attempts to autoconfigure toolsets based on
   whether the feature value is known. Therefore, a plain toolset=gcc
   will not trigger autoconfiguration if clang has been used.

 Workarounds:
 - toolset=gcc-7.2.1 (or whatever the full version of gcc is)
 - add using gcc to user-config.jam.

-- 
Ticket URL: <https://svn.boost.org/trac10/boost/ticket/10258#comment:6>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2018-01-23 01:06:56 UTC