Opened 11 years ago

Last modified 5 years ago

#5917 new Bugs

cc toolset broken

Reported by: anonymous Owned by: Vladimir Prus
Milestone: To Be Determined Component: build
Version: Boost 1.66.0 Severity: Problem
Keywords: Cc:

Description

I want to build Boost using the cc toolset. It bootstraps fine, but the build system fails to find the toolset when I run b2.

$ export CC=gcc
$ ./bootstrap.sh --with-toolset=cc
-n Building Boost.Build engine with toolset cc... 
tools/build/v2/engine/bin.macosxx86_64/b2
-n Detecting Python version... 
2.7
-n Detecting Python root... 
/opt/local/Library/Frameworks/Python.framework/Versions/2.7
-n Unicode/ICU support for Boost.Regex?... 
not found.
Backing up existing Boost.Build configuration in project-config.jam.6
Generating Boost.Build configuration in project-config.jam...

Bootstrapping is done. To build, run:

    ./b2
    
To adjust configuration, edit 'project-config.jam'.
Further information:

   - Command line help:
     ./b2 --help
     
   - Getting started guide: 
     http://www.boost.org/more/getting_started/unix-variants.html
     
   - Boost.Build documentation:
     http://www.boost.org/boost-build2/doc/html/index.html

$ ./b2
cc.jam: No such file or directory
tools/build/v2/build/toolset.jam:38: in toolset.using
rule cc.init unknown in module toolset.
tools/build/v2/build/project.jam:888: in using
project-config.jam:12: in modules.load
tools/build/v2/build-system.jam:257: in load-config
tools/build/v2/build-system.jam:423: in load-configuration-files
tools/build/v2/build-system.jam:555: in load
tools/build/v2/kernel/modules.jam:283: in import
tools/build/v2/kernel/bootstrap.jam:142: in boost-build
boost-build.jam:17: in module scope

Change History (12)

comment:1 by René Rivera, 11 years ago

Component: Building Boostbuild
Owner: set to Vladimir Prus

comment:2 by csubich@…, 10 years ago

This error is still present in version 1.51.0.

comment:3 by anonymous, 9 years ago

And it's present -- still -- in 1.53.0.

comment:4 by anonymous, 9 years ago

What is 'cc' toolset?

comment:5 by anonymous, 8 years ago

Version: Boost 1.47.0Boost 1.55.0

comment:6 by dmorneau@…, 8 years ago

The cc toolset is the one that uses $CC to determine the command to call to compile, useful to bootstrap with a specific gcc. I've hit this problem as well with 1.55.0.

comment:7 by jakub.pola@…, 7 years ago

I meet this issue in Boost 1.58.0

When I executed ./bootstrap.sh --with-toolset=gcc compilation succedeed

comment:8 by anonymous, 6 years ago

Still no update on this after 5 years?

comment:9 by anonymous, 5 years ago

Still present in 1.62

comment:10 by anonymous, 5 years ago

Still present in 1.65.1. Is there at least some workaround for this?

comment:11 by anonymous, 5 years ago

Version: Boost 1.55.0Boost 1.66.0

still not working in 1.66.0. the boost buildsystem is the worst i've ever used. please do add a proper way of using your own compiler and flags

comment:12 by Ivan Kelarev <ivan.kelarev@…>, 5 years ago

Still not working in boost 1.67.

Note: See TracTickets for help on using tickets.