Modify

Opened 6 years ago

Last modified 3 months 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:

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

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 5 years ago by anonymous

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

comment:4 Changed 5 years ago by anonymous

What is 'cc' toolset?

comment:5 Changed 4 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 ./bootstrap.sh --with-toolset=gcc compilation succedeed

comment:8 Changed 19 months ago by anonymous

Still no update on this after 5 years?

comment:9 Changed 7 months ago by anonymous

Still present in 1.62

comment:10 Changed 3 months 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
Action
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.