[Boost-bugs] [Boost C++ Libraries] #9159: bootstrap under Linux w/Solaris Studio 12.3 defaults to 64-bit; doesn't run correctly

Subject: [Boost-bugs] [Boost C++ Libraries] #9159: bootstrap under Linux w/Solaris Studio 12.3 defaults to 64-bit; doesn't run correctly
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-09-24 20:38:33


#9159: bootstrap under Linux w/Solaris Studio 12.3 defaults to 64-bit; doesn't run
correctly
-------------------------------------------------+-------------------------
 Reporter: Brian Vandenberg <phantall+boost@…> | Type: Bugs
   Status: new | Milestone: To Be
Component: None | Determined
 Severity: Problem | Version: Boost
                                                 | 1.54.0
                                                 | Keywords:
-------------------------------------------------+-------------------------
 I ran bootstrap under Linux using Solaris Studio 12.3 in a few different
 ways:

 {{{
 # This defaults to 64-bit; note that
 # 'tools/build/v2/engine/build.sh'
 # does not have the means to add any
 # flags in with any toolset except 'cc'
 ./bootstrap.sh --with-toolset=sun
 # The binary produced doesn't work correctly:
 test 0 -lt $(./bjam --help |& wc -c) || echo "Failed"
 Failed

 export CC=/opt/oracle/solarisstudio12.3/bin/cc
 export CFLAGS=-m32
 ./bootstrap.sh --with-toolset=cc
 test 0 -lt ./bjam --help |& wc -c) && echo "Succeeded"
 Succeeded
 }}}

 When building with the ```cc``` toolset, the default ```project-
 config.jam``` file forces ```feature.values``` to contain the 'cc'
 toolset, which causes problems later on down the line because, or so it
 seems, ```cc``` is not a valid toolset to use with bjam. The workaround I
 used for that was to make the replacement ```s/cc/sun/g``` in the .jam
 file.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9159>
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:14 UTC