Opened 6 years ago

Last modified 5 weeks ago

#5917 new Bugs

cc toolset broken

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


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
$ ./ --with-toolset=cc
-n Building Boost.Build engine with toolset cc... 
-n Detecting Python version... 
-n Detecting Python root... 
-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:

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

   - Command line help:
     ./b2 --help
   - Getting started guide:
   - Boost.Build documentation:

$ ./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

Attachments (0)

Change History (10)

comment:1 Changed 6 years ago by René Rivera

Component: Building Boostbuild
Owner: set to Vladimir Prus

comment:2 Changed 5 years ago by csubich@…

This error is still present in version 1.51.0.

comment:3 Changed 4 years ago by anonymous

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

comment:4 Changed 4 years ago by anonymous

What is 'cc' toolset?

comment:5 Changed 3 years ago by anonymous

Version: Boost 1.47.0Boost 1.55.0

comment:6 Changed 3 years ago by dmorneau@…

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 Changed 2 years ago by jakub.pola@…

I meet this issue in Boost 1.58.0

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

comment:8 Changed 17 months ago by anonymous

Still no update on this after 5 years?

comment:9 Changed 6 months ago by anonymous

Still present in 1.62

comment:10 Changed 5 weeks ago by anonymous

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

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain Vladimir Prus.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.