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: 2014-07-29 10:20:34


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

Comment (by ned14):

 When bootstrapped with no arguments:

 {{{
 # Boost.Build Configuration
 # Automatically generated by bootstrap.sh

 import option ;
 import feature ;

 # Compiler configuration. This definition will be used unless
 # you already have defined some toolsets in your user-config.jam
 # file.
 if ! gcc in [ feature.values <toolset> ]
 {
     using gcc ;
 }

 project : default-build <toolset>gcc ;

 # Python configuration
 using python : 2.7 : /usr ;

 # List of --with-<library> and --without-<library>
 # options. If left empty, all libraries will be built.
 # Options specified on the command line completely
 # override this variable.
 libraries = ;

 # These settings are equivivalent to corresponding command-line
 # options.
 option.set prefix : /usr/local ;
 option.set exec-prefix : /usr/local ;
 option.set libdir : /usr/local/lib ;
 option.set includedir : /usr/local/include ;

 # Stop on first error
 option.set keep-going : false ;
 }}}

 When bootstrapped with --with-toolset=clang:

 {{{
 # Boost.Build Configuration
 # Automatically generated by bootstrap.sh

 import option ;
 import feature ;

 # Compiler configuration. This definition will be used unless
 # you already have defined some toolsets in your user-config.jam
 # file.
 if ! clang in [ feature.values <toolset> ]
 {
     using clang ;
 }

 project : default-build <toolset>clang ;

 # Python configuration
 using python : 2.7 : /usr ;

 # List of --with-<library> and --without-<library>
 # options. If left empty, all libraries will be built.
 # Options specified on the command line completely
 # override this variable.
 libraries = ;

 # These settings are equivivalent to corresponding command-line
 # options.
 option.set prefix : /usr/local ;
 option.set exec-prefix : /usr/local ;
 option.set libdir : /usr/local/lib ;
 option.set includedir : /usr/local/include ;

 # Stop on first error
 option.set keep-going : false ;
 }}}

 Locations of g++ and clang++

 {{{
 jenkins-slave_at_tegra-ubuntu:~/workspace/Boost.AFIO Build POSIX_ARM_clang
 3.4/boost-local$ whereis g++
 g++: /usr/bin/g++ /usr/bin/X11/g++ /usr/share/man/man1/g++.1.gz
 jenkins-slave_at_tegra-ubuntu:~/workspace/Boost.AFIO Build POSIX_ARM_clang
 3.4/boost-local$ whereis clang++
 clang++: /usr/bin/clang++ /usr/bin/X11/clang++
 /usr/share/man/man1/clang++.1.gz
 }}}

 After bootstrapping with clang I also did a:

 {{{
 ./b2 toolset=gcc libs/afio/build -d9 > debug.txt
 }}}

 ... and have attached the output as a file which hopefully says what went
 wrong.

 Let me know if you need anything else.

 Niall

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10258#comment:4>
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 : 2017-02-16 18:50:16 UTC